Fatal error: Allowed memory size
I have PP 5.3.1 and just tested uploading from my uploads/1 directory for the first time. I uploaded 5 images to my uploads/1 directory, then went to Upload Photos in the admin. I selected 'Skip upload and process the files already in your upload directory' and 'Click here to bypass approval process and upload all files in
directory selected' and I got this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 3888 bytes) in /public_html/gallery/image-inc.php on line
The same thing happens on other installations of PP (also 5.3.1) on the same server.
I read here in the forums about adding ini_set("memory_limit", "40M"); but I'm not sure to which file(s) and where exactly I should add it. I also read Michael advising someone to bump up the memory limit for PHP.INI so I'm not quite sure what to do.
Image integration is set to GD2.
I noticed that there is a index.html file in uploads/1 directory. I never saw that in older versions. Should the index.html be there?
My upload directories are not clogged with images, they only contain the 5 images I was trying to upload. The images are about 200 kb each. On my other server I never had this problem with PP although the PP version on that server is a bit older. I can easily upload 120 photos of 200 kb each the way I described above.