cakephp,throw new Exception时报错。

luozhongkai1991 2013-09-22 09:15:27

报的这个错误。 在windows下是正常能扔出来错误的。但是在linux下会报这个错误。
求指教、
...全文
282 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
luozhongkai1991 2013-09-22
  • 打赏
  • 举报
回复
引用 3 楼 xuzuning 的回复:
An error occurred 发生错误 sorry, the page you are looking for is currently unavailable 很抱歉,你正在寻找的页面是当前不可用。 Please try again later 请稍后再试。 if you are the system administrator of this resource then you should check the error.log for details 如果你是系统管理员,那么你应该检查这个资源的error.log细节
额,我知道这个的意思。 用系统自身带的错误处理就会出这个错误,不过在windows下没问题。只要我在cake里的错误处理指定给我写的页面就不会出错了。 但是我不想改核心的类库,怕以后出问题
xuzuning 2013-09-22
  • 打赏
  • 举报
回复
An error occurred 发生错误 sorry, the page you are looking for is currently unavailable 很抱歉,你正在寻找的页面是当前不可用。 Please try again later 请稍后再试。 if you are the system administrator of this resource then you should check the error.log for details 如果你是系统管理员,那么你应该检查这个资源的error.log细节
luozhongkai1991 2013-09-22
  • 打赏
  • 举报
回复
引用 楼主 u010906946 的回复:
报的这个错误。 在windows下是正常能扔出来错误的。但是在linux下会报这个错误。 求指教、
打开了啊~ 。好像是加载时候出现的问题
xuzuning 2013-09-22
  • 打赏
  • 举报
回复
你没有打开php的错误显示功能

4,250

社区成员

发帖
与我相关
我的任务
社区描述
国内外优秀PHP框架讨论学习
社区管理员
  • Framework
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧