2017-04-17 113 views
0

当我安装新的Joomla和我的组件都在2.5倍的Joomla和我更新的Joomla 3倍的版本,但在正面I得到一个错误:的Joomla新组件安装错误

Ex:syntax error, unexpected end of file

+0

请走tour stackoverflow.com/tour你能提供更多信息吗?例如,你能识别并发布触发语法错误的文件吗? – Yunnosch

+0

您很可能会在apache错误日志中发现错误,一旦您确定负责的扩展程序检查所有者的网站并更新它(手动或恢复备份) –

+0

我还建议您发送确切的错误,以便您将获得该问题的确切解决方案。检查下面的链接,可能是你会得到你的问题的答案https://docs.joomla.org/Joomla_2.5_to_3.x_Step_by_Step_Migration –

回答

0

正如我与调查上面的错误,你已经发布,他们可能是两个原因,无论是组件不正确安装或在代码中,你已经错过了在PHP文件的末尾卷曲赞美。

所以有克服这个问题的两个步骤,

1) Reinstall the component which solve this issue. 
    2) Find the exact file and found that might be syntactically not correct (i.e, <?php} {?> and <?). 
    Please avoid <? and use <?php and keep spaces at curly braces (i.e, <? } ?> instead of <?php } ?> 
go to php.ini then find short_open_tag= Off set to short_open_tag= On 

如果进一步想,请检查该链接ComponentReinstall Link2

感谢&问候, 麻醉剂