bobaes Posted October 10, 2012 Share Posted October 10, 2012 COuld anybody help? One day my eshop worked ok and next day there was a blank page in front office. I turned the error reporting on and I got this massage: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/data/data/html/capacky.sk/public_html/modules/jbx_menu/menu_tree.tpl" on line 23 "{foreach from=$item.childrens item=item name=menuTreeChildrens}" item variable 'item' may not be the same variable as at 'from'' in /home/data/data/html/capacky.sk/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/data/data/html/capacky.sk/public_html/tools/smarty/sysplugins/smarty_internal_compile_foreach.php(40): Smarty_Internal_TemplateCompilerBase->trigger_template_error('item variable '...', 23) #1 /home/data/data/html/capacky.sk/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(284): Smarty_Internal_Compile_Foreach->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #2 /home/data/data/html/capacky.sk/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(123): Smarty_Internal_TemplateCompilerBase->call in/home/data/data/html/capacky.sk/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431 I disabled the jbx_menu modul, and the front office works but another 3 modules dont work. I have this warning in my backoffice/modules page: Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/data/data/html/capacky.sk/public_html/modules//her.php/her.php.php) is not within the allowed path(s): (/home/data/html/capacky.sk:/home/html/capacky.sk:/usr/local/lib/php/pear:/home/data/pear:/home/data/data/html/capacky.sk) in/home/data/data/html/capacky.sk/public_html/classes/Tools.php on line 1128 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/data/data/html/capacky.sk/public_html/modules//index.php/index.php.php) is not within the allowed path(s): (/home/data/html/capacky.sk:/home/html/capacky.sk:/usr/local/lib/php/pear:/home/data/pear:/home/data/data/html/capacky.sk) in/home/data/data/html/capacky.sk/public_html/classes/Tools.php on line 1128 Warning: include_once(../../classes/Product.php) [function.include-once]: failed to open stream: No such file or directory in/home/data/data/html/capacky.sk/public_html/classes/Module.php(408) : eval()'d code on line 12 Warning: include_once() [function.include]: Failed opening '../../classes/Product.php' for inclusion (include_path='./:/home/data/pear/:/home/server/webpanel/:/usr/local/lib/php/pear/') in /home/data/data/html/capacky.sk/public_html/classes/Module.php(408) : eval()'d code on line 12 I have no idea what happend and the modules that dont work are the ones I installed to the prestashop and they are installed in the "Other modules" The back office works properly. DO you have any idea what to do? Thank you! Link to comment Share on other sites More sharing options...
tomerg3 Posted October 10, 2012 Share Posted October 10, 2012 These notices could have been there before, and you just didn't see them as error reporting was turned off. Did you make any changes to Prestashop? maybe switched to smarty 2 by accident? Which modules are not working and what is not working in them? Link to comment Share on other sites More sharing options...
bobaes Posted October 12, 2012 Author Share Posted October 12, 2012 No I didnt - I checked it, it is turned off. One evening prestashop worked ok and next morning I found the white screen. The modules that dont work are : jbx menu 2.6.4, Interesting products on front page, opensum productvideos module v1.0, blockvariouslinks Link to comment Share on other sites More sharing options...
sclb.degroot Posted October 12, 2012 Share Posted October 12, 2012 I have the same problem, But i'm not sure if it is switched to smartphone or not. Where can i find this? Link to comment Share on other sites More sharing options...
musicmaster Posted October 12, 2012 Share Posted October 12, 2012 The "open_basedir restriction" has something to do with access rights. See: http://www.mydigitallife.info/php-scripts-open_basedir-restriction-in-effect-error/ So maybe something in your PHP security settings has been changed. Link to comment Share on other sites More sharing options...
tomerg3 Posted October 12, 2012 Share Posted October 12, 2012 Or your host may have upgraded PHP Link to comment Share on other sites More sharing options...
sclb.degroot Posted October 13, 2012 Share Posted October 13, 2012 So tell me, if my host have upgraded php or the 'open_basedir restriction' has someting to do with it, or mabye I switched to smartphone: WHAT SHOULD I DO TO GET ACCESS TO MODULES. I can not work with prestashop if i can not get acces to models. Link to comment Share on other sites More sharing options...
vynx Posted October 13, 2012 Share Posted October 13, 2012 may be you can check the folder/file permission Link to comment Share on other sites More sharing options...
tomerg3 Posted October 13, 2012 Share Posted October 13, 2012 1) DON'T USE CAPS! OR YOU WILL GET NO HELP! 2) The first step is to identify what happened or changed, once we know that, we can look into a solution. 1 Link to comment Share on other sites More sharing options...
Recommended Posts