I can upload a few files, but with some files I get the following error :
File not uploaded
Error while uploading file. Server is not able to store this file to Temp folder.
All files are PDF.
Using version 3
Please help
Thank you in advance
File not uploaded
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: File not uploaded
Hi, try to check the size of the files, try to check if you server does not have any limits, etc. 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 26 Mar 2013, 21:08
Re: File not uploaded
I just started getting this same error. It was working fine, however, after I added about 35 new user login/categories, somewhere along the way I must've broken Phoca, and I can't seem to upload ANY filetype at the moment. I imagine it’s a simple setting, but can’t figure out what it is. This is the only thread on this board that I found with this error message: Error while uploading file. Server is not able to store this file to Temp folder.
I've created a detailed pdf file w/screen captures that I thought I could attach to this message to show you all the things I've attempted to do. Since I can't do that, I'm manually added a link for it to the website in question: https://documents.eurekafacts.com/phoca ... 0issue.pdf.
As I state in the pdf, I’m really stumped and can use your help. And, I understand that all support is done in your free time. However, I will gladly pay for advanced (or hands on) support. It’s critical to my client that I get this resolved quickly.
Thanks,
Gene
I've created a detailed pdf file w/screen captures that I thought I could attach to this message to show you all the things I've attempted to do. Since I can't do that, I'm manually added a link for it to the website in question: https://documents.eurekafacts.com/phoca ... 0issue.pdf.
As I state in the pdf, I’m really stumped and can use your help. And, I understand that all support is done in your free time. However, I will gladly pay for advanced (or hands on) support. It’s critical to my client that I get this resolved quickly.
Thanks,
Gene
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: File not uploaded
Hmmm,
try to do following:
Open this file:
components\com_phocadownload\views\user\view.html.php
line cca 156, change FROM
TO:
This is an alternative to get the files from the server.
If this will not work, it means the problem is directly on the server in your PHP temp folder - when you upload a file, it is stored first in tmp folder of PHP and then PHP can use it (get information about the file and e.g. copy it to the right location)
Please test and let me know.
Jan
try to do following:
Open this file:
components\com_phocadownload\views\user\view.html.php
line cca 156, change FROM
Code: Select all
$fileArray = JRequest::getVar('Filedata', '', 'files', 'array');
Code: Select all
$fileArray = $app->input->files->get( 'Filedata', null, 'raw');
If this will not work, it means the problem is directly on the server in your PHP temp folder - when you upload a file, it is stored first in tmp folder of PHP and then PHP can use it (get information about the file and e.g. copy it to the right location)
Please test and let me know.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 26 Mar 2013, 21:08
Re: File not uploaded
Thanks for the reply, Jan. I just attempted this and it still doesn't work. I suspected it was a server issue, and I've shared my issue with the host. I will give them your latest bit of information as well.
Let me ask this. In order to allow for larger files, I've placed a php.ini in a couple of places (root, /phocadownload, /phocadownload/userupload ). I'm not quite certain which folders I should've used, AND it 'seems' that having those files are causing some other anomalies.
Where should that file reside, and is there any chance a poorly place one could cause an issue?
Gene
Let me ask this. In order to allow for larger files, I've placed a php.ini in a couple of places (root, /phocadownload, /phocadownload/userupload ). I'm not quite certain which folders I should've used, AND it 'seems' that having those files are causing some other anomalies.
Where should that file reside, and is there any chance a poorly place one could cause an issue?
Gene
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: File not uploaded
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 26 Mar 2013, 21:08
Re: File not uploaded
FYI, I just removed all of those PHP files I mentioned above, and now i'm able to upload again. I suspect i need to include the file_upload commands in those files as well?
Gene
Gene
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: File not uploaded
Hi, not sure what you exactly mean with "include the file_upload commands"?
Jan
Jan
If you find Phoca extensions useful, please support the project