We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Trying to prevent file uploads above a certain size
I'm trying to prevent a client uploading large images.
I've adjusted the php_ini file and the settings are now showing in the Perch diagnostics as follows:
GD: Yes ImageMagick: No PHP max upload size: 1M PHP max form post size: 2M PHP memory limit: 128M Total max uploadable file size: 1M Resource folder writeable: Yes
However, I am still able to upload image files up to 5Mb successfully. From 5mb to 10mb it looks like it's uploading OK but doesn't (presumably starting but not finishing). Above 10Mb I get an actual error message:
"The page at www.xyz.com says: Error: File too large: <filename>". this would actually be ideal if it happened at 1Mb not 10 Mb.
I've spent the best part of the day trying to resolve this with my service provider. I finally got them to manage to replicate the issue and they think it's perplexing and could I ask my Perch support. I cant really see how it's anything to do with Perch but just on the off chance, I'm posting here.
Any ideas anyone?
Cheers - Mark
Want to reply to this thread?Login with Perch