迁移joomla安装 - 获取没有错误的空白页

时间:2013-07-24 01:45:22

标签: php apache joomla

Apache服务器,从IIS迁移 - 我有错误报告,我有权访问服务器日志,也没有报告任何错误,但页面仍然是空白的

http://204.12.74.110/index.php
http://204.12.74.110/administrator/index.php

任何帮助都将不胜感激。

2 个答案:

答案 0 :(得分:0)

您检查过您的PHP版本了吗?检查新服务器中的所有资源是否相同。

适用于Joomla 2.5.x,1.7.x和1.6.x

Software         Recommended       Minimum  
PHP              5.3 +             5.2.4 +  
MySQL            5.0.4 +           5.0.4 + 
Microsoft IIS    7                 7

对于Joomla 3.x,您可以查看以下链接:http://www.joomla.org/technical-requirements.html

答案 1 :(得分:0)

您是否在joomla配置中将错误报告设置为最大值?如果您无法通过浏览器访问后端,请手动更改configuration.php文件并将以下变量设置为最大值

public $error_reporting = 'maximum';

有时,白页是由文件权限问题引起的。尝试将以下代码添加到index.php文件的顶部

error_reporting(E_ALL);
ini_set('display_errors', '1');

要确保调用该文件,请添加

echo 'hello';die;

也是你的index.php文件。我假设PHP正确配置了Apache?