zoukankan      html  css  js  c++  java
  • CakePHP中出现persistent is not writable等Warning的解决方法

      在新部署CakePHP项目或者从SVN中重新Update项目的时候,有时候会出现下面的警告:

    Warning (512): D:xampphtdocsxxxxapp	mpcache is not writable [COREcakelibscachefile.php, line 281]
    Warning (512): persistent is not writable [COREcakelibscachefile.php, line 281]
    Warning (512): models is not writable [COREcakelibscachefile.php, line 281]
    Warning (2): Cannot modify header information - headers already sent by (output started at D:xampphtdocsxxxxcakelibsdebugger.php:686) [APPapp_controller.php, line 52]

      这是因为app下tmp文件丢失的原因,tmp文件夹中存放的是系统生成的临时文件,在导出系统的时候一般会忽略。解决的办法就新建tmp及其子文件夹,tmp的文件夹结构如下:

  • 相关阅读:
    【loj2639】[Tjoi2017]不勤劳的图书管理员
    【bzoj3514】Codechef MARCH14 GERALD07加强版
    BZOJ1002【FJOI2007】轮状病毒
    数论基础(附加例题)
    表达式总结
    背包
    hdu1027
    hdu1026
    hdu1025
    hdu1024
  • 原文地址:https://www.cnblogs.com/pallee/p/4077992.html
Copyright © 2011-2022 走看看