PDA

View Full Version : After trying to upload: White Screen


masa
08-09-2008, 11:30 PM
After trying to upload: White Screen

What's wrong, smaller in size and other size (mb's and height) are working, but larger like 1920x1200 and 1,4mb aren't working what's wrong?

Greets,
Masa

Morgan
08-10-2008, 03:04 AM
Sounds like a server memory/timeout issue. You can verify by looking at your server error log, turning on PHP error reporting, or adding the following to the PhotoPlog settings.php file after the <?php bit to see the error message:
Content visible to registered users only.
You'll probably see the following type of message:
Content visible to registered users only.
Which means that PHP does not have enough memory to complete the upload.

masa
08-10-2008, 12:38 PM
Content visible to registered users only.

How can I fix that?

Morgan
08-10-2008, 03:39 PM
1: Ask your host to increase the memory_limit variable in the php.ini file.
2: Up the memory limit set in the PhotoPlog settings.php file at the top.
3: Reduce the image in another program and then upload to the gallery.

masa
08-10-2008, 04:24 PM
Content visible to registered users only.

They don't do that, how can i do the 2'nd can you give me a small guide? will be very appreciated.

Greets,
Masa

masa
08-10-2008, 07:33 PM
If i put that Error code in it to look which error i got, i get still a blank white screen.

Edited this in the INI File:

@ini_set('memory_limit','512M');
@ini_set('post_max_size','120M');
@ini_set('upload_max_filesize','120M');

Not working still, man this is really crap! (Please help me)

Morgan
08-10-2008, 11:11 PM
The PhotoPlog settings.php file already has the following near the top fo the file:
Content visible to registered users only.
You can try changing 128 to a larger number, but if you host doesn't permit it, then it will do no good, so you then would need to do one or three.

masa
08-11-2008, 03:58 AM
why is that, becuase my db is to large? or what?

Morgan
08-11-2008, 01:16 PM
It has nothing to do with a database. It sounds like a server memory/timeout issue, something to take up with your host or reduce the image in another program and then upload to the gallery.