Jump to content
thirty bees forum

Recommended Posts

Posted (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 by netamismb
Posted

In order to debug the most of your shop you will always need to have installed this module:

image.png.c14bca1682a86ef2304089298379e126.png

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:

image.png.ed742c285685254e8b06ef6a8457ab24.png
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.

Posted

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.

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