Jump to content

Recommended Posts

Hello everyone!

 

I have an issue trying to work with some options from back-office menu ("Modules" and "Payments" from Modules menu). Everytime I select any of them, after some minutes I get this message: 

 

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

 

More information about this error may be available in the server error log.

 

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

 

 

Then I looked at my error_log file and found this:

 

  • [10-Mar-2017 22:34:41 UTC] PHP Warning:  require_once(/home/globalmx/public_html/petroleum/tools/htmlpurifier/HTMLPurifier.standalone.php): failed to open stream: No such file or directory in /home/globalmx/public_html/petroleum/config/config.inc.php on line 122
  • [10-Mar-2017 22:34:41 UTC] PHP Fatal error:  require_once(): Failed opening required '/home/globalmx/public_html/petroleum/tools/htmlpurifier/HTMLPurifier.standalone.php' (include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/globalmx/public_html/petroleum/config/config.inc.php on line 122
  • [14-Mar-2017 12:46:15 America/Mexico_City] PHP Parse error:  syntax error, unexpected 'class' (T_CLASS) in /home/globalmx/public_html/petroleum/modules/fianetfraud/lib/kernel/CertissimXMLElement.class.php on line 1
  • [23-Mar-2017 09:40:50 America/Mexico_City] PHP Parse error:  syntax error, unexpected 'class' (T_CLASS) in /home/globalmx/public_html/petroleum/modules/fianetfraud/lib/kernel/CertissimXMLElement.class.php on line 1
  • [23-Mar-2017 10:18:32 America/Mexico_City] PHP Warning:  include_once(/home/globalmx/public_html/petroleum/tools/swift/Swift.php): failed to open stream: No such file or directory in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 40
  • [23-Mar-2017 10:18:32 America/Mexico_City] PHP Warning:  include_once(): Failed opening '/home/globalmx/public_html/petroleum/tools/swift/Swift.php' for inclusion (include_path='/home/globalmx/public_html/petroleum/tools/htmlpurifier/standalone:.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 40
  • [23-Mar-2017 10:18:32 America/Mexico_City] PHP Warning:  include_once(/home/globalmx/public_html/petroleum/tools/swift/Swift/Connection/SMTP.php): failed to open stream: No such file or directory in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 41
  • [23-Mar-2017 10:18:32 America/Mexico_City] PHP Warning:  include_once(): Failed opening '/home/globalmx/public_html/petroleum/tools/swift/Swift/Connection/SMTP.php' for inclusion (include_path='/home/globalmx/public_html/petroleum/tools/htmlpurifier/standalone:.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 41
  • [23-Mar-2017 11:45:10 America/Mexico_City] PHP Warning:  include_once(/home/globalmx/public_html/petroleum/tools/swift/Swift.php): failed to open stream: No such file or directory in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 40
  • [23-Mar-2017 11:45:10 America/Mexico_City] PHP Warning:  include_once(): Failed opening '/home/globalmx/public_html/petroleum/tools/swift/Swift.php' for inclusion (include_path='/home/globalmx/public_html/petroleum/tools/htmlpurifier/standalone:.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 40
  • [23-Mar-2017 11:45:10 America/Mexico_City] PHP Warning:  include_once(/home/globalmx/public_html/petroleum/tools/swift/Swift/Connection/SMTP.php): failed to open stream: No such file or directory in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 41
  • [23-Mar-2017 11:45:10 America/Mexico_City] PHP Warning:  include_once(): Failed opening '/home/globalmx/public_html/petroleum/tools/swift/Swift/Connection/SMTP.php' for inclusion (include_path='/home/globalmx/public_html/petroleum/tools/htmlpurifier/standalone:.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 41

 

How is this happening? Our site is hosted by GoDaddy and we recently discovered that site's folder almost reached the file usage, then we deleted LOTS of files from server but still no response with both options, store is working fine but doesn't show any payment method, I believe this issues are related but can't find any solution. 
 
Thanks in advance!
Edited by am1290 (see edit history)
Link to comment
Share on other sites

 

Hi, 

Did you enable error reporting ?

You can do it from  the folder  config/defines.inc.php

 

change false to true:

/* Debug only */
define('_PS_MODE_DEV_', true);

 

Hi, ndiaga. Thanks for your time! 

 

I just changed it and still having no answer, error_log file remains the same.

Link to comment
Share on other sites

You don't see any other errors?

In front or BO?

 

Either maintenance mode or active, front is fine. BO is fine but error 500 only appears by selecting Modules or Payment options from menu. Prestashop was updated a few hours ago.

Link to comment
Share on other sites

It seems that this file is missing : tools/htmlpurifier/HTMLPurifier.standalone.php and some other files

if you can upload it again.

And try empty the cache also.

 

Files uploaded, cache empty, still no response.

Link to comment
Share on other sites

These 2 errors in your original error log seem to be the culprit?  This is the fianetfraud module, have you tried to remove/disable it?

  • [14-Mar-2017 12:46:15 America/Mexico_City] PHP Parse error:  syntax error, unexpected 'class' (T_CLASS) in /home/globalmx/public_html/petroleum/modules/fianetfraud/lib/kernel/CertissimXMLElement.class.php on line 1
  • [23-Mar-2017 09:40:50 America/Mexico_City] PHP Parse error:  syntax error, unexpected 'class' (T_CLASS) in /home/globalmx/public_html/petroleum/modules/fianetfraud/lib/kernel/CertissimXMLElement.class.php on line 1
Link to comment
Share on other sites

 

These 2 errors in your original error log seem to be the culprit?  This is the fianetfraud module, have you tried to remove/disable it?

  • [14-Mar-2017 12:46:15 America/Mexico_City] PHP Parse error:  syntax error, unexpected 'class' (T_CLASS) in /home/globalmx/public_html/petroleum/modules/fianetfraud/lib/kernel/CertissimXMLElement.class.php on line 1
  • [23-Mar-2017 09:40:50 America/Mexico_City] PHP Parse error:  syntax error, unexpected 'class' (T_CLASS) in /home/globalmx/public_html/petroleum/modules/fianetfraud/lib/kernel/CertissimXMLElement.class.php on line 1

 

 

Hi bellini13 and thank you so much for you time! 

 

I've already removed fianetfraud from server and still no response. Error log remains the same, there are no new issues. 

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