I'm getting "fread()" and emalloc() errors - please help

Hi, I'm uploading photos onto the server and when i reload the page i'm getting an fread() error. It says the "Length parameter must be greater than 0". I originally had 2 folders uploaded and both were fine. When i uploaded the 3rd folder i received the fread() error. It works fine if i have only 5/6 photos in the 3rd folder but if i put any more photos in there then it won't work properly and i get that error message.

I also got another error when i tried to upload a 4th folder. This was when i had the original 3 folders working (with only 5 photos in the 3rd folder). The error is:

FATAL: emalloc(): Unable to allocate 1174405137 bytes

Comments

  • acrylian Administrator, Developer
    I am sorry, I have currently no idea about these errors. Hopefully my collegue will have later. Meanwhile please provide some info about your server setup and if our setup script complained about anything.
  • You might wish to provide the full text of the error messages. Otherwise we will have no idea what zenpnhoto might have been doing at the time. But from the symtoms and the last error message it would appear that you are uploading more images than the memory of your PHP installation can support.
Sign In or Register to comment.