[英]Zend FrameWork 2 cant load layout.phtml
i use zendframework2
,my code is ok locally, but after upload my source code to server and enable mode rewrite on apache and installing requirement with composer and , connecting to database 我使用zendframework2
,我的代码在本地可以,但是在将我的源代码上传到服务器并在apache上启用模式重写并使用composer和安装要求后,连接到数据库
i got this error on my server 我在服务器上收到此错误
Warning: include(): Failed opening '/home/test/www/module/Application/config/../View/layout/layout.phtml' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/test/www/vendor/zendframework/zendframework/library/Zend/View/Renderer/PhpRenderer.php on line 501
what should i do ? 我该怎么办 ?
i checked apache modules checked file permissions and everything is ok 我检查了Apache模块检查了文件权限,一切都很好
Problem is in case-sensitive OS . 问题在于区分大小写的OS 。 You should try view instead of View . 您应该尝试使用view而不是View 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.