gambataronja Posted February 8, 2016 Share Posted February 8, 2016 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 94Warning: 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 94Fatal 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 More sharing options...
nurelm Posted February 9, 2016 Share Posted February 9, 2016 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: https://github.com/nurelm/prestashop-avalaratax/wiki/Issues-with-PHP-5.4.x-and-Module-Version-3.5.6 Also, be sure to check out the README once you update to make sure your Avatax module setup is correct: https://github.com/nurelm/prestashop-avalaratax/tree/v3.5.7 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! 1 Link to comment Share on other sites More sharing options...
gambataronja Posted February 11, 2016 Author Share Posted February 11, 2016 Thank you very much. I will try to do what you say with the help of a programmer. 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