Jump to content

Error fatal


Recommended Posts

Hello. when a customer try to do a purchase appears "error fatal" ending the buying process and don't take the order

i check the error log:

[Thu Jan 24 06:00:03 2019] [error] PHP Parse error:  syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST) in /var/www/vhosts/41/2157566/webspace/siteapps/Prestashop-5235614/htdocs/override/classes/Customer.php on line 6
[Thu Jan 24 08:10:49 2019] [error] PHP Parse error:  syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST) in /var/www/vhosts/41/2157566/webspace/siteapps/Prestashop-5235614/htdocs/override/classes/Customer.php on line 6
[Thu Jan 24 09:17:39 2019] [error] PHP Parse error:  syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST) in /var/www/vhosts/41/2157566/webspace/siteapps/Prestashop-5235614/htdocs/override/classes/Customer.php on line 6
[Thu Jan 24 09:18:14 2019] [error] PHP Parse error:  syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST) in /var/www/vhosts/41/2157566/webspace/siteapps/Prestashop-5235614/htdocs/override/classes/Customer.php on line 6
[Thu Jan 24 09:55:01 2019] [error] PHP Parse error:  syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST) in /var/www/vhosts/41/2157566/webspace/siteapps/Prestashop-5235614/htdocs/override/classes/Customer.php on line 6
[Thu Jan 24 09:55:01 2019] [error] PHP Parse error:  syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST) in /var/www/vhosts/41/2157566/webspace/siteapps/Prestashop-5235614/htdocs/override/classes/Customer.php on line 6
[Thu Jan 24 10:06:33 2019] [error] [client 188.165.122.183] cgid daemon is gone; is Apache terminating?: /opt/alt/php71/usr/bin/php-cgi
[Thu Jan 24 10:51:51 2019] [error] PHP Notice:  Undefined index: connected_site in /var/www/vhosts/41/2157566/webspace/siteapps/Prestashop-5235614/htdocs/modules/mailchimpintegration/mailchimpintegration.php on line 121
[Thu Jan 24 13:57:33 2019] [error] PHP Notice:  Undefined index: connected_site in /var/www/vhosts/41/2157566/webspace/siteapps/Prestashop-5235614/htdocs/modules/mailchimpintegration/mailchimpintegration.php on line 121
[Thu Jan 24 20:39:34 2019] [error] [client 137.101.121.154] cgid daemon is gone; is Apache terminating?: /opt/alt/php71/usr/bin/php-cgi, referer: http://xxx.cm
[Thu Jan 24 20:41:03 2019] [error] [client 137.101.121.154] cgid daemon is gone; is Apache terminating?: /opt/alt/php71/usr/bin/php-cgi, referer: http://xxx.com
i dont undertand any of this, the 2 last sntences are for other web i have got without prolems...

Finally i desinstall the mailchimp

i also checked the "customer.php" is right but i tried to desinstall from backoffice and it is imposible (this module had problems in the pass, when i restart th module the web is out, dont run)(i check this document before start backup and was incomplete, onl had 6 lines)

<?php class Customer extends CustomerCore { /*
    * module: esp_recargo_equivalencia
    * date: 2018-11-04 22:57:40
    * version: 1.1.8
    */
    public $_recargo = false; /*
    * module: esp_recargo_equivalencia
    * date: 2018-11-04 22:57:40
    * version: 1.1.8
    */
    public function __construct($_af006a85145462251edce7f40f325a6f = null, $_997c08656440d07e98e37fea4c2b0762 = null, $_28eae75b39eb20ce0243114cc572826f = null) { parent::__construct($_af006a85145462251edce7f40f325a6f, $_997c08656440d07e98e37fea4c2b0762, $_28eae75b39eb20ce0243114cc572826f); require_once _PS_MODULE_DIR_ . 'esp_recargo_equivalencia/esp_recargo_equivalencia.php'; if (Esp_recargo_equivalencia::compruebaRecargo()) { if (!is_null($_af006a85145462251edce7f40f325a6f) & !empty($_af006a85145462251edce7f40f325a6f)) { $this->_recargo = (Db::getInstance()->getValue('SELECT count(*) existe FROM ' . _DB_PREFIX_ . 'esp_recargo_equivalencia_customers WHERE id_customer =' . $_af006a85145462251edce7f40f325a6f) > 0); } } } /*
    * module: esp_recargo_equivalencia
    * date: 2018-11-04 22:57:40
    * version: 1.1.8
    */
    public function add($_f70846ae47d3b121308df96fc867c710 = true, $_06ca87dc41f8ec93b11412a2ef8d180d = true) { $_86b3f6aadcd0f35e8e5da7684b74c6b6 = parent::add($_f70846ae47d3b121308df96fc867c710, $_06ca87dc41f8ec93b11412a2ef8d180d); if ($_86b3f6aadcd0f35e8e5da7684b74c6b6 === true) { $this->_recargo = (bool) $this->_recargo; if ($this->_recargo === true) { Db::getInstance()->Execute('INSERT INTO ' . _DB_PREFIX_ . 'esp_recargo_equivalencia_customers(id_customer) VALUES(' . $this->id . ')'); } } return $_86b3f6aadcd0f35e8e5da7684b74c6b6; } /*
    * module: esp_recargo_equivalencia
    * date: 2018-11-04 22:57:40
    * version: 1.1.8
    */
    public function update($_2f7596d9357acea70578412df86b703b = false) { $_86b3f6aadcd0f35e8e5da7684b74c6b6 = parent::update(true); if ($_86b3f6aadcd0f35e8e5da7684b74c6b6 === true) { $this->_recargo = (bool) $this->_recargo; if ($this->_recargo === false) { Db::getInstance()->Execute('DELETE FROM ' . _DB_PREFIX_ . 'esp_recargo_equivalencia_customers WHERE id_customer = ' . $this->id); } else { Db::getInstance()->Execute('REPLACE INTO ' . _DB_PREFIX_ . 'esp_recargo_equivalencia_customers SET id_customer = ' . $this->id); } } return $_86b3f6aadcd0f35e8e5da7684b74c6b6; } /*
    * module: esp_recargo_equivalencia
    * date: 2018-11-04 22:57:40
    * version: 1.1.8
    */
    public function delete() { Db::getInstance()->Execute('DELETE FROM ' . _DB_PREFIX_ . 'esp_recargo_equivalencia_customers WHERE id_customer = ' . $this->id); return parent::delete(); ; } } 

_20190124_210236.JPG

Link to comment
Share on other sites

  • 2 weeks later...

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...