_storage_write_error_ issue occurs when you deploy a Web site to a server

Source: Internet
Author: User
Tags php framework

With the thinkphp3.2 of the framework, in the local run no problem, deployed to the server (based on the CentOS lamp environment) is an error, the error message is as follows (completely do not understand ...) ):
Ask God for help ~ ~ ~ (>_<) ~ ~ ~
:(
_storage_write_error_:./application/runtime/cache/home/f8995a0e1afcdadc637612fae5a3b585.php
Wrong location
FILE:/var/www/html/shoppingback/thinkphp/library/think/storage/driver/file.class.php line:47
TRACE
#0/var/www/html/shoppingback/thinkphp/library/think/storage/driver/file.class.php: E (' _STORAGE_WRITE_ ... ')
#1 [Internal function]: Think\storage\driver\file->put ('./application/r ... ', ' #2/var/www/html/shoppingback/ Thinkphp/library/think/storage.class.php (PNS): Call_user_func_array (array, array)
#3/var/www/html/shoppingback/thinkphp/library/think/template.class.php: think\storage::__callstatic (' put '), Array)
#4/var/www/html/shoppingback/thinkphp/library/think/template.class.php: think\storage::p ut ('./Application/ R ... ', ' #5/var/www/html/shoppingback/thinkphp/library/think/template.class.php: think\template-> LoadTemplate ('./application/h ... ')
#6/var/www/html/shoppingback/thinkphp/library/behavior/parsetemplatebehavior.class.php (+): Think\Template-> Fetch ('./application/h ... ', Array, ')
#7/var/www/html/shoppingback/thinkphp/library/think/hook.class.php (119): Behavior\parsetemplatebehavior->run (Array)
#8/var/www/html/shoppingback/thinkphp/library/think/hook.class.php: Think\hook::exec (' Behavior\ParseT ... ', ' View_parse ', Array)
#9/var/www/html/shoppingback/thinkphp/library/think/view.class.php (124): Think\hook::listen (' View_parse ', Array)
#10/var/www/html/shoppingback/thinkphp/library/think/view.class.php: Think\view->fetch (' ProductEdit ', ', ‘‘)
#11/var/www/html/shoppingback/thinkphp/library/think/controller.class.php (): Think\view->display (' Productedit ', ', ', ', ', ')
#12/var/www/html/shoppingback/application/home/controller/indexcontroller.class.php (6): Think\Controller-> Display (' Productedit ')
#13 [Internal function]: Home\controller\indexcontroller->index ()
#14/var/www/html/shoppingback/thinkphp/library/think/app.class.php (155): Reflectionmethod->invoke (Object ( Home\controller\indexcontroller))
#15/var/www/html/shoppingback/thinkphp/library/think/app.class.php (193): Think\app::exec ()
#16/var/www/html/shoppingback/thinkphp/library/think/think.class.php (): Think\app::run ()
#17/var/www/html/shoppingback/thinkphp/thinkphp.php (+): Think\think::start ()
#18/var/www/html/shoppingback/index.php: Require ('/var/www/html/s ... ')
#19 {main}
ThinkPHP3.2.2 {Fast & simple OOP PHP Framework}--[WE CAN do IT JUST THINK]

Solution set 777 permissions on the Runtime folder

sudo chmod-r 777 Runtime

_storage_write_error_ issue occurs when you deploy a Web site to a server

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.