netamismb Posted January 2 Posted January 2 (edited) In BO, when I want to visualise an order, I get a 500 error. Is there a way to debug this? I have tried with the debug on, but it didn't show anything. It happens suddenly... In console I get 2 errors: Uncaught SyntaxError: Invalid or unexpected token index.php:117 Failed to load index.php:1 resource: the server responded with a status of 500 () Edited January 2 by netamismb
the.rampage.rado Posted January 2 Posted January 2 In order to debug the most of your shop you will always need to have installed this module: It collects and displays in a userfriendly manner nearly all errors (notices and warnings also, depending of it's configuration) and you will have a handy tool to debug and fix most of your issues. If it shows nothing next time when you encounter this issue it might be helpful to turn (temporarily!!!) the debug mode: Advanced->Performance and turn ON 'Debug Mode' and you can have 'Display deprecation warnings' always ON. Then go to your problematic page and it should show vital error information. (which should also be populated in your error_log in your root folder (accessible by ftp)). Most probably you have some module that hooks in there and is not compatible with your current php version.
netamismb Posted January 2 Author Posted January 2 thanks a lot for this. The issue was with a postal code being wrong hence the module for dealing with the delivery threw an error. I wouldn't have managed to figure it out without Collect PHP Logs.
the.rampage.rado Posted January 2 Posted January 2 You should keep it installed and monitor from time to time. You will find interesting information that otherwise gets missed. 1
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