Jump to content

Undefined variable: productNumber en PS 1.4.8


Recommended Posts

Hola..

trabajo con PS 1.4.8 y en el proceso de la compra ( en el pago ), me salen estos errores:

 

Notice: Undefined variable: productNumber in/var/www/vhosts/miweb.com/httpdocs/tools/smarty/sysplugins/smarty_internal_data.php on line 291

Notice: Undefined variable: productNumber in/var/www/vhosts/miweb.com/httpdocs/tools/smarty/sysplugins/smarty_internal_data.php on line 291
productos

 

Notice: Undefined variable: shippingCost in/var/www/vhosts/miweb.com/httpdocs/tools/smarty/sysplugins/smarty_internal_data.php on line 291

style="display:none;">

 

Notice: Undefined variable: HOOK_SHOPPING_CART in/var/www/vhosts/miweb.com/httpdocs/tools/smarty/sysplugins/smarty_internal_data.php on line 291

 

Notice: Undefined variable: shippingCost in/var/www/vhosts/miweb.com/httpdocs/tools/smarty/sysplugins/smarty_internal_data.php on line 291
style="display:none;">

 

si que deja realizar la compra pero no es nada bonito ver errores de código

 

algun idea de porque ?? o como solucionarlo ??

 

gracias

Edited by jonysi_d (see edit history)
Link to comment
Share on other sites

Creo que hay muchos Avisos PHP unresoved en PS 1.4. Establecimiento de un nivel de reporte de errores menores - Warning or Errors - en php.ini.

 

I think there are many unresoved PHP Notices in PS 1.4. Set a lower error reporting level - Warning or Errors - in php.ini.

Link to comment
Share on other sites

Esas notificaciones pueden deberse a imcompatibilidades de tu version con modulos o plantillas, puedes ocultarlo desactivando el modo de errores  si estas en versiones 1.4 desde el archivo

config/config.inc.php

poniendo en off esta opcion

@ini_set('display_errors', 'on');
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...