Writing the thinkphp cache file failed! What should I do? Writing the thinkphp cache file failed! What should I do?
The server is unix. when a website is opened, the following message is displayed: writing cached files failed!
I found someone on the Internet saying that the rumtime directory permission was changed to 777, but I found that the root directory of the website does not have the rumtime folder. what should I do?
Error log: [07-Aug-2011 23:35:03] PHP Warning: File upload error-unable to create a temporary file in Unknown on line 0
Reply to discussion (solution)
$ _ FILES ['filename'] ['error']. let's take a look at the output.
Php. ini
Upload_tmp_dir = "cache path"
Create an image without rumtime ~
The runtime directory is not necessarily in the root directory. it depends on your RUNTIME_PATH settings.
Later, I found that the virtual space was full and files could not be stored. therefore, no data can be written. thank you!
I also encountered this problem. just now, it's okay to delete the Runtime folder.