0
首先要做的事情我是Prestashop的新手。Prestashop維護模式錯誤
我有兩個問題。首先是當我處於維護模式時,我添加了我的IP地址以獲得訪問權限,但我仍然無法訪問我的前臺。這給我的Chrome瀏覽器中的服務器錯誤。
但是更大的問題是,當我關閉維護模式(並從列表中刪除我的IP地址)時,什麼也沒有。只是一個空白的屏幕。一個小小的研究後,我發現如何把錯誤報告在defines.inc.php這樣的:
/* Debug only */
define('_PS_MODE_DEV_', true);
在此之後,我得到這個錯誤(S):
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/.sites/78/site58/web/modules/categoriesbar/category-bar-level.tpl" on line 8 "{include file=$tpl_dir./category-tree-branch.tpl node=$child last='true'}" - Unexpected "/", expected one of: "{" , "$" , "identifier" , INTEGER' in /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:665 Stack trace: #0 /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(40, '/') #2 /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(40, '/') #3 /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_t in /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 665
任何幫助將是讚賞:)
PS 我將Prestashop從1.2.x升級到了1.5.4版... 也許它與此有關?