What's the problem?-php Tutorial

Source: Internet
Author: User
What's the problem? _ STORAGE_WRITE_ERROR _:./Runtime/Cache/Home/b1_61fdd01eadcd4b8a82f371520558. php
Error location
FILE:/alidata/www/redis/thinkphp/Library/Think/Storage/Driver/File. class. php LINE: 48
TRACE
#0/alidata/www/redis/thinkphp/Library/Think/Storage/Driver/File. class. php (48): E ('_ STORAGE_WRITE _...')
#1 [internal function]: Think \ Storage \ Driver \ File-> put ('. /Runtime/Cache... ',' #2/alidata/www/redis/thinkphp/Library/Think/Storage. class. php (37): call_user_func_array (Array, Array)
#3/alidata/www/redis/thinkphp/Library/Think/Template. class. php (114): Think \ Storage ::__ callstatic ('put', Array)
#4/alidata/www/redis/thinkphp/Library/Think/Template. class. php (114): Think \ Storage: put ('. /Runtime/Cache... ',' #5/alidata/www/redis/thinkphp/Library/Think/Template. class. php (76): Think \ Template-> loadTemplate ('


Reply to discussion (solution)

Previously, the interface was successful, but after the server was restarted, the API was disconnected and data without return values could not be transmitted.

_ STORAGE_WRITE_ERROR _ is a thinkphp custom error.
Indicates that the directory./Runtime/Cache/Home/cannot be written.
Or./Runtime/Cache/Home/b1_61fdd01eadcd4b8a82f371520558. php cannot be rewritten.
In short, permissions are insufficient.
Clear the Runtime directory and grant the Runtime write permission

The VM instance is about to be infected.

My Side (thinkPHP cache file upload) access our interface address (http://redis.wtl119.com) can be accessed normally,

There is also a case where access (http://redis.wtl119.com) when the thinkPHP file's cached file is not uploaded will result in a 404 error, in the case of slice

When I upload the thinkPHP cache file and add our request address (/api/Redis/redis. json), the data cannot be normally accessed and cannot be transmitted.
Always in the case:

And when I enter an access (http://redis.wtl119.com/api/Redis/redis) address, error 404 is prompted.

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.