View Full Version : Blank page on upload.
lordtopcat
03-06-2008, 04:12 AM
Hi Guys,
I have recently switched servers on my vbulletin forum, but now my photoplog doesn't work.
I updated the config file with the correct path using the whatismypath.php solution at the top of this forum.
My users can view the photos fine, and comment on them etc but as soon as they try and upload, it just goes to a blank white page. I have tried reuploading upload.php but I am still getting the blank page.
Is there some sort of quick fix? As my gallery is a main feature of the forum.
Cheers
LTC
Morgan
03-07-2008, 04:04 AM
Sounds like it might be a permissions issue. Check that the PhotoPlog images directory, and all subdirectories within the PhotoPlog images directory, have 777 permissions. On a *nix server, to set 777 permissions in one go via hell, cd to your PhotoPlog images directory, and then type the following:
Content visible to registered users only.
Also check that the PhotoPlog ACP settings are correct.
lordtopcat
03-07-2008, 11:45 PM
Yes I had changed the permissions correctly, still have this issue.
Morgan
03-08-2008, 06:47 AM
Maybe the files being uploaded are too big for your server to handle and you are running into a memory or timeout issue, or maybe you have safe_mode set to on whereas PhotoPlog needs safe_mode set to off to fully function. Turn display_errors (http://www.php.net/manual/en/ref.errorfunc.php) on so you can see what PHP outputs rather than get a blank page.
lordtopcat
03-08-2008, 10:44 PM
Because my forum is hosted with my friend on his server, I can work closely with him as he knows what he's doing.
Safe mode is turned off. The php upload limit is 50Mb and i'm trying to upload a 32kb (25 x 25) file. He checks his serverside error logs to see if anything crops up, nothing. I turned the error log feature on in the CP, and nothing crops up and I turned the display errors on and nothing crops up.
This is really starting to tick me off, and I would just start over again but all my users will loose the photos they have uploaded.
I have double checked all config inputs, all file permissions, all ACP settings and everything is set fine. I even had my mate run over them too, and they are fine. I also re uploaded the photoplog files, but still nothing.
Cheers
LTC
lordtopcat
03-08-2008, 10:48 PM
Fixed the problem. He has to CHMOD 777 the entire photoplog directory. I only done the images directory and sub directories like you told me.
Morgan
03-09-2008, 05:51 PM
Only the PhotoPlog images directory, and all subdirectories within the PhotoPlog images directory, are to have 777 permissions. Other directories can be 755 permissions, and files can be 644 permissions.
vBulletin® v3.8.5, Copyright ©2000-2025, Jelsoft Enterprises Ltd.