出现如题错误 先开启laravel的调试模式:
app/config/app.php 文件中
'debug' => flase,修改成 'debug' => true,
开启调试模式后就能非常清楚的知道出错的原因了,app/storage 目录的权限问题,运行apache服务器的默认用户是www-data所以解决如下
即可~~
参考http://www.golaravel.'debug' => true,com/docs/4.1/installation/
[后记]假如你用的是zend studio 一直提示什么:must implement inherited abstract method的错误
这个是zend studio的问题不是laravel的问题哦~~
参考http://forums.zend.com/viewtopic.php?t=76153&f=59
app/config/app.php 文件中
'debug' => flase,修改成 'debug' => true,
开启调试模式后就能非常清楚的知道出错的原因了,app/storage 目录的权限问题,运行apache服务器的默认用户是www-data所以解决如下
sudo chown -R www-data:www-data app/storage即可~~
参考http://www.golaravel.'debug' => true,com/docs/4.1/installation/
[后记]假如你用的是zend studio 一直提示什么:must implement inherited abstract method的错误
这个是zend studio的问题不是laravel的问题哦~~
参考http://forums.zend.com/viewtopic.php?t=76153&f=59
本文介绍了解决Laravel框架中出现的调试问题的方法。通过开启调试模式及调整存储目录权限,可以有效定位并解决错误。同时,针对ZendStudio可能出现的不兼容问题也提供了相应解决方案。
1746

被折叠的 条评论
为什么被折叠?



