{"id":4163,"date":"2014-03-30T08:46:14","date_gmt":"2014-03-30T08:46:14","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/prestashop-maintenance-mode-error-collection-of-common-programming-errors-2\/"},"modified":"2014-03-30T08:46:14","modified_gmt":"2014-03-30T08:46:14","slug":"prestashop-maintenance-mode-error-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/prestashop-maintenance-mode-error-collection-of-common-programming-errors-2\/","title":{"rendered":"Prestashop Maintenance mode error-Collection of common programming errors"},"content":{"rendered":"<p>First things first I am new to Prestashop.<\/p>\n<p>I have two issues. First is when I&#8217;m in the maintenance mode and I add my ip adres to gain access, I still can&#8217;t access my frontoffice. This gives server error in my Chrome Browser.<\/p>\n<p>But the bigger issue is when I turn the Maintenance mode off (and deleting my IP adress from the list) There is nothing. Just a blank screen. After a little research I found how to turn the error reporting on in defines.inc.php like this:<\/p>\n<pre><code>\/* Debug only *\/\ndefine('_PS_MODE_DEV_', true);\n<\/code><\/pre>\n<p>After this I got this error(s):<\/p>\n<pre><code>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-&gt;trigger_template_error() #1 \/home\/.sites\/78\/site58\/web\/tools\/smarty\/sysplugins\/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser-&gt;yy_syntax_error(40, '\/') #2 \/home\/.sites\/78\/site58\/web\/tools\/smarty\/sysplugins\/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser-&gt;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\n<\/code><\/pre>\n<p>any help would be appreciated \ud83d\ude42<\/p>\n<p>P.S. I upgraded the Prestashop from 1.2.x to the 1.5.4 version&#8230; Maybe it has something to do with this?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First things first I am new to Prestashop. I have two issues. First is when I&#8217;m in the maintenance mode and I add my ip adres to gain access, I still can&#8217;t access my frontoffice. This gives server error in my Chrome Browser. But the bigger issue is when I turn the Maintenance mode off [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4163","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4163"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4163\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}