Jump to content

Fatal Error Avalaratax


gambataronja

Recommended Posts

Buenos días, al instalar el módulo de Avalaratax que nos ofrece gratuitamente prestashop se me cayó toda mi web, tanto el front office como el back office y aparecía en la pantalla lo siguiente: 

 

[PrestaShop] Fatal error in module avalaratax:

Parse error: syntax error, unexpected ''customer_tax_address_id'' (T_CONSTANT_ENCAPSED_STRING) in/var/www/vhost/gambataronja/httpdocs/modules/avalaratax.php on line 589

 

Encontré ayuda en el foro en este enlace:

 

https://www.prestashop.com/forums/topic/504217-fatal-error-in-module-avalaratax/

 

y borré el módulo como decían. Conseguí recuperar el back office pero la web da el siguiente error:

 

Warning: include_once(/var/www/vhosts/gambataronja.com/httpdocs/modules/avalaratax/avalaratax.php): failed to open stream: No such file or directory in/var/www/vhosts/gambataronja.com/httpdocs/override/classes/Cart.php on line 94

Warning: include_once(): Failed opening '/var/www/vhosts/gambataronja.com/httpdocs/modules/avalaratax/avalaratax.php' for inclusion (include_path='/var/www/vhosts/gambataronja.com/httpdocs/tools/htmlpurifier/standalone:.:/usr/share/pear:/usr/share/php') in /var/www/vhosts/gambataronja.com/httpdocs/override/classes/Cart.php on line 94

Fatal error: Class 'AvalaraTax' not found in /var/www/vhosts/gambataronja.com/httpdocs/override/classes/Cart.php on line 96

 

 

En un ordenador nuevo aparece aparentemente normal pero si intentas poner un producto a la cesta te aparece este mensaje.

Por favor, si alguien supiera darme una solución estaría muy agradecido.

 

Link to comment
Share on other sites

It looks like you may be using a version of PHP that is older than 5.5.x.  If that's the case, you'll either need to update PHP to 5.5.x or following this procedure:

 
 
Also, be sure to check out the README once you update to make sure your Avatax module setup is correct:
 
 
And, please make sure you backup your store before making ANY updates, and preferably make all updates on a staging server prior to doing so on a live server
 
Good luck!
  • Like 1
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...