blacksrv

Debug not working

Recommended Posts

I notice I can overwrite it in wire/config.php, but still not working, any ideas?

 

Thanks

Share this post


Link to post
Share on other sites

You should not overwrite this file. Instead, edit the config in site/config.php.

  • Like 2

Share this post


Link to post
Share on other sites
4 minutes ago, eelkenet said:

You should not overwrite this file. Instead, edit the config in site/config.php.

Yes I know, but it's not working, in both file I have 

$config->debug = true;

 

Share this post


Link to post
Share on other sites

Hmm, that is weird, in that case it is probably being reset somewhere. Have you tried doing a full search of your project's code for places where it might be overridden?

Maybe some module or template is accidentally setting it, instead of checking for the value.

Share this post


Link to post
Share on other sites

Probably obvious, but remember it is only enabled for superusers.

Scratch that 🙂

What exactly isn't working? Are you not getting detailed errors on the frontend, or does the backend not report debug mode on?

  • Like 1

Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.