【发布时间】:2013-06-27 01:58:07
【问题描述】:
我在 yii 框架中工作。我的网站多次出现空白页问题。我正在尝试很多方法,但它不能正常工作。我已经在尝试增加最大执行时间。但它不起作用。它没有显示任何错误。也在尝试error_reporting(1);。此错误并非一直显示。
我的 htaccess 文件代码如下。
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
我该如何解决这个空白页问题。请指导我。
【问题讨论】:
-
尝试检查服务器错误日志,它可能会给您一些提示...
-
@David Constantine 此错误仅出现在错误日志文件中:致命错误:错误参数为 Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in / var/www/buyjapon/root/protected/components/GBingTranslator.php 第 173 行
-
这个问题也出现不一致
-
所以在我看来你在第 173 行的 GBingTranslator.php 中有问题
-
@NathanSrivi:抱歉在这里写下我的问题。我看到了你关于 EAN API 的回答。当我使用 api tester 的预订选项卡时,我遇到了问题。你能帮我吗?提前致谢
标签: php .htaccess error-handling yii runtime-error