[Maia-users] Bad debug popups, "system config" errors

David Morton mortonda at dgrmm.net
Sun Jul 23 05:17:36 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Parish wrote:
> Any way to turn off the debug window in 1016? Other than the W/B and the 
> admin menu, the system is working great.

There's 2 different popups that may be activating.  If you don't mind some code
editing, here's a quick and dirty way to remove them both.

The old one that I removed needs to be removed from the templates.  Look at
https://secure.renaissoft.com/maia/changeset/1072 for the html_head.tpl changes.
It's basically removing the onload stuff from the body tag.

The second, newer form is located in maia_log.php...
Comment out 2 lines by adding  a "//" to the front of the line:

$debugwindow = &Log::singleton('win', 'MaiaErrors', 'maia', array('title' =>
'Maia Debug Window'), $debuglevel);

and

$logger->addChild($debugwindow);


- --
David Morton
Maia Mailguard                        - http://www.maiamailguard.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEw2jgUy30ODPkzl0RAsi2AJ0TyaWyiSrOyIp5KunQjB4f4OlFjwCfdKgl
ua4O/4XCMzvho+92DmHqhSs=
=/c2/
-----END PGP SIGNATURE-----


More information about the Maia-users mailing list