kkoci Posted December 8, 2013 Share Posted December 8, 2013 (edited) I'm facing an issue with my PS webstore. When i'm buying a product, fill the shipping address then click next for the next step is giving me a blank page, and i don't know where to activavte the debug mode. This is the complete url: http://www.taxco.com.ve/index.php?controller=order&step=1 In that step 1 it just turns out to be a blank page, no error, no warnings, i know i can set the errors to actually show up : _PS_MODE_DEV_ but don't know where in this case. I'm using PS 1.5.6.0 btw. Any clues about this? Thanks in advance! Edited December 19, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 8, 2013 Share Posted December 8, 2013 open config/defines.inc.php find this line define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); then you will see error messages Link to comment Share on other sites More sharing options...
kkoci Posted December 10, 2013 Author Share Posted December 10, 2013 Thank you so much! Yes i indeed saw them, i'll open a new topic for them, thank you! Link to comment Share on other sites More sharing options...
vekia Posted December 10, 2013 Share Posted December 10, 2013 well, if errors are related to this case - you don't have to open new topics Link to comment Share on other sites More sharing options...
kkoci Posted December 10, 2013 Author Share Posted December 10, 2013 Thanks vekia, you awesome as always... This is the error i'm getting Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/vhosts/taxco.com.ve/httpdocs/themes/taxco/order-address.tpl" on line 88 "{if !$smarty.foreach.inv_loop.first},{/if}{$field_name|json_encode}" unknown modifier "json_encode"' in /var/www/vhosts/taxco.com.ve/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /var/www/vhosts/taxco.com.ve/httpdocs/tools/smarty/sysplugins/smarty_internal_compile_private_modifier.php(132): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown modifie...', 88) #1 /var/www/vhosts/taxco.com.ve/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(475): Smarty_Internal_Compile_Private_Modifier->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #2 /var/www/vhosts/taxco.com.ve/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(259): Smarty_Internal_TemplateCompilerBase->callTagCompil in /var/www/vhosts/taxco.com.ve/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667 at http://www.taxco.com.ve/index.php?controller=order&step=1 Any ideas? Link to comment Share on other sites More sharing options...
vekia Posted December 10, 2013 Share Posted December 10, 2013 it looks like you've got parse error in your template. check order-address.tpl file, line 88 Link to comment Share on other sites More sharing options...
kkoci Posted December 10, 2013 Author Share Posted December 10, 2013 Yes, but why? This is the code: {foreach from=$formatedAddressFieldsValuesList key=id_address item=type} formatedAddressFieldsValuesList[{$id_address}] = {ldelim} 'ordered_fields':[ {foreach from=$type.ordered_fields key=num_field item=field_name name=inv_loop} {if !$smarty.foreach.inv_loop.first},{/if}{$field_name|json_encode} {/foreach} ], 'formated_fields_values':{ldelim} {foreach from=$type.formated_fields_values key=pattern_name item=field_name name=inv_loop} {if !$smarty.foreach.inv_loop.first},{/if}{$pattern_name|json_encode}:{$field_name|json_encode} {/foreach} {rdelim} {rdelim} {/foreach} Can't figure it out? Link to comment Share on other sites More sharing options...
vekia Posted December 11, 2013 Share Posted December 11, 2013 what charset this file uses? utf-8 ? Link to comment Share on other sites More sharing options...
kkoci Posted December 11, 2013 Author Share Posted December 11, 2013 UTF - 8 and permission 644 Link to comment Share on other sites More sharing options...
kkoci Posted December 19, 2013 Author Share Posted December 19, 2013 Vekia, solved it following this thread: http://www.prestashop.com/forums/topic/282637-solucionado-pedido-5-pasos-o-r%C3%A1pido-con-pantalla-en-blanco/ Thank you very much! Link to comment Share on other sites More sharing options...
vekia Posted December 19, 2013 Share Posted December 19, 2013 thank you for information about solution very nice i marked topic as [solved] and your answer as a solution with regards, Milos 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