Page 1 of 1

Front End Upload Problems

Posted: 02 May 2015, 11:31
by olaeblue
I have enabled user upload in categories, but it doesn't work as expected.

If I upload an image through the backend it uploads fine.
If I FTP the image then add it thats fine too

If I try and upload the same image through the front end I get a "Not a valid image" failure.
If I use the multiple uploader (HTML5) I also get a failure "Count of not uploaded (failed) images: 1"

The image is 4.89Mb, 2063x2252 pixels.
User Upload Settings are:
Max Upload Size - 50000000 (set it huge to ensure not causing fault)
Max Resolution 6000 for width and length
PHP Max_Upload_size is 8M

Any ideas why this would be happening?

Re: Front End Upload Problems

Posted: 02 May 2015, 16:00
by Jan
Hi, there can be different limits on server, e.g. Max Post, try to upload some smaller file (under 2Mb) to be sure the upload is working :idea:

Jan

Re: Front End Upload Problems

Posted: 02 May 2015, 17:45
by olaeblue
Smaller ones do work. So what PHP settings do I need to change?

Re: Front End Upload Problems

Posted: 03 May 2015, 09:55
by olaeblue
I can upload to abut 2MB. Post_Max is 8M?

Re: Front End Upload Problems

Posted: 07 May 2015, 11:10
by Jan
Hi, mostly there are two settings but can be more, depends on server (so you should ask your webhosting operator). Mostly there can be:

- upload limit (this is the main limit for uploads)
- post limit (this limit can influence upload as upload happens in post)
- some specific extensions like suhosin - e.g. with suhosin you can control how many items the post can include, etc.

So if there is some specific extension, it can do this too.

Jan