Zend框架中的网站,不在浏览器中打开

问题描述 投票:-1回答:1

我在Zend框架中有一个网站。我试图在浏览器中打开此站点,将文件的路径传递到地址栏。但是没有内容加载,我面临一个空白页面。关于什么可能是问题的任何想法?

zend-framework
1个回答
0
投票

将其添加到您的public / index.php中

/**
 * Display all errors when APPLICATION_ENV is development.
 */
if ($_SERVER['APPLICATION_ENV'] == 'development') {
    error_reporting(E_ALL);
    ini_set("display_errors", 1);
}

所以你将能够看到错误是什么。

还要确保您的文件夹或路径是可写的。

© www.soinside.com 2019 - 2024. All rights reserved.