PDA

View Full Version : Blank page instead of error message, any advice to fix this?


arossphoto
04 Nov 2006, 01:06
I don't know if anybody here can help me with this, but I paid a programmer to develop a custom vBulletin add-on and he has left me with a product that has a few bugs and no support.

It's a member photography portfolio system that allows members to upload images to their own portfolio. The system is searchable by specialities, nearest major city, etc, and I can set image upload limits for each user group. When a member exceeds the limit they are supposed to receive an error message, but instead they are getting a blank page.

I didn't write the code and I'm not a programmer, but I found the section of the php file that refers to image uploads and the "portfolio_directory_maximages" error message. I'm kind of hoping that maybe it is something simple like a missing bracket, semi-colon, or something like that.

Here's the code and if anybody could have a look at it to see if everything looks alright I'd really appreciate it. Thanks very much.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Paul M
04 Nov 2006, 02:20
Perhaps it's getting late, but I can't see anything wrong.

Do you have php error messages disabled on the server ?

arossphoto
04 Nov 2006, 02:35
Perhaps it's getting late, but I can't see anything wrong.

Do you have php error messages disabled on the server ?

Thanks for your quick reply. I'm not too sure about this, but before the programmer abandoned me he asked me to check with my host to see if they could check the error logs or something like that. But they said they didn't see any problems.

Thanks again,

Andrew