YII 异常小记

好记性不如烂笔头。。。

1.main.php 丢失

原因:配置正确,就是读不到main.php。

解决方式:经排查,发现是有一个类的常量没有上传。。导致异常。但是又不报错,还能返回。但是返回的就只有view 没有main.php这个页面的内容。补上常量。正常

《YII 异常小记》有1个想法

  1. It’s appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I desire to suggest you few interesting things or advice. Perhaps you could write next articles referring to this article. I desire to read more things about it!

发表评论

电子邮件地址不会被公开。 必填项已用*标注