exposeclothing Posted October 20, 2012 Share Posted October 20, 2012 (edited) Hi all, thought id give the new prestashop 1.5.1 a go an LOVED the back office and functions, so decided to go with it. Had a few issues when on the local server where it just displayed a blank page on the shopping cart page, but everything else worked fine, and i assumed was fixable, so installed prestashop 1.5.1 on my Hosting account so that i could fix the problem while on the server so i didnt have to remeber how to do it later....i am a blonde =) So from a clean install i .... **changed the list to grid by following this guide -http://nemops.com/grid-display-prestashop-1-5/ (set auto compile of updated files) /downloaded the template files and replaced the appropriate files (as i did, with successful results on my local server so i dont think this has anything to do with it ) **i then uploaded the logo image, aswell as change the img used to create the menus headers to my opinion, the page looked good, so i was about to start customizing the category/product page when i noticed it started to do what the shopping cart page did on my local server, and just display a blank page- I turned on errors and have found this: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/exposecl/public_html/presta/themes/default_grid/product-list.tpl" on line 54 "<a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="file:///C|/Users/Steph/Desktop/{$link->getPageLink('cart',false, NULL, "add&id_product={$product.id_product|intval}&token={$static_token}", true)}" title="{l s='Add to cart'}"><span></span>{l s='Add to cart'}</a>" - Unexpected "&"' in /home/exposecl/public_html/presta/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:627 Stack trace: #0 /home/exposecl/public_html/presta/tools/smarty/sysplugins/smarty_internal_templateparser.php(3154): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/exposecl/public_html/presta/tools/smarty/sysplugins/smarty_internal_templateparser.php(3219): Smarty_Internal_Templateparser->yy_ in /home/exposecl/public_html/presta/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 627 I have no idea what this means, i have searched the forums for related instances, found alot to do with syntax errors, but none to do with error within the template. Iv opened the mentioned product-list.tpl file, and cant find anything within, thats different to the file on my local server. Any assistance is greatly appreciated website is exposeclothing.com.au (...a working progress, please dont judge lol) Edited October 20, 2012 by exposeclothing (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted October 20, 2012 Share Posted October 20, 2012 seems like you forgot a } in some place. Check if you have all started { close with a } (this is the smarty code) 1 Link to comment Share on other sites More sharing options...
exposeclothing Posted October 20, 2012 Author Share Posted October 20, 2012 im such a fool, i had a proper look at the code, and noticed for some reason its re-directing to my desktop/a desktop file, so i just coppied the default templates part (within the error section) and it now works...ahh all this coding, it sure is easy to miss something so obvious. Im so sorry if i wasted your time. Link to comment Share on other sites More sharing options...
shacker Posted October 20, 2012 Share Posted October 20, 2012 im glad to help you. please change the post title to solved 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