Jump to content

Error


unet

Recommended Posts

Hello

I have prestashop version 1.7 and I just finished installing module G2A Pay (the module is not compatible with version 1.7).  I wanted to install another module and got the error "Oops! An Error Occurred

The server returned a "500 Internal Server Error".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.". Everytime I try to go to modules I get the same error.
Link to comment
Share on other sites

With a 500 error: always switch on the debug mode so that you see the real error:

https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/

 

In this case it might be that you didn't do enough uninstalling the G2A Pay module:

 - disabling is not enough. You should really uninstall it so that all files are removed. If for some reason that doesn't work you should delete its subdirectory under the modules directory.

 - one risk is that some override files stay behind after a troubled uninstall. In that case you should remove them manually.

Link to comment
Share on other sites

With a 500 error: always switch on the debug mode so that you see the real error:

https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/

 

In this case it might be that you didn't do enough uninstalling the G2A Pay module:

 - disabling is not enough. You should really uninstall it so that all files are removed. If for some reason that doesn't work you should delete its subdirectory under the modules directory.

 - one risk is that some override files stay behind after a troubled uninstall. In that case you should remove them manually.

Hello

Thanks for the help.  I didn't uninstall the module, it does not allow me to go to modules & services.  I changed to debug mode and I got the following message "

Attempted to load class "Phar" from the global namespace.

Did you forget a "use" statement?

500 Internal Server Error - ClassNotFoundException
 
Stack Trace
  1. in modules/payolution/vendor/httpful.phar at line 3  
    1. <?php
    2.     // Phar Stub File
    3.     Phar::mapPhar('httpful.phar');
    4.     include();
    5.     \Httpful\Bootstrap::pharInit();
    6. "

    And after that there is the logs with too many lines for me to post here. I don't know how to interpret this information.

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