Dahl99 Posted April 14, 2012 Share Posted April 14, 2012 Hi, I'm just setting up a new shop and starting to add products. When I go the front end I can see the list of products in the category and sub category but when I click on a product I can see the list of products but the modules in the righthand side of he page disappear. When I click on an item to view it the centre of the page is blank and the modules in the righthand side of he page are not displayed. When I try to add a product to the cart I get the following error message - TECHNICAL ERROR: unable to add the product. Details: Error thrown: [object XMLHttpRequest] Text status: error The website is petfoodplus.co.uk Any ideas. Best wishes Link to comment Share on other sites More sharing options...
tomerg3 Posted April 14, 2012 Share Posted April 14, 2012 Turn on error reporting (/config/config.inc.php line #29) and tell us what error is showing in the product page. Also, ALWAYS mention the PS version you use..... Link to comment Share on other sites More sharing options...
Dahl99 Posted April 14, 2012 Author Share Posted April 14, 2012 Hi Tomerg, sorry, I'm using 1.4.7 the error I get is Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/markcoo1/public_html/petfoodplus.co.uk/themes/Pet Food Plus Theme/./pagination.tpl" on line 55 "{section name=pagination start=$start loop=$stop+1 step=1}" unknown tag "section"' in /home/markcoo1/public_html/petfoodplus.co.uk/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/markcoo1/public_html/petfoodplus.co.uk/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(253): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "se...', 55) #1 /home/markcoo1/public_html/petfoodplus.co.uk/tools/smarty/sysplugins/smarty_internal_templateparser.php(2319): Smarty_Internal_TemplateCompilerBase->compileTag('section', Array) #2 /home/markcoo1/public_html/petfoodplus.co.uk/tools/smarty/sysplugins/smarty_internal_templateparser.php(2812): Smarty_Internal_Templateparser->yy_r35() #3 /home/markcoo1/public_html/petfoodplus.co.uk/tools/smarty/sysplugins/smarty_in in /home/markcoo1/public_html/petfoodplus.co.uk/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431 Thanks. Best wishes Link to comment Share on other sites More sharing options...
tomerg3 Posted April 14, 2012 Share Posted April 14, 2012 You may be using Smarty2 (Preferences tab) which I don't believe supported the {section} command. Are you using a Theme from 1.4? if so, check to make sure you are using Smarty3 Link to comment Share on other sites More sharing options...
Dahl99 Posted April 14, 2012 Author Share Posted April 14, 2012 It's set for smarty 3 and I'm using a 1.4 theme. Link to comment Share on other sites More sharing options...
tomerg3 Posted April 14, 2012 Share Posted April 14, 2012 Hmm, that's odd, I'm not sure why it would complain about that line then, you can try asking whoever made your theme. Link to comment Share on other sites More sharing options...
Dahl99 Posted April 15, 2012 Author Share Posted April 15, 2012 I get the same error with the default theme as well. I've switched it to the default so you can see. Link to comment Share on other sites More sharing options...
tomerg3 Posted April 15, 2012 Share Posted April 15, 2012 You can try to report it in the bug tracker, maybe someone from the PS team would have a better idea. Link to comment Share on other sites More sharing options...
Dahl99 Posted April 15, 2012 Author Share Posted April 15, 2012 I'll do that. I'm not sure if this is relevant but I had problems viewing the website at all when I first installed it 9blank page) so I contacted my host, Justhost. They said they checked the error log and found the following bit of code causing an error <script type="text/javascript"> $('ul#first-languages li:not(.selected_language)').css('opacity', 0.3); $('ul#first-languages li:not(.selected_language)').hover(function(){ldelim} $(this).css('opacity', 1); {rdelim}, function(){ldelim} $(this).css('opacity', 0.3); {rdelim}); </script> They removed the code from the file: /home/markcoo1/public_html/petfoodplus.co.uk/modules/blocklanguages/blocklanguages.tpl and then the website appeared. Just thought of something else but again not sure if it is relevant. The domain is registered with 123reg and pointing to the Justhost servers. 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