2013-08-31 2 views
0

첫 번째 사항 먼저 Prestashop을 처음 사용합니다.Prestashop 유지 관리 모드 오류

두 가지 문제점이 있습니다. 첫째, 유지 관리 모드에서 액세스 권한을 얻으려고 내 IP 주소를 추가 할 때도 여전히 프론트 오피스에 액세스 할 수 없습니다. 내 Chrome 브라우저에서 서버 오류가 발생합니다.

그러나 더 큰 문제는 유지 관리 모드를 사용 중지하고 목록에서 내 IP 주소를 삭제할 때입니다. 그냥 빈 화면. 이 후

/* 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 

하는 것이 도움이 될 것를 조금 연구 후에 나는 오류는 다음과 같이 defines.inc.php의에보고 설정하는 방법 발견 감사 :

추신 Prestashop을 1.2.x에서 1.5.4 버전으로 업그레이드했습니다 ... 아마도이 작업과 관련이 있습니까?

답변

0

오류는 템플릿에 오류가 있음을 알려줍니다. 회선을

{include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'} 
으로 변경해보십시오.
관련 문제