Front End Upload Problems

Phoca Gallery - image gallery extension
olaeblue
Phoca Member
Phoca Member
Posts: 13
Joined: 09 Oct 2011, 15:35

Front End Upload Problems

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Front End Upload Problems

Post 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
If you find Phoca extensions useful, please support the project
olaeblue
Phoca Member
Phoca Member
Posts: 13
Joined: 09 Oct 2011, 15:35

Re: Front End Upload Problems

Post by olaeblue »

Smaller ones do work. So what PHP settings do I need to change?
olaeblue
Phoca Member
Phoca Member
Posts: 13
Joined: 09 Oct 2011, 15:35

Re: Front End Upload Problems

Post by olaeblue »

I can upload to abut 2MB. Post_Max is 8M?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Front End Upload Problems

Post 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
If you find Phoca extensions useful, please support the project
Post Reply