View Full Version : PhotoPost upload problems
January 2nd, 2008, 06:15 PM
I'm having a number of problems on my site:
People are having problems uploading files to certain galleries. The same photo will upload to one gallery, but not to another. They receive an error like "Sorry, this image type () is not supported yet.".
They are also having problems uploading larger files, even though my PHP settings allow it. What can I do to resolve these problems?
January 2nd, 2008, 07:33 PM
Please post what the error is when trying to upload larger files. Most likely it always comes to to php settings so please place a link to php info on the server. You can grab a phpinfo file from our product details page on the requirements link.
Your one error tells me that permissions may not be correct on those data directories. Track down a category that you can not upload to and make note of that numeric id of that category. ftp to your site and check that numeric category under data directory and make sure it is 777 permissions as well as the 3 subdirectories under that data directory thumbs medium and mini are 777.
January 2nd, 2008, 08:48 PM
This is what the forum member reported:
I can load up to about a 622 kb file one at a time with Internet Explorer but only to my general gallery and not to one of my specific albums. Any file larger around 1mb. (a typical photo taken with a 5 megapixel camera)
will not load at all. I either get a blank white screen or a display of:
Sorry, this image type () is not supported yet.
This problem began after the switch over to the new servers.
I went to check the permissions earlier and everything checked out, but I couldn't change certain directory's permissions, although they were originally set correctly. This was my host's reply:
the reason for this is that the directories 734 and greater are owned by a different user than the directories less than 734. 733 for example is owned by crossfireftp:psaserv, whereas 734 is owned by apache:apache.
It appears that the later directories were created by an application directly, which usually sets the owner/group to that of the webserver, which is apache.
Is that the problem?
January 2nd, 2008, 09:05 PM
No it should not be a problem but your host should be able to recursively change permissions on your entire data directory for you if you have permissions issues changing the permissions. They must be 777 permissions.
As far as a blank page thats easy php is timing out so your php is not set correctly to allow larger file uploads if you need assistance please link a php info file and I will guide you on what to alter to assist you. Usually with a blank page altering the memory_limit in php to a higher memory and setting your max_execution_limit to 0 will help.
January 3rd, 2008, 11:20 AM
Here is a link to PHP info:
January 3rd, 2008, 12:18 PM
Your php has not been altered to support video uploads and safe mode is on thats why your stuff is not working. You may need to turn safe mode off and recreate your categories that do not work as if you created categories with safe mode on the issue is the data directories for those categories do not exist safe mode blocks file uploads and directory creation, That is why the program requirements list safe mode needs to be off.
January 3rd, 2008, 02:00 PM
Are my PHP settings set right to allow large uploads?
January 3rd, 2008, 03:05 PM
So I have safe mode turned off, and now creating a directory and uploading an image to it works. However when trying to bulk upload even small images, it works for a while then goes to a blank screen. Also, anything over about 1 mb goes to a blank screen as well. How can I fix this?
January 3rd, 2008, 03:21 PM
Try setting your php settings to this to allow uploads over 2mb and to also help with blank pages as thats a server error telling me your php is shutting down. You can also try installing and using imagemagick instead of gd2 as thats known to have issues with large images.
January 3rd, 2008, 03:35 PM
ok I turned on imagemagik... it works fine for the main forum and uploading photos, but for the gallery I get this error:
/usr/bin/convert/mogrify" +profile "*" -size 100x75 -quality 70 -geometry 100x75 -unsharp 10 '/var/www/vhosts/crossfireforum.org/httpdocs/gallery/data/500/thumbs/n19300553_31001161_4312.jp
January 3rd, 2008, 04:20 PM
ok got the mogrify figured out
I tried to upload a 2.7 MB file and it quit back to the gallery view. Is this simply too big? I changed the settings to what you have in the last post and I'm using mogrify.
January 3rd, 2008, 04:50 PM
If your php info correct? I show no changes also you may need to restart the server to load any php changes on the server. ;)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.