After the UE editor is deployed to the server, uploading pictures shows that temporary file exceptions cannot be found
Source: Internet
Author: User
The UE Editor is deployed to the server after uploading the picture display cannot find the temporary file error
Combine network resources, find the reason: Configure php.ini; upload_tmp_dir = "C:/upload/temp", that is, the server's C-drive upload file sub-folder temp, I set the Full Control permissions, read and write have "upload, The Temp folder is ", and then I restart the server ... Or a hint, what is the reason?
------Solution--------------------
See if the uploaded file size is larger than the limit in the configuration
------Solution--------------------
No temporary file found is a custom error message for UE
The conditions to be created are:
if (!file_exists ($file [' tmp_name '])) {
$this->stateinfo = $this->getstateinfo ("Error_tmp_file_not_found");
When the error level is E_all ^ E_notice
For no file is uploaded upload_err_no_file its value is 4
Also to report this error
So you should try to see the original PHP error message, so that you can accurately determine the location of the problem
File_put_contents (' Test.txt ', Print_r ($_files, 1));
Observe the contents of the Test.txt file
------Solution--------------------
Should be the problem of the environment, mainly tmp_name this path
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service