-
November 10, 2011, 02:48 AM
#1
Junior Member
Failed photo upload
I was just finishing testing a featured listings and noticed that when I upload a photo to the featured listing, the site would stall out and the browser would go white. I tried to upload a photo 3 times and also verified that the image was not being stored on the server via FTP.
I have added the following script to my php5.ini with no prevail:
post_max_size = 10MB
upload_max_filesize = 10MB
memory_size_limit = 10MB
Can anyone assist?
-
February 2, 2012, 04:38 AM
#2
Flynax developer
Hi there,
Flynax Upload photos function do not only upload the photos on the server it also do other operations with it, operations like:
- copy the original photo to thumbnail and large photo
- crop all copies
- re-size all copies
All these operations takes many server resources, memory in our case.
Well we suggest increasing server memory_limit for single directory only, you just should create new php.ini file (or copy it from server main php.ini)
and put it to the following directory: /flynax/libs/upload/
Then you should change memory_limit option to maximum possible value (256 or 512 M in the file.
After steps above your website will be able to handle enough large files, let's keep discussing this issue in this thread.
John