Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个代码,我在其中分配了一些变量,然后调用并显示相应的模板。但在其中一种情况下,控制器没有到达模板,我得到一个错误
您正在查找的页面暂时不可用。请稍后再试。
我试图调试它,发现代码总是到达操作的最后一行,而模板没有显示。
如何解决?
尝试通过开发环境打开页面。只需将 frontend_dev.php 或任何您的应用程序调用到您拥有的主机即可。
示例:yourdomain/frontend_dev.php/module/action。
有了这个,您可以看到您遇到的确切错误。