The UE Editor is deployed to the server after uploading the picture display cannot find the temporary file error

Source: Internet
Author: User
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?


Reply to discussion (solution)

Now it seems that this is the reason, but follow the process go again or prompt such error "Code, the path is also set, local no problem, server error" such as my local is www/xxx, the server is web/xxxx, should not be the path problem?? Welcome to the discussion.

See if the uploaded file size is larger than the limit in the configuration

See if the uploaded file size is larger than the limit in the configuration

No, it's a 20M. It's like this picture is big. Dozens of KB should be.

I use the JQ uploadfile upload pictures on the OK ... Stumped is my UE project configuration problem, my server is such a path D:/XXX/XXX/WEB/FHT: This is my project name: FHT, my local is: E:\WAMP\WWW\FHT, my project configuration is the absolute path of writing.

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

Should be the problem of the environment, mainly tmp_name this path

Simple: Local no problem, upload to the server error, this should be a path problem, but I wrote the absolute path. Good tangle, next week is engaged.

Should be the problem of the environment, mainly tmp_name this path

Specific point ah, I have been a long time, do not know where to change.

iis+php Unable to upload the picture problem, I am local Apache, the server is IIS, configuration file permissions, disturb you.

  • Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.