2010-09-11 71 views
0

我剛剛在我的電腦上安裝了Joomla。一切正常。我安裝了很多模板,它們都可以工作,但我真正想使用的模板卻沒有。爲什麼這個Joomla模板無法正常工作?

我想利用這個模板:HTTP://byjoomla.com/docman/bj-joomla-templates/bj-venus/download.html 結果將只能是這樣this

當我安裝Joomla時,我點擊按鈕「安裝示例數據」。當我安裝模板我得到這個錯誤在空白頁上:

Parse error: parse error in C:\wamp\www\templates\bj_venus\html\com_content\frontpage\default_item.php on line 158 

的時候,不安裝樣本數據,則顯示模板,但它包含了很多錯誤。 看看:HTTP://grab.by/6eGi

Notice: Use of undefined constant _ISO - assumed '_ISO' in C:\wamp\www\templates\bj_venus\index.php on line 20 

推薦使用:功能拆分()是 棄用 C:上\ WAMP \ WWW \模板\ bj_venus \的index.php 線20

Notice: Undefined variable: header in C:\wamp\www\templates\bj_venus\index.php on line 98 

Notice: Undefined variable: toolbar in C:\wamp\www\templates\bj_venus\index.php on line 1 

Notice: Undefined variable: advert1 in C:\wamp\www\templates\bj_venus\index.php on line 131 

Notice: Undefined variable: headline in C:\wamp\www\templates\bj_venus\index.php on line 138 

Notice: Undefined variable: top in C:\wamp\www\templates\bj_venus\index.php on line 152 

Notice: Undefined variable: right in C:\wamp\www\templates\bj_venus\index.php on line 173 

Notice: Undefined variable: banner in C:\wamp\www\templates\bj_venus\index.php on line 166 

我不知道什麼是錯的。我在官方的Joomla論壇上開了一個主題,但我沒有得到任何答案:http:// forum.joomla.org/viewtopic.php?f=466 & p = 2250353

//對不起關於http://和其他部分之間的空間,但那是因爲我不允許發佈更多超鏈接......(我必須獲得10點聲望點)

回答

0

您需要正確配置您的PHP。如果一切配置正確並且出現錯誤,那麼該模板就會出現問題。我看着bj_venus\html\com_content\frontpage\default_item.php,文件看起來很好,沒有錯誤...最有可能的配置問題。

的Joomla下下列要求運行,http://www.joomla.org/technical-requirements.html

  1. 確保您沒有運行PHP 5.3,Joomla是不能在PHP 5.3上運行良好(很多的bug)。您需要PHP 5.2.x
  2. 禁用錯誤報告,但修改php.ini設置display_errors = Off以隱藏所有錯誤。或者如果您正在開發並且想忽略設置爲error_reporting = E_ALL & ~E_NOTICE的通知 - 這將顯示錯誤但忽略通知。有關更多錯誤報告配置,請參閱php documentation
1

進入您的全局設置並確保在服務器選項卡下的錯誤報告設置爲無。我注意到當我打開它時,我在同一個模板上出現了一些這些錯誤,但是當我將它設置爲無時,它將它們清除。希望這可以工作。

相關問題