Page 1 of 1

File not uploaded

Posted: 16 Aug 2013, 11:08
by worsman
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

Re: File not uploaded

Posted: 16 Aug 2013, 22:56
by Jan
Hi, try to check the size of the files, try to check if you server does not have any limits, etc. :idea:

Jan

Re: File not uploaded

Posted: 25 Jan 2017, 19:45
by EmediaAssoc
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

Re: File not uploaded

Posted: 27 Jan 2017, 19:24
by Jan
Hmmm,

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');
TO:

Code: Select all

$fileArray 		= $app->input->files->get( 'Filedata', null, 'raw');
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

Re: File not uploaded

Posted: 27 Jan 2017, 19:54
by EmediaAssoc
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

Re: File not uploaded

Posted: 27 Jan 2017, 20:02
by Jan

Re: File not uploaded

Posted: 27 Jan 2017, 20:21
by EmediaAssoc
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

Re: File not uploaded

Posted: 03 Feb 2017, 01:33
by Jan
Hi, not sure what you exactly mean with "include the file_upload commands"?

Jan