spott Posted September 1, 2017 Share Posted September 1, 2017 (edited) 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 September 1, 2017 by spott (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted September 1, 2017 Share Posted September 1, 2017 If you'd post your erros formatted as code with <> button, it would be much more readable. And mailjet is a module always or very ofthen throwing errors. You must have installed it once at least. Otherwise these errors cannnot occure. Link to comment Share on other sites More sharing options...
spott Posted September 1, 2017 Author Share Posted September 1, 2017 Mailjet has installed some age ago - but now removed. But its seems, that something pointing still to this module Link to comment Share on other sites More sharing options...
Scully Posted September 1, 2017 Share Posted September 1, 2017 How exactely removed? There are several ways, some lead to errors like this. Link to comment Share on other sites More sharing options...
spott Posted September 1, 2017 Author Share Posted September 1, 2017 Removed as usual module removing process - under Modules page - Uninstalled (not disabled). Link to comment Share on other sites More sharing options...
Scully Posted September 1, 2017 Share Posted September 1, 2017 (edited) 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 September 1, 2017 by Scully (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted September 1, 2017 Share Posted September 1, 2017 Please check if you have folder /modules/mailjet Link to comment Share on other sites More sharing options...
spott Posted September 2, 2017 Author Share Posted September 2, 2017 (edited) Yes - it was - i deleted it now completely. I will check after several hours - are there still errors. Scully - Mysql result was 0 Edited September 2, 2017 by spott (see edit history) 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