2010-09-11 87 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

进入您的全局设置并确保在服务器选项卡下的错误报告设置为无。我注意到当我打开它时,我在同一个模板上出现了一些这些错误,但是当我将它设置为无时,它将它们清除。希望这可以工作。

相关问题