Unable to upload File

Document ID : KB000031111
Last Modified Date : 14/02/2018
Show Technical Document Details

When trying to add a file in the exchange directory, using the standard "Upload File", you get the following message : "An error occurred. (ASP-0)

In Admin / Error log, we have this message :
2015-07-15 17:14:22 D:\APPS\CA\SAM\app\includes\dev\st\globals.inc User id: [1]; user name: [asp, asp]; email: [asp@asp.asp]
Version: [3.6.5 p14]
Error occurred at: [2015-07-15 17:14:22 +0200 (CEST, Europe/Paris)]
handle_file_upload(): failed. error: is_uploaded_file() failed for: , error code: [6]

In php.log : PHP Warning:  File upload error - unable to create a temporary file in Unknown on line 0

Solution:

Unable to create a temporary file in Unknown implies that your temp path isn't set, or can't be read.

Check that your php.ini has a temp path set.