这个Yii错误#8192是什么意思? [英] What does this Yii error #8192 mean?

查看:414
本文介绍了这个Yii错误#8192是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Yii2应用程序的Heroku上遇到这个错误。


错误(#8192)
发生了内部服务器错误。

其他页面可以工作,但只有这一页不起作用。在 heroku日志中没有错误消息。没有 runtime / logs / app.log 文件。

解决方案

这是因为我正在静态访问非静态类方法。它在开发中工作。我不得不打开调试生产(这是一个很大的麻烦本身)找出。

I get this error on Heroku for a Yii2 app. I searched the source code and can't even find error 8192.

Error (#8192) An internal server error occurred.

Other pages work, but just this one page doesn't work. There is no error message in heroku logs. There is no runtime/logs/app.log file.

解决方案

It was because I was accessing a non-static class method statically. It worked in development. I had to turn on debugging in production (which was a big hassle by itself) to find out.

这篇关于这个Yii错误#8192是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆