candace717 Posted October 29, 2012 Share Posted October 29, 2012 My website is sistermissionaryclothes.com. When you click to a product, about 50% of the time it will open, and the rest of the time it opens to this error page: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/sistermi/public_html/modules/productsalsobuy/productsalsobuy.tpl" on line 8 "{foreach from=$product item='product' name=product}" item variable 'product' may not be the same variable as at 'from'' in /home/sistermi/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/sistermi/public_html/tools/smarty/sysplugins/smarty_internal_compile_foreach.php(40): Smarty_Internal_TemplateCompilerBase->trigger_template_error('item variable '...', 8) #1 /home/sistermi/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/sistermi/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(123): Smarty_Internal_TemplateCompilerBase->callTagCompiler('foreach', Array, Array) #3 /home/sistermi/public_html/tools/smarty/sys in /home/sistermi/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431 The site has been working fine the last 2 years, I'm not sure what I did now to screw it up. Please help me fix it. Message me with home much you'd charge and how soon you can do it. Thanks! Link to comment Share on other sites More sharing options...
doubleD Posted October 29, 2012 Share Posted October 29, 2012 (edited) Hi, I do not think it's your fault, but the hosting provider. Try to contact them first... Edited October 29, 2012 by doubleD (see edit history) Link to comment Share on other sites More sharing options...
doubleD Posted October 29, 2012 Share Posted October 29, 2012 You may also try to enable force compile and disable cache in the Back Office Link to comment Share on other sites More sharing options...
doubleD Posted October 29, 2012 Share Posted October 29, 2012 I've tried now. and your site is working for me... Link to comment Share on other sites More sharing options...
Avengers Posted October 29, 2012 Share Posted October 29, 2012 delete cache Link to comment Share on other sites More sharing options...
EngkusKusnadi Posted October 30, 2012 Share Posted October 30, 2012 I see your problem in modules productsalsobuy, if you may fixed it, i can help you. Link to comment Share on other sites More sharing options...
candace717 Posted October 30, 2012 Author Share Posted October 30, 2012 I followed the instructions here - http://www.prestashop.com/forums/topic/36503-clearing-cache-howto/ No improvement. Any other ideas? Link to comment Share on other sites More sharing options...
shacker Posted October 30, 2012 Share Posted October 30, 2012 send me a pm with your access and i solve Link to comment Share on other sites More sharing options...
nicovital Posted November 22, 2012 Share Posted November 22, 2012 (edited) Hi, I have the same problem, but only with two products. Page appears blank, but when I activate the errors log it appears this message: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/homepages/8/d409530983/htdocs/tienda/modules/productsalsobuy/productsalsobuy.tpl" on line 8 "{foreach from=$product item='product' name=product}" item variable 'product' may not be the same variable as at 'from'' in /homepages/8/d409530983/htdocs/tienda/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /homepages/8/d409530983/htdocs/tienda/tools/smarty/sysplugins/smarty_internal_compile_foreach.php(40): Smarty_Internal_TemplateCompilerBase->trigger_template_error('item variable '...', 8) #1 /homepages/8/d409530983/htdocs/tienda/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(284): Smarty_Internal_Compile_Foreach->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #2 /homepages/8/d409530983/htdocs/tienda/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(123): Smarty_Internal_TemplateCompilerBase->callTagCompiler('foreach', Array in/homepages/8/d409530983/htdocs/tienda/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.phpon line 431 http://vivavida.es/tienda/en/ (The store) Tangerines 15Kg. Premium and Oranges 15Kg. Premium The rest of the prodcuts work fine. Help please!!! Thanks!!! ***************************** [sOLVED] I had another module called Products bought by other people v0.3 Customers who bought this item also bought ... brought to you by www.jing-shop.com And it created the conflict. Sorry for the trouble. Edited November 22, 2012 by nicovital (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now