我是WP的新手(我来自Joomla),我发现在尝试将我的本地网络服务器放在网站的旧备份(使用WP 3.5制作)时遇到了一些困难
我已执行以下操作:
1)我已将网站备份放入名为 blog 的目录到我的Ubuntu本地系统上的Apache www 目录中。
2)然后我将数据库备份放在我的MySql本地服务器上
3)最后我更改了 wp-config.php 文件中的值以使用我的本地数据库
问题是当我尝试打开网址以查看我看到的网站时(白屏)
进入Apache日志文件(/var/log/apache2/error.log)我发现以下错误消息:
[Fri Jan 10 22:04:50 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations
[Fri Jan 10 22:05:08 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:05:08 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:37 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:37 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:38 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:38 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:39 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:39 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:40 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:40 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12
为什么呢?可能是什么问题呢?我怎样才能解决它?
TNX
安德烈
答案 0 :(得分:0)
确保数据库中的url结构相同。看起来有些文件丢失或路径结构不正确。