2012-08-22 87 views
0

所以我試圖從一個活的網站把我的令人興奮的WordPress博客,並把我的本地主機。我正在使用XAMPP我的本地主機上的所有其他測試站點都沒有空白屏幕。WordPress的空白屏幕在localhost

當我把我的WordPress博客到本地主機我做

  • 導入了數據庫當地
  • 改變SITE_URL家在wp_options這個http://localhost:83
  • 在WP-配置改變了我的連接值.php

我得到一個空白屏幕.....有誰知道爲什麼或如何解決它?

在WP-config.php文件

我轉身WP_DEBUG爲true,它返回這個...

Warning: mysql_connect() [function.mysql-connect]: MySQL server has gone away in C:\xampp\htdocs\taran\wp-includes\wp-db.php on line 1038 

Warning: mysql_connect() [function.mysql-connect]: Error while reading greeting packet. PID=5832 in C:\xampp\htdocs\taran\wp-includes\wp-db.php on line 1038 

Warning: mysql_connect() [function.mysql-connect]: MySQL server has gone away in C:\xampp\htdocs\taran\wp-includes\wp-db.php on line 1038 

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\taran\wp-includes\wp-db.php on line 1038 

得到了我的網站出現,但它很凌亂......這裏是錯誤的我得到的,當我打開

Notice: Use of undefined constant JQUERYCOLORBOX_TEXTDOMAIN - assumed 'JQUERYCOLORBOX_TEXTDOMAIN' in C:\xampp\htdocs\taran\wp-content\plugins\jquery-colorbox\jquery-colorbox.php on line 34 

Notice: Constant WPECAUTHNET_PLUGIN_NAME already defined in C:\xampp\htdocs\taran\wp-content\plugins\gold_cart_plugin\merchants\wpec_auth_net\wpec_auth_net.php on line 11 

Notice: Constant WPECAUTHNET_CLASSES already defined in C:\xampp\htdocs\taran\wp-content\plugins\gold_cart_plugin\merchants\wpec_auth_net\wpec_auth_net.php on line 13 

Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in C:\xampp\htdocs\taran\wp-includes\functions.php on line 2705 

Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in C:\xampp\htdocs\taran\wp-includes\functions.php on line 2705 

Notice: Undefined index: authorized in C:\xampp\htdocs\taran\wp-content\plugins\wp-login\wp-login.php on line 63 

Notice: Undefined index: scheme in C:\xampp\htdocs\taran\wp-includes\canonical.php on line 398 
+1

在您的wordpress文件夾中,轉到您的wp-config文件,然後將define(「WP_DEBUG」,false)'改爲'define(「WP_DEBUG」,true)'然後轉到localhost,然後告訴我們屏幕。 –

+0

現在這樣做...... – user979331

+0

我已經更新了我的問題 – user979331

回答

2

轉到WP_DEBUG到WP-config.php文件,設置WP_DEBUG爲true,並看看會發生什麼。

+0

這樣做現在.... – user979331

+0

我已經更新了我的問題 – user979331

+0

我認爲你的MySQL服務器有問題。數據庫參數是好的?您可以嘗試重新啓動它。 – fonini