Templates 为什么Joomla模板不起作用?
我刚在我的电脑上安装了Joomla。一切正常。我安装了很多模板,它们都能正常工作,但我真正想要使用的模板却不能 我想使用这个模板:http://byjoomla.com/docman/bj-joomla-templates/bj-venus/download.html 结果必然是这样 当我安装Joomla时,我点击了“安装示例数据”按钮。安装模板时,在空白页上出现以下错误:Templates 为什么Joomla模板不起作用?,templates,joomla,Templates,Joomla,我刚在我的电脑上安装了Joomla。一切正常。我安装了很多模板,它们都能正常工作,但我真正想要使用的模板却不能 我想使用这个模板:http://byjoomla.com/docman/bj-joomla-templates/bj-venus/download.html 结果必然是这样 当我安装Joomla时,我点击了“安装示例数据”按钮。安装模板时,在空白页上出现以下错误: Parse error: parse error in C:\wamp\www\templates\bj_venus\ht
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
不推荐使用:函数split()为
不赞成
C:\wamp\www\templates\bj\u venus\index.php
第20行
我不知道怎么了。我在Joomla官方论坛上打开了一个主题,但没有得到任何答案:http://forum.Joomla.org/viewtopic.php?f=466&p=2250353
//很抱歉,http://和另一部分之间有空格,但那是因为我不允许发布更多的超链接。。。(我必须获得10点声誉积分)您需要正确配置PHP。如果所有配置都正确,并且出现错误,那么模板就是有缺陷的。我查看了
bj_venus\html\com_content\frontpage\default_item.php
,文件看起来很好,没有错误。。。很可能是配置问题
Joomla按照以下要求运行:
display\u errors=Off
以隐藏所有错误。或者,如果您正在开发并希望忽略通知集error\u reporting=E\u ALL&~E\u NOTICE
——这将显示错误,但忽略通知。有关更多错误报告配置,请参阅进入全局设置,确保在“服务器”选项卡下,错误报告设置为“无”。当我打开它时,我注意到在同一个模板上出现了一些错误,但当我将其设置为“无”时,这些错误就被清除了。希望这能奏效
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