I am struggling to understand why my Image Upload routine doesn't work consistently.
I have been working on this for a while but the files will not upload, then they do, then they don't again.
Anything under 2mb works fine, but when I try anything larger (even though I have the max upload size set to 10mb) it will not upload. The DB record saves as if it has worked, but no file name in the DB or uploaded file in the folder.
The upload errors don't work either, if I have it set the max upload to 2mb and I upload a 5mb file, nothing happens, no error message at all, it just goes to the message I have set to say 'thank you for your upload' and it still doesn't upload.
I wish there was more documentation so that I could follow it and confirm it is a bug. Am I alone here?
I have been working on this for a while but the files will not upload, then they do, then they don't again.
Anything under 2mb works fine, but when I try anything larger (even though I have the max upload size set to 10mb) it will not upload. The DB record saves as if it has worked, but no file name in the DB or uploaded file in the folder.
The upload errors don't work either, if I have it set the max upload to 2mb and I upload a 5mb file, nothing happens, no error message at all, it just goes to the message I have set to say 'thank you for your upload' and it still doesn't upload.
I wish there was more documentation so that I could follow it and confirm it is a bug. Am I alone here?
HI Dobos,
Please check the max_upload_size setting in the Site Admin > System Info > PHP Info page on your site. It's quite possible for that to be different to the value you see in a PHP.ini file. If the file is uploaded then there is nothing for the CF Files Upload action to process.
Bob
Please check the max_upload_size setting in the Site Admin > System Info > PHP Info page on your site. It's quite possible for that to be different to the value you see in a PHP.ini file. If the file is uploaded then there is nothing for the CF Files Upload action to process.
Bob
Hi GreyHead,
Thank you very much for your help, I searched a little more after reading your reply and found that changing the php.ini (which basically had nothing in it) to include the following, is working for me for now.
upload_max_filesize = 10M ;
post_max_size = 20M ;
You have probably seen this many times, but here it is again.
Thanks again!!
Thank you very much for your help, I searched a little more after reading your reply and found that changing the php.ini (which basically had nothing in it) to include the following, is working for me for now.
upload_max_filesize = 10M ;
post_max_size = 20M ;
You have probably seen this many times, but here it is again.
Thanks again!!
This topic is locked and no more replies can be posted.
