Aagje Vanden Bussche Posted December 14, 2012 Share Posted December 14, 2012 Everytime a customer wants to change his/her address, he/she arrives at a blank page. The customer can't change their address, any ideas to solve this? The same thing happens when the customer wants to ADD an address. So both changing and adding is impossible. 1 Link to comment Share on other sites More sharing options...
El Patron Posted December 14, 2012 Share Posted December 14, 2012 modify config/config.inc.php set errors on @ini_set('display_errors', 'on'); this will tell you why you are getting a blank page.... Link to comment Share on other sites More sharing options...
masowski Posted December 21, 2012 Share Posted December 21, 2012 (edited) Hello, I have problem with updating address in prestashop 1.5.2 When customer want's to update their address they gets a form with empty fields and it's look like prestashop wants to create new address but after filling with new data and submitting it's replacing the old one. I get no errors when set in config.inc @ini_set('display_errors', 'on'); define('_PS_DEBUG_SQL_', true); Update link looks normal to me: http://domainname.co...s?id_address=15 Any suggestions? Edited December 21, 2012 by masowski (see edit history) Link to comment Share on other sites More sharing options...
germinc Posted June 3, 2013 Share Posted June 3, 2013 Hi guys! I did the step given by eTiendas and added @ini_set('display_errors', 'on'); to my config.inc.php file. This is the message I got. Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home4/jeremyk5/public_html/movementfirst/themes/autumn/address.tpl" on line 195 "{if $stateExist eq "false"}" unclosed {if} tag' in /home4/jeremyk5/public_html/movementfirst/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:665 Stack trace: #0 /home4/jeremyk5/public_html/movementfirst/tools/smarty/sysplugins/smarty_internal_compilebase.php(166): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unclosed {if} t...') #1 /home4/jeremyk5/public_html/movementfirst/tools/smarty/sysplugins/smarty_internal_compile_foreach.php(224): Smarty_Internal_CompileBase->closeTag(Object(Smarty_Internal_SmartyTemplateCompiler), Array) #2 /home4/jeremyk5/public_html/movementfirst/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(473): Smarty_Internal_Compile_Foreachclose->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #3 /home4/jer in /home4/jeremyk5/public_html/movementfirst/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 665 Any suggestions? Link to comment Share on other sites More sharing options...
adiaz Posted June 27, 2013 Share Posted June 27, 2013 You have the key in "unclosed {if} tag". You have to close it somewhere with {/if} Link to comment Share on other sites More sharing options...
PascalVG Posted June 27, 2013 Share Posted June 27, 2013 Hello Aagje, Do you use the default theme or another one? There's an error in a file, that causes this error message. Can be a forgotten {/if} as Adiaz mentioned, or maybe a string just before the {/if} tag that isn't closed properly, so that it includes the {/if} tag as part of the string instead of as a proper tag. Can you copy the code that is mentioned in the error (/home4/jeremyk5/public_html/movementfirst/themes/autumn/address.tpl), starting at line 195, and copy the lines below this point until any {/if} that looks like it should/could be the closing tag of the begin {if} on line 195? My 2 cents, pascal Link to comment Share on other sites More sharing options...
Recommended Posts