Writing the thinkphp cache file failed! What should I do?

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

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.