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.