unet Posted June 28, 2017 Share Posted June 28, 2017 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 More sharing options...
musicmaster Posted June 28, 2017 Share Posted June 28, 2017 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 More sharing options...
NemoPS Posted June 28, 2017 Share Posted June 28, 2017 Can you enable dev mode and access the page again? config/defines.inc.php, set PS_MODE_DEV to true Link to comment Share on other sites More sharing options...
unet Posted June 28, 2017 Author Share Posted June 28, 2017 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 Tracein modules/payolution/vendor/httpful.phar at line 3 <?php // Phar Stub File Phar::mapPhar('httpful.phar'); include(); \Httpful\Bootstrap::pharInit(); " 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 More sharing options...
unet Posted June 28, 2017 Author Share Posted June 28, 2017 Can you enable dev mode and access the page again? config/defines.inc.php, set PS_MODE_DEV to true Hello Thank you for your help. It is already set to true. Link to comment Share on other sites More sharing options...
musicmaster Posted June 28, 2017 Share Posted June 28, 2017 Is Payolution G2A or is it another module? Link to comment Share on other sites More sharing options...
unet Posted June 28, 2017 Author Share Posted June 28, 2017 Is Payolution G2A or is it another module? Hello Thank you for your help. I decided to reinstall prestashop and problem solve. 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