File uploading: "This file is too large to upload."

Phoca Download - download manager
nathanael
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Feb 2011, 04:16

File uploading: "This file is too large to upload."

Post by nathanael »

I've just installed Phoca Download in a Joomla 1.6 testbed for evaluation, and I'm having a problem trying to upload files.

My testbed machine is running Ubuntu 10.10, Apache is running under my account (not as root); DocumentRoot is in my user home directory, and I have run chmod -R 777 on the phocadownload directory. I've verified that all folders and subfolders are owned by me and are writeable.

The test file I'm trying to upload is 4.3mb; phpinfo says upload_max_filesize is 50M.

Still, when I try to upload a file I get

File not uploaded
This file is too large to upload.


I've noted that above Filename it says:

Upload File [ Max Size: 52 B]

Is that 52 bytes? Is that my problem? How do I change that?

Nathanael
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: File uploading: "This file is too large to upload."

Post by Jan »

Hi, see the parameters (there are two values - one for frontend, one for backend)

Jan
If you find Phoca extensions useful, please support the project
nathanael
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Feb 2011, 04:16

Re: File uploading: "This file is too large to upload."

Post by nathanael »

Thanks for the reply, Jan. BTW, I'd forgotten to mention I'm using v2.0 RC2.

I'd tried increasing the max file upload size to 50mb, but I'd entered the value as "52,428,800". The problem apparently is that Phoca Downloads doesn't understand commas. Changing it to "52428800" fixed the problem. Thanks for your assistance.

--Nathanael
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: File uploading: "This file is too large to upload."

Post by Jan »

Hi, it is not a Phoca Download problem, computer numbers do not allow include comas, see e.g.:
https://www.phoca.cz/documents/52-phoca- ... re-numbers

it is similar issue.

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