Error uploading file bigger then 3 mb

Phoca Download - download manager
piwili
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Nov 2015, 01:49

Error uploading file bigger then 3 mb

Post by piwili »

Hi
I can't upload file bigger then 3MB from back-end, logged as SuperUser.
System: Windows 7 + WAMP
php.ini:
file_uploads = On
upload_max_filesize = 64M
max_file_uploads = 20

To remove any interferences I started from beggining:
1. Installed Joomla_3.4.5-Stable-Full_Package
2. Installed com_phocadownload_v3.1.0
3. Increased default value for "Maximum Upload Size (Administration)", to be shure other values too.
4. When I go to:
Phoca Download -> Files -> New -> Select FIlename
and try to upload file bigger then 3MB, I get: "Error. Unable to upload file"
File size 3 114 045 bytes is OK, but 3 378 555 is too big.

Screen with error:
Image

and configuragion:
Image

Please help. I've no idea what am I doing wrong.
Kind regards, Piotr
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error uploading file bigger then 3 mb

Post by Jan »

Hi, hmmm, the only idea I have for now is POST_MAX size - the upload can be limited by upload_max_filesize but as the method is post it can be limited by post size too. Try to check it in your php (I think, it will be larger but to be sure - test it)

When the file is large, this message should be displayed: "This file is too large to upload."


Jan
If you find Phoca extensions useful, please support the project
piwili
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Nov 2015, 01:49

[Solved] Error uploading file bigger then 3 mb

Post by piwili »

Yes, it was that - increasing post_max_size solved the problem.

Thank you.
Piotr
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error uploading file bigger then 3 mb

Post by Jan »

Ok, great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply