Error uploading file ReceiveLog.txt: Missing a temporary fol

Trouble during PacsOne Server installations
Post Reply
seaharrior
Posts:24
Joined:Sat Jan 21, 2012 4:50 pm
Error uploading file ReceiveLog.txt: Missing a temporary fol

Post by seaharrior » Wed Mar 21, 2012 8:30 pm

hello getting error on upload. when we try to attach a document to study, we get the following error: Error uploading file ReceiveLog.txt: Missing a temporary folder

PHP has the following entry:

Code: Select all

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
; http://php.net/file-uploads
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
upload_tmp_dir = C:/PacsOne/php/upload/temp

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 2M

; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Wed Mar 21, 2012 10:36 pm

Did you verify if the configured PHP upload temporary folder below actually exists on this server?

Code: Select all

C:/PacsOne/php/upload/temp 

seaharrior
Posts:24
Joined:Sat Jan 21, 2012 4:50 pm

Post by seaharrior » Thu Mar 22, 2012 12:27 am

Yes, I actually created it and put the path in .ini after I initially got the error message. I also restarted the server. Still geting error on uploading files.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu Mar 22, 2012 10:22 pm

1. Can you check the HTML output of the test page below, and see what value is the upload_tmp_dir variable currently configured as:

http://localhost/pacsone/Hello.php

2. If the above variable is configured and does exist on the server where PacsOne is running, then check the security permission settings for that directory and make sure it's accessible to whatever user account Apache/IIS is running running as, because the web server (Apache/IIS) will be storing the temporarily uploaded files there.

seaharrior
Posts:24
Joined:Sat Jan 21, 2012 4:50 pm

Post by seaharrior » Thu Mar 22, 2012 10:51 pm

that did it., thank u

Hunteeay
Posts:1
Joined:Sat Mar 31, 2012 11:34 am
Location:USA
Contact:

Post by Hunteeay » Sat Mar 31, 2012 11:39 am

pacsone wrote:1. Can you check the HTML output of the test page below, and see what value is the upload_tmp_dir variable currently configured as:

http://localhost/pacsone/Hello.php

2. If the above variable is configured and does exist on the server where PacsOne is running, then check the security permission settings for that directory and make sure it's accessible to whatever user account Apache/IIS is running running as, because the web server (Apache/IIS) will be storing the temporarily uploaded files there.
Well, i was also facing that kind of problem and i got desired results by following your shared instructions and link. I would like to say you thanks for helping us.

Post Reply