4
lol, you got my hopes up... here I was thinking someone was going to help me solve this problem. But I appreciate the bump, means I dont have to do it...
But, here is another update.
So I found where that _MI_DEBUG_MODE mode was coming from. When looking for config options, recovery.php looks for anything with the following key:
array('debug_mode', 'theme_set', 'theme_set_admin', 'enable_badips', 'template_set', 'session_expire');
The problem is, debug_mode is defined for conf_modid 1 (system), but it is also defined for conf_modid 10 (private messaging). I dont know enough about this code to add into the Criteria() to check for only conf_modid 1, so instead I did a really ugly work around by renaming the debug_mode defined for private messaging to debug_mode1 for now. I know it is an ugly fix, but once I get my site working, I will go back and change it back.
Perhaps someone with some more skill than me can go through and figure out a way to set it up so that recovery.php will only get config options for system stuff and ignore other mods?
And... now back to my original problem (
see here) where you will find an update on the problem that lead me into this downward spiral of despair and hatred of all things php.