Jump to content

Prestashop generating lot of errors to error log


spott

Recommended Posts

Hi

I today looked to my server error_log and what I discovered, that Prestashop generates lot of errors. Example:

[Fri Sep 01 15:51:53.142312 2017] [fcgid:warn] [pid 50662] [client 90.190.182.233:46594] mod_fcgid: stderr: PHP Warning:  include_once(): Failed opening '/www/apache/domains/www.domain.com/htdocs/tools/swift/Swift/Connection/SMTP.php' for inclusion (include_path='.:/usr/local/php56/share/pear') in /www/apache/domains/www.domain.com/htdocs/modules/mailjet/mailjet.php on line 41, referer: https://domain.com/admin9655/index.php?controller=AdminModules&token=1ec2f190c2c70e12f7e80f103a350f3a
[Fri Sep 01 15:58:00.338165 2017] [fcgid:warn] [pid 50969] [client 90.190.182.233:46814] mod_fcgid: stderr: PHP Warning:  include_once(/www/apache/domains/www.domain.com/htdocs/tools/swift/Swift.php): failed to open stream: No such file or directory in /www/apache/domains/www.domain.com/htdocs/modules/mailjet/mailjet.php on line 40, referer: https://domain.com/admin9655/index.php?controller=AdminModules&configure=iqitcontentcreator&tab_module=front_office_features&module_name=iqitcontentcreator&token=1ec2f190c2c70e12f7e80f103a350f3a
[Fri Sep 01 15:58:00.338210 2017] [fcgid:warn] [pid 50969] [client 90.190.182.233:46814] mod_fcgid: stderr: PHP Warning:  include_once(): Failed opening '/www/apache/domains/www.domain.com/htdocs/tools/swift/Swift.php' for inclusion (include_path='.:/usr/local/php56/share/pear') in /www/apache/domains/www.domain.com/htdocs/modules/mailjet/mailjet.php on line 40, referer: https://domain.com/admin9655/index.php?controller=AdminModules&configure=iqitcontentcreator&tab_module=front_office_features&module_name=iqitcontentcreator&token=1ec2f190c2c70e12f7e80f103a350f3a
[Fri Sep 01 15:58:00.338216 2017] [fcgid:warn] [pid 50969] [client 90.190.182.233:46814] mod_fcgid: stderr: PHP Warning:  include_once(/www/apache/domains/www.domain.com/htdocs/tools/swift/Swift/Connection/SMTP.php): failed to open stream: No such file or directory in /www/apache/domains/www.domain.com/htdocs/modules/mailjet/mailjet.php on line 41, referer: https://domain.com/admin9655/index.php?controller=AdminModules&configure=iqitcontentcreator&tab_module=front_office_features&module_name=iqitcontentcreator&token=1ec2f190c2c70e12f7e80f103a350f3a
[Fri Sep 01 15:58:00.338222 2017] [fcgid:warn] [pid 50969] [client 90.190.182.233:46814] mod_fcgid: stderr: PHP Warning:  include_once(): Failed opening '/www/apache/domains/www.domain.com/htdocs/tools/swift/Swift/Connection/SMTP.php' for inclusion (include_path='.:/usr/local/php56/share/pear') in /www/apache/domains/www.domain.com/htdocs/modules/mailjet/mailjet.php on line 41, referer: https://domain.com/admin9655/index.php?controller=AdminModules&configure=iqitcontentcreator&tab_module=front_office_features&module_name=iqitcontentcreator&token=1ec2f190c2c70e12f7e80f103a350f3a
[Fri Sep 01 15:58:17.139739 2017] [fcgid:warn] [pid 50969] [client 90.190.182.233:46814] mod_fcgid: stderr: PHP Warning:  include_once(/www/apache/domains/www.domain.com/htdocs/tools/swift/Swift.php): failed to open stream: No such file or directory in /www/apache/domains/www.domain.com/htdocs/modules/mailjet/mailjet.php on line 40, referer: https://domain.com/admin9655/index.php?controller=AdminModules&token=1ec2f190c2c70e12f7e80f103a350f3a
[Fri Sep 01 15:58:17.139771 2017] [fcgid:warn] [pid 50969] [client 90.190.182.233:46814] mod_fcgid: stderr: PHP Warning:  include_once(): Failed opening '/www/apache/domains/www.domain.com/htdocs/tools/swift/Swift.php' for inclusion (include_path='.:/usr/local/php56/share/pear') in /www/apache/domains/www.domain.com/htdocs/modules/mailjet/mailjet.php on line 40, referer: https://domain.com/admin9655/index.php?controller=AdminModules&token=1ec2f190c2c70e12f7e80f103a350f3a
[Fri Sep 01 15:58:17.139781 2017] [fcgid:warn] [pid 50969] [client 90.190.182.233:46814] mod_fcgid: stderr: PHP Warning:  include_once(/www/apache/domains/www.domain.com/htdocs/tools/swift/Swift/Connection/SMTP.php): failed to open stream: No such file or directory in /www/apache/domains/www.domain.com/htdocs/modules/mailjet/mailjet.php on line 41, referer: https://domain.com/admin9655/index.php?controller=AdminModules&token=1ec2f190c2c70e12f7e80f103a350f3a
[Fri Sep 01 15:58:17.139790 2017] [fcgid:warn] [pid 50969] [client 90.190.182.233:46814] mod_fcgid: stderr: PHP Warning:  include_once(): Failed opening '/www/apache/domains/www.domain.com/htdocs/tools/swift/Swift/Connection/SMTP.php' for inclusion (include_path='.:/usr/local/php56/share/pear') in /www/apache/domains/www.domain.com/htdocs/modules/mailjet/mailjet.php on line 41, referer: https://domain.com/admin9655/index.php?controller=AdminModules&token=1ec2f190c2c70e12f7e80f103a350f3a

Problem - I am not using and I don't have installed mailjet module. And also this folder and file Swift/Connection/SMTP.php - this is missing in tools/swift/. PrestaShop is 1.6.1.6 but its upgraded several times from PS 0.9 versions.

 

How I can get ride of these errors?

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

If this is guaranteed, then the module not only throws many errors but it also has no correctly working unistall function.
I recently saw a german shop installation where this module filled appx. 98% of the error logfile. What a CRAP!
 
The fact that these messages still occure simply means there is code from that module triggered somewhere.
Can you run this query please and post the result:

SELECT * FROM `ps_module` WHERE name like '%mailjet%' ORDER BY `id_module`  ASC ;

If no records are found, I would tend to say its safe to delete the entire module.

Report back.

Edited by Scully (see edit history)
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...