XF 2.0 Can't get debug mode working to edit crons

djbaxter

in memoriam 1947-2022
On two other forums, I just added this to the end of the config.php file:

Code:
// need debug = true for editing some cron jobs and some other features
$config['debug'] = true;

and that would unlock debug mode.

I'm trying to do that on a third forum (new install) now but that isn't working.

Version is 2.0.12.

Here's the config.php file (with sensitive info blocked out of course):

Code:
<?php

$config['db']['host'] = 'localhost';
$config['db']['port'] = '3306';
$config['db']['username'] = 'xxxxxxxxxxx';
$config['db']['password'] = 'xxxxxxxxxxx';
$config['db']['dbname'] = 'xxxxxxxxxx';

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

// need debug = true for editing some cron jobs and some other features
$config['debug'] = true;

Why isn't this working?
 
No. It's on shared hosting. In the root folder is a Worpress site that uses a caching plugin but just in case I cleared that. The forum is in a subfolder /forum/. No caching used on the forum yet.
 
Yes you can. It works on two other XF2.0.12 forums if you enable debug mode.

FWIW I believe this will be reverted if you upgrade XenForo or the add-on that created this cron job, so enabling debug mode to edit them isn't really a viable long term solution. You'd probably be better off disabling the cron entry and creating a new one.

Fixed by @Jake B.

I think you've tagged the wrong person, I don't recall this :P
 
Back
Top Bottom