2011-01-27 48 views
0

我剛剛得到一個錯誤。如何解決對於SEO的棄用問題

當我嘗試指定一個像這樣的對象:我正在爲搜索引擎優化通過谷歌PHP SEO腳本。

Deprecated: Assigning the return value of new by reference is deprecated in E:\wamp\www\subgoogle\nusoap.php on line 3703 

Deprecated: Function ereg() is deprecated in E:\wamp\www\subgoogle\nusoap.php on line 3876 

Deprecated: Function ereg() is deprecated in E:\wamp\www\subgoogle\nusoap.php on line 3896 

Deprecated: Function ereg() is deprecated in E:\wamp\www\subgoogle\nusoap.php on line 1451 

Notice: Uninitialized string offset: 0 in E:\wamp\www\subgoogle\searchgoosimple.php on line 89 
Sorry, no search results found 

我得到的錯誤是「通過引用指定新的返回值已被棄用」。其實我一直在尋找解決方案,但我所見過的唯一一個只是拒絕nusoap.php(error_reporting)的政治化。我也試過了,但沒有奏效。

這很混亂......我希望你能幫助我。提前致謝。

回答

0

每個這些錯誤消息攜帶行號和文件名:

推薦使用:分配通過引用的新的返回值中E被棄用:\瓦帕\ WWW \ subgoogle \ nusoap.php上線3703

去那裏,和new之前刪除&

爲了擺脫對方警告,按照你的主腳本,以減少錯誤報告級別設置使用:

error_reporting(E_ALL); 

你必須找到error_reporting(最終的其他情況下,太適應他們。