pimcore调试
目前我正在使用 PIMCore 来构建我的网站。我已经使用 php 5.3.3 在我的服务器上正确安装了它。我已经制作了所有不同的页面,到目前为止一切正常。加载网站时我只看到白屏。然而,管理面板工作正常。我对 PIMCore 很陌生,不太知道如何调试它。
我尝试做的事情: 在 pimcore/lib/pimcore.php 第 216 行启用 error_reporting(无) 放一个骰子('测试');在 pimcore.php 文件中查看它停止的位置。 当我将其放入函数 unsetAdminMode 中时,我可以在我的网站上看到测试,当我将其放入函数 inAdmin 中时,我看不到它。
有人可以帮助我吗?
提前致谢!
Currently I'm using PIMCore for building my website. I've installed it properly on my server with php 5.3.3. I've made all the different pages and everything worked fine till now. I only get white screens when loading the website. The admin-panel however is working fine. I'm quite new to PIMCore and don't really know how to debug this.
What I tried to do:
Enable error_reporting in pimcore/lib/pimcore.php line 216 (nothing)
Put a die('test'); in the pimcore.php file to see where it stops.
When I put it in the function unsetAdminMode I can see test on my website, when I put it in the function inAdmin, I don't see it.
Is there anybody who can help me?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在“设置”->“系统”->“常规”中启用调试模式,然后您将看到所有错误消息;-)
http://www.pimcore.org/wiki/display/PIMCORE/System+Settings
Enable the debug-mode in Settings->System->General, then you'll see all error messages ;-)
http://www.pimcore.org/wiki/display/PIMCORE/System+Settings
从未使用过 pimcore,但要强制报告错误,您可以执行以下操作:
您还可以检查 apache_error 和 php_log 日志文件。
Never used pimcore but to force error reporting on you can do the following:
You can also check in your apache_error and php_log log files.
在管理 GUI 中,您可以启用调试模式:
设置>系统>调试
您可以在 Pimcore 中跟踪调试日志:
tail -f website/var/log/debug.log
我通常为我的开发环境启用 DEV 模式。
In the Admin GUI you can enable debug mode:
Settings > System > Debug
The you can tail the debug logs in Pimcore:
tail -f website/var/log/debug.log
I usually enable DEV-Mode for my development environment.