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的文件夹结构如下:

  • 相关阅读:
    sed命令
    python常用库
    python标准库
    从 Python 打包到 CLI 工具
    pip
    python包自我理解
    docker常用命令
    chattr命令
    xmss
    live2d-widget.js
  • 原文地址:https://www.cnblogs.com/pallee/p/4077992.html
Copyright © 2011-2022 走看看