Demo

討論

保持飢餓,保持愚笨 (Stay hungry, stay foolish)。 史蒂夫·賈伯斯

公告

本網站已取消討論區的討論方式,如果您有問題請至LINE群行動條碼圖片網址,或Facebook社團

2.5商業佈景首頁php錯誤?

  • 孫吉成
  • 孫吉成 的個人頭像 Topic Author
  • Offline
  • 新手上路
  • 新手上路
More
2012-04-26 17:27 #22225 來自 孫吉成
孫吉成 created the topic: 2.5商業佈景首頁php錯誤?
各位前輩:

我在安裝shape5(http://www.shape5.com/product_details/club_templates/sports_nation_-_april_2012_joomla_club_template.html)一個商業佈景時,在首頁遇到了疑似php的錯誤,
條列如下(或是參閱附件)


Strict Standards: Only variables should be assigned by reference in D:\xampp\htdocs\ens\templates\sports_nation\vertex\cms_core_functions.php on line 4

Strict Standards: Only variables should be assigned by reference in D:\xampp\htdocs\ens\templates\sports_nation\vertex\cms_core_functions.php on line 8
Strict Standards: Only variables should be assigned by reference in D:\xampp\htdocs\ens\templates\sports_nation\vertex\cms_core_functions.php on line 23
xml:lang="en-GB" lang="en-GB" >
Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in D:\xampp\htdocs\ens\templates\sports_nation\vertex\general_functions.php on line 50

Strict Standards: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in D:\xampp\htdocs\ens\includes\application.php on line 540

Strict Standards: Only variables should be assigned by reference in D:\xampp\htdocs\ens\templates\sports_nation\vertex\call_menu.php on line 3

Strict Standards: Only variables should be assigned by reference in D:\xampp\htdocs\ens\templates\sports_nation\vertex\call_menu.php on line 8
trict Standards: Non-static method S5modMainMenuHelper::S5buildXML() should not be called statically, assuming $this from incompatible context in D:\xampp\htdocs\ens\templates\sports_nation\vertex\s5flex_menu\default.php on line 43

Strict Standards: Only variables should be assigned by reference in D:\xampp\htdocs\ens\templates\sports_nation\vertex\s5flex_menu\helpers.php on line 182

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be called statically, assuming $this from incompatible context in D:\xampp\htdocs\ens\templates\sports_nation\vertex\s5flex_menu\helpers.php on line 321

Strict Standards: Non-static method S5modMainMenuHelper::getMenuContent() should not be called statically, assuming $this from incompatible context in D:\xampp\htdocs\ens\templates\sports_nation\vertex\s5flex_menu\helpers.php on line 376

Strict Standards: Non-static method S5modMainMenuHelper::getChildItems() should not be called statically, assuming $this from incompatible context in D:\xampp\htdocs\ens\templates\sports_nation\vertex\s5flex_menu\helpers.php on line 390
如上,用google查詢,也找不到相關解決辦法,身邊的朋友也束手無策,不知討論區的各位前輩是否有解套方法?麻煩了,謝謝。
附件:

Please 登入 to join the conversation.

  • 孫吉成
  • 孫吉成 的個人頭像 Topic Author
  • Offline
  • 新手上路
  • 新手上路
More
2012-04-26 18:40 #22226 來自 孫吉成
孫吉成 replied the topic: 回覆: 2.5商業佈景首頁php錯誤?
把php的錯誤顯示關閉就可以解決,感謝某位不具名的前輩,謝謝

Please 登入 to join the conversation.

More
2012-05-08 07:13 #22292 來自 王慧婷
王慧婷 replied the topic: 回覆: 2.5商業佈景首頁php錯誤?
請問要怎麼關掉PHP錯誤阿

Please 登入 to join the conversation.

More
2012-05-08 07:49 #22293 來自 羽城君拉
羽城君拉 replied the topic: 回覆: 2.5商業佈景首頁php錯誤?
Strict是新版本的PHP給開發者參考的資訊。
可以到php.ini中,把它隱藏不顯示,下面這行參數改成這樣就行了:

error_reporting = E_ALL & ~E_NOTICE

改完要重啟apache才會生效

...
The following user(s) said Thank You: amy chen

Please 登入 to join the conversation.