Problems with uploading photos - getting a blank page!!!
I am having problems with uploading photos to my site. I've asked the host of my website what was the problem - and I received this reply:
We apologize for any inconvenience this may have caused you. I have checked your Web site http://fortheloveofstamping.net/ and was able to duplicate the issue. I have tried to upload the test image with the steps you have mentioned and end up with a blank page. I noticed that the script that you are executing uses maximum of memory. Hence, it shows a blank page. On our servers you can use the script that uses memory up to 20M. I would suggest you to contact vendor of the script and accomplish the script to use 20M memory. Once you have done the changes you shoud be able to upload images without any issues.
Can someone please tell me WHERE do I need to go in this program in order for me to change the script to use 20M memory? Please help!!! Any advice would be great!!!
The issue is cause by using GD2 image processor which takes PHP memory and you can try the edit noted in the thread post above to raise PHP memory if that does not work try limiting users to smaller filesizes and if your server has mogrify (imagemagick) on it you can try switching image processors in your global option settings in admin and that will help the issue.
Hi Chuck, I did what the post suggested - and have received the following error:
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3600 bytes) in /hermes/web04/b1604/pow.jyoung7/htdocs/image-inc.php on line 84
now, if I was to utilize imagemagick instead - it is asking for a "path" for it, which I need help in finding out where I should look for this... any suggestions?
here is another message i am receiving after trying to upload another photo:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 5000 bytes) in /hermes/web04/b1604/pow.jyoung7/htdocs/image-inc.php on line 115
I can not tell you what your mogrify path is you might need to get your host to tell you whether they have it installed on the server.
Before you attempt the test edit we do suggest you also clear the uploads directory on your photopost server. You ftp to the server and go to your Photopost directory. You click to get into the uploads directory and then simply delete all the numeric directories underneath the uploads directory.
You can then test if the edit worked. Your uploads directories for certain users could have too many files that no edit is going to work until you clear those directories