まず最初に、私は Prestashop を初めて使用します。
2 つの問題があります。1 つ目は、メンテナンス モードで IP アドレスを追加してアクセスを取得したときです。まだフロントオフィスにアクセスできません。これにより、Chrome ブラウザでサーバー エラーが発生します。
しかし、より大きな問題は、メンテナンス モードをオフにしたとき (およびリストから IP アドレスを削除したとき) です。何もありません。ただの真っ白な画面。少し調査した後、次のように define.inc.php でエラー報告をオンにする方法を見つけました。
/* Debug only */
define('_PS_MODE_DEV_', true);
この後、次のエラーが発生しました:
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 バージョンにアップグレードしました...これと何か関係があるのでしょうか?