代碼: 選擇全部
##############################################################
## MOD Title: Fix message_die for multiple errors MOD
## MOD Author: markus_petrux < phpbb.mods@phpmix.com > (Markus) http://www.phpmix.com
## MOD Description: This MOD replaces the "message_die() was called multiple times" message
## with something more useful. It reports a list of all "those" error messages with all
## relevant information. So that may help board administrators to identify the problem.
## MOD Version: 1.0.4
##
## Installation Level: (Easy)
## Installation Time: 3 Minutes
## Files To Edit: 1
## includes/functions.php
## Included Files: 0
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## - Technical comments:
## Actually, the "message_die() was called multiple times" message is unlike to happen on a
## fresh phpBB board, but it might happen related to MODs, depending on how they are coded.
##
##
## - MOD related comments:
## Tested with phpBB versions from 2.0.10 to 2.0.17, at the time of writing.
## This MOD is EasyMOD friendly.
##
##############################################################
## MOD History:
##
## 2005/09/06 - 1.0.4
## - Removed the define(HAS_DIED, 1) fix, preventing the MOD from being correctly
## installed since phpBB 2.0.17, where the constant definiton was fixed.
## - MOD Header has been also adapted to new format.
##
## 2004/10/17 - 1.0.3
## - Added a mailto: link to the "Please, contact the webmaster" message.
## This will be only available if the CONFIG table has been read, though.
## Thanks again to Ptirhiik for the idea. :-)
## Certainly it sounds wiser than using "smoke signals" to contact the webmaster.
##
## 2004/10/17 - 1.0.2
## - Added a "Please, contact the webmaster" message at the end of the report.
## - Fixed define(HAS_DIED, 1); typo. Thanks to Ptirhiik for letting me know this.
##
## 2004/10/17 - 1.0.0
## - Initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
代碼: 選擇全部
message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?
代碼: 選擇全部
Critical Error!
message_die() was called multiple times.
--------------------------------------------------------------------------------
Error #1
Information
網站目前正在維護當中,敬請見諒!!
--------------------------------------------------------------------------------
Error #2
Could not open template config file
Line : 613
File : /home/krcomtw/public_html/form/phpBB2/includes/functions.php
如此一來, 系統管理員就可以判斷那個地方出問題
外掛下載:Fix message_die for multiple errors