View Full Version : Another uploading error/problem/bug
December 22nd, 2006, 04:46 PM
When myself or my users upload a pic it says "completed" or whatever but isn't showing it in photopost.
What did I do now? :P
December 22nd, 2006, 04:58 PM
PHP is set to a max upload size of 2mb so if your trying to upload a file larger than this your going to have problems with this as your server will drop the file so there is nothing to process. The issue is from your PHP and not Photopost.
Only way around that is to edit the php.ini file and change your max file uploadsize higher but you may not be able to do this.
You may be able to place this below in an htaccess file in your web root an that will raise the limit but not all servers support that
php_value upload_max_filesize 25M
php_value post_max_size 25M
December 22nd, 2006, 05:39 PM
I did that, attempted to upload a 3mb .jpg and got the ever dreaded white screen.
December 22nd, 2006, 06:20 PM
Try uping your memory_limit variable
December 23rd, 2006, 12:26 AM
It's doing that even with 30k .jpg files.
you click upload, it says successful then it's the white screen.
December 23rd, 2006, 10:51 AM
Clear your uploads directory as the large file is still there.
December 23rd, 2006, 12:20 PM
okay after doing that and restarting apache I get..
"Unable to read the format of file: httpdocs/forums/media/data/500/medium/2_23_06.JPG"
after attempting to upload a 3.4mb .jpg
It did upload to the upload dir but did not process.
December 23rd, 2006, 12:50 PM
Your server path to the data directory is incorrect if thats your exact error
Correct the global options paths to be the correct data directory path and save then go to storage options and hit revert and save twice to load the corrected path.
Your only entering half your path
December 23rd, 2006, 12:59 PM
no, I was just editing out the url
the path is correct.
December 23rd, 2006, 06:11 PM
So we still have the problem on the larger files ""Unable to read the format of file:" ect, ect...
even though it does upload it to the upload dir, but it then doesn't process it.
December 23rd, 2006, 09:09 PM
I would suggest two things one of which I already did
Make sure your uploads directory is clear which you did and then make sure per the install instructions the data directory is set to 777 permissions every level down. Meaning your medium directory could not be set to 777 now that would cause an issue.
December 23rd, 2006, 09:13 PM
"Meaning your medium directory could not be set to 777 now that would cause an issue."
what would it need to be set to then?
December 24th, 2006, 08:50 AM
All data directories at every level need to be 777
December 26th, 2006, 04:27 PM
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.