我能够在Linux中部署我的应用程序,但我面临一个问题,如下所述。
Warning (512):SplFileInfo::openFile(/var/www/html/tmp/cache/models/myapp_cake_model_default_email_queue):
failed to open stream: Permission denied
[CORE/src/Cache/Engine/FileEngine.php, line 391]
Warning (512):SplFileInfo::openFile(/var/www/html/tmp/cache/models/myapp_cake_model_default_email_queue)
[splfileinfo.openfile]: failed to open stream: Permission denied [CORE/src/Cache/Engine/FileEngine.php, line 391]
Warning (512):cake_model cache was unable to write 'default_email_queue' to Cake\Cache\Engine\FileEngine cache
[CORE/src/Cache/Cache.php, line 223].
我提到了几个链接并尝试了所有这些但仍然徒劳无功。
CakePHP 2.x warning SplFileInfo due to cakeshell
任何帮助都将不胜感激。
答案 0 :(得分:0)
尝试:
<include>
<X-PRE-PROCESS cmd="set" data="domain=test.domain"/>
<X-PRE-PROCESS cmd="set" data="bong-ring=v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440)"/>
</include>
如果你使用ubuntu:
chmod 755 -R /var/www/html/tmp
您的帐户必须具有sudo chmod 755 -R /var/www/html/tmp
权限