2017-04-17 124 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

感謝&問候, 麻醉劑