ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Template debugging will not turn on

July 02, 2012 2:49pm

Subscribe [2]
  • #1 / Jul 02, 2012 2:49pm

    hwalker

    17 posts

    Hello,

    We’re running EE 2.4.0 and we’ve been unable to turn on template debugging in the control panel. After checking Yes on Display Template Debugging? and clicking submit, it reverts back to No.

    I’ve checked config.php and debug is set to 1. Index.php also has the debug overide set to 1. I’m not sure if it matters, but I checked in php.ini and display_errors is also set to 1.

    The site is hosted by MediaTemple. We’re using Beanstalk to manage a Git deployment.

    Has anyone else encountered this kind of trouble turning on template debugging?

    Any suggestions would be greatly appreciated!

  • #2 / Jul 03, 2012 3:03pm

    Dan Decker

    7338 posts

    Hi hwalker,

    Double check in /system/expressionengine/config/config.php that you have not hard coded:

    $config['template_debugging'] = n;

    Generally, if an option can’t be changed in the Control Panel it’s because it’s been set explicitly in config.php

    Cheers,

  • #3 / Jul 03, 2012 3:18pm

    hwalker

    17 posts

    Hi Dan,

    Here’s what we have in config.php:

    $config['debug'] = '1';

    From index.php:

    $debug = 1;

    From what I know, this should enable template debugging. Any other suggestions on where to look?

    Thanks!

  • #4 / Jul 05, 2012 2:43pm

    Shane Eckert

    7174 posts

    Hey hwalker,

    That should do it. Very confusing.

    Can you unset those in the flat files and then see of using just the Control Panel to enable works?

    Thank you,

  • #5 / Jul 05, 2012 5:43pm

    hwalker

    17 posts

    Hi Shane,

    We figured it out. We’re using Focus Lab’s master config and didn’t realize that file (config.env.php) was overriding the files in the EE system directory as well as the Control Panel setting.

    Thanks for your help!

  • #6 / Jul 05, 2012 5:46pm

    Shane Eckert

    7174 posts

    Hey hwalker,

    Glad to hear things are working now!

    Nice job using Master Config. Great set up.

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases