I have received the following message when the system could not upload a PDF file from my PC:
* JFile::read: Unable to open file: ''
* Warning! - Failed to move file
* Error. Unable to upload file
* JFile::read: Unable to open file: ''
* Warning! - Failed to move file
* Error. Unable to upload file
As I am only uploading PDFs or Excel files this is a significant handicap. Does anyone have any clues? I have set the max upload size to unlimited and PDFs are an allowed file type. Tom
Cannot Upload PDF file
- Jan
- Phoca Hero
- Posts: 48743
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Cannot Upload PDF file
Hi, check your permissions and ownership of files and folder, try to enable ftp layer, see:
https://www.phoca.cz/documents/50-phoca/ ... y-settings
Jan
https://www.phoca.cz/documents/50-phoca/ ... y-settings
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 15 Sep 2009, 10:41
Re: Cannot Upload PDF file
Jan, Thank you again for your advice. I have been uploading PDF files and have found that below a certain size (currently 100K) there is no problem. So permissions are not the problem! I will now check if there is a size limit (although I have set unlimited on my system) or whether the audio/visual content of the PDF is somehow causing an issue (unlikely, but you never know). Tom
-
- Phoca Newbie
- Posts: 5
- Joined: 16 Sep 2009, 09:19
Re: Cannot Upload PDF file
Hi
This may help others. I had the same error and it turned out to be the upload_max_filesize in the php.ini file.
For the record ftp layer did not need to be activated, but I only tested the back-end upload.
You can find out what yours is set to by going to HELP>System info in the back-end.
This may help others. I had the same error and it turned out to be the upload_max_filesize in the php.ini file.
For the record ftp layer did not need to be activated, but I only tested the back-end upload.
You can find out what yours is set to by going to HELP>System info in the back-end.
- Jan
- Phoca Hero
- Posts: 48743
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Cannot Upload PDF file
thank you for this info. Jan
If you find Phoca extensions useful, please support the project