I am in the process of upgrading our wiki, since the gdbm database has been giving us daily errors where the server needs to be restart.
In any case, we upgraded our version of PHP so we can utilize Berkeley DB last week, which resulted in a slew of PHP Warnings. I know that these warnings should be removed once the wiki version is upgraded, but is there any way to disable these warnings from being displayed?
We don't want to upgrade the wiki quite yet, since I have found on my test server, that our templates will not work on the new wiki version, and have to be recoded...any help would be great!
Thanks and talk to you soon.
Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey I have this problem too, thing it, I don't know any PHP at all, just html...where do I go to delete the
<!--
<?= $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?>
<?php if (defined('DEBUG') and DEBUG) { ?><?= Template('debug') ?><?php } ?>
-->
thing?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all-
I am in the process of upgrading our wiki, since the gdbm database has been giving us daily errors where the server needs to be restart.
In any case, we upgraded our version of PHP so we can utilize Berkeley DB last week, which resulted in a slew of PHP Warnings. I know that these warnings should be removed once the wiki version is upgraded, but is there any way to disable these warnings from being displayed?
We don't want to upgrade the wiki quite yet, since I have found on my test server, that our templates will not work on the new wiki version, and have to be recoded...any help would be great!
Thanks and talk to you soon.
Chris
Hey I have this problem too, thing it, I don't know any PHP at all, just html...where do I go to delete the
<!--
<?= $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?>
<?php if (defined('DEBUG') and DEBUG) { ?><?= Template('debug') ?><?php } ?>
-->
thing?
Hi all-
I just found the answer to my own question...actually discovered through playing with my home grown phpwiki templates....
To disable any Warning messages that you may see, simply edit the bottom.tmpl template (or wherever may have the below function calls), and edit out:
<!--
<?= $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?>
<?php if (defined('DEBUG') and DEBUG) { ?><?= Template('debug') ?><?php } ?>
-->
This completely hid all random warning messages which appeared post the php upgrade.
Talk soon
Chris