Thread subject: PHP-Fusion | India | Open Source CMS | Unofficial MODs & Support Portal :: [MOD]Removing Error Log

Posted by Creator on 06-01-2013 14:24

Everytime when there is error at your code, error message is displayed at page footer for site administrator.(WARNING: An error occurred while parsing the page. Please see PHP-Fusion's error log for more details.). If you want to remove/hide this error message, Goto Themes>Templates and open footer.php, find and remove this code:
  1. // Error handling
  2. if (iADMIN && checkrights("ERRO") && count($_errorHandler) > 0) {
  3. echo "<div class='admin-message'>".str_replace("[ERROR_LOG_URL]", ADMIN."errors.php".$aidlink, $locale['err_101'])."</div>\n";
  4. }
Parsed in 0.031 seconds, using GeSHi

Full webversion