Page 1 of 1

[Solved] Can't upload files

Posted: 14 Jun 2009, 22:30
by baldguy
I am trying to upload a pdf file, 53k in size, and I get the following error:
This file type is not supported (or there are some restrictions on the server).
I have checked my PhocaDownload configuration and my Joomla 1.5.11 configuration, and both allow pdf files to be uploaded.

I thought it might be permission issues, so I chmod the phocadownloads folder from 755 to 777, but that didn't work.

The upload_max_filesize on the server is 7MB, so there is plenty of room to work.

I tried uploading other files, both pdf and other formats, and got the same error, so I'm not able to upload anything.

It worked just fine on my localhost, but isn't on the production server.

Any ideas what I might have overlooked?

Re: Can't upload files

Posted: 15 Jun 2009, 00:35
by baldguy
Got it.

I had to change some things in the configuration.php file.

I changed $temp_path and $live_site, and it worked.

I don't know which one was the culprit, but it works now.

Re: [Solved] Can't upload files

Posted: 18 Jun 2009, 20:12
by Jan
ok

Re: [Solved] Can't upload files

Posted: 28 Sep 2009, 19:22
by randy.jz4
I''ve the same issue, after hours of investigation i found this.

You have to chance the "post_max_size" and the "upload_max_filesize" in you configuration file (php.ini) to a size you need, in my case i set it up to:

post_max_size = 500M
upload_max_filesize=500M

I am sure that will help! :D

Re: [Solved] Can't upload files

Posted: 05 Oct 2009, 21:44
by Jan
Ok

Re: [Solved] Can't upload files

Posted: 06 Oct 2009, 12:37
by mgwarren
I did this but still cannot upload zip files, I even added the file type into the settings as a mime and it won't work. Could you help me with this?

Re: [Solved] Can't upload files

Posted: 06 Oct 2009, 13:40
by Jan
I think you should ask your server webhoster, as I don't know your server and have no information about this problems (maybe some error log or other server log will help) :(

Maybe you can try to change the mime type in the settings:
application/zip
application/x-zip
application/x-zip-compressed
application/octet-stream
application/x-compress
application/x-compressed
multipart/x-zip

Try to check upload and download some small file (if there is no some limitation) :idea:

Jan