Wiki ⇒ Tips and Tricks ⇒ Enabling Debugging when you can't get to admin ⇒ CPG Dragonfly™ CMS
WikiTips and Tricks ⇒ Enabling Debugging when you can't get to admin

10. 3: Enabling Debugging when you can't get to admin Parent


Normally you can enable debugging by going to admin.php?op=settings&s=8

This is very handy when you have an issue because information is passed to your footer where you can learn more about the issue.

If you can't get to the admin page, you can still enable debugging. Go to phpmyadmin or MySQL admin and run these queries:

UPDATE `cms_config_custom` SET `cfg_value` = '1546' WHERE cfg_name = 'debug' AND cfg_field = 'error_level' LIMIT 1;
UPDATE `cms_config_custom` SET `cfg_value` = '1' WHERE cfg_name = 'debug' AND cfg_field = 'database' LIMIT 1;
UPDATE `cms_config_custom` SET `cfg_value` = '1' WHERE cfg_name = 'debug' AND cfg_field = 'session' LIMIT 1;


Created: Saturday, November 19, 2005 (00:01:41) by akamu
Updated: Tuesday, September 25, 2007 (03:42:46) by LilDevil