Integrated Error Messages

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: Integrated Error Messages

Post by femu »

Hi,

thanks for the hint! I justed learned from another problen, that language files needs to be saved as UTF-8 without BOM. And this surely is the problem ;-)

Kind regards,
femu
Nerdy0
Registered User
Posts: 60
Joined: Sat Jun 14, 2008 9:31 am
Contact:

Re: Integrated Error Messages

Post by Nerdy0 »

Hi,
I installed template and themes not work when I enter for example "/aa/aa"
And how I can do these sites to template?
Sry for my english..
I am sorry for the mistakes in my English.
http://www.Jump4.cz
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Integrated Error Messages

Post by MartectX »

Nerdy0 wrote:Hi,
I installed template and themes not work when I enter for example "/aa/aa"
And how I can do these sites to template?
Sry for my english..
Try this: http://www.phpbb.com/community/viewtopi ... 5#p6443045
php2bx
Registered User
Posts: 45
Joined: Sat Sep 22, 2007 8:02 pm

Re: Integrated Error Messages

Post by php2bx »

Arabic Translation from phpbbunion

Code: Select all

<?php
/**
*
* groups [English]
*
* @package language
* @version $Id: $
* @copyright (c) 2008 Francis W. Fisher (Phantom) http://radoncube.com/ 
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
	'ERROR_TITLE'				=> 'خطأ',
	'ERROR_BAD_REQUEST'			=> 'خطأ 400: طلب خاطئ',
	'ERROR_AUTH_REQUIRED'			=> 'خطأ 401: مطلوب تصريح',
	'ERROR_FORBIDDEN'			=> 'خطأ 403: محمي',
	'ERROR_NOT_FOUND'			=> 'خطأ 404: لم يتم العثور على الملف',
	'ERROR_INT_SERVER'			=> 'خطأ 500: خطأ سرفر عام',
	'ERROR_UNKNOWN'				=> 'خطأ خادم غير محدد',
));
?>
blood08
Registered User
Posts: 6
Joined: Wed May 23, 2007 2:02 am

Re: Integrated Error Messages

Post by blood08 »

Great mod, using at [removed]
Last edited by RMcGirr83 on Tue Sep 02, 2008 1:05 am, edited 2 times in total.
Reason: removed link to site
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: Integrated Error Messages

Post by A_O_C »

finally got around to installing this MOD. works perfectly. thumbs up to the MOD author.
DragonQ
Registered User
Posts: 80
Joined: Wed Dec 26, 2007 11:06 pm

Re: Integrated Error Messages

Post by DragonQ »

Hi guys,

I installed this because I was hoping to give users a link to a status page if the forum is down (404 or 503 errors) but I cannot figure out what to do. It's installed properly (I've installed quite a few mods) and I've edited a few of the strings in the error.php (language\en version). I then go to a random file that doesn't exist in my forum subfolder and then I just get a normal 404 error in IE7 and Firefox 3. What am I doing wrong?


Thanks,

DragonQ.
User avatar
callumacrae
Former Team Member
Posts: 2662
Joined: Tue Feb 12, 2008 12:28 pm
Location: London, UK
Name: Callum Macrae
Contact:

Re: Integrated Error Messages

Post by callumacrae »

Amazing MOD, thanks.
macr.ae = my website. you probably won't like it.
Proud user ofProud user of
User avatar
Bard
Registered User
Posts: 449
Joined: Fri Sep 10, 2004 9:49 am
Location: Texas
Contact:

Re: Integrated Error Messages

Post by Bard »

Added this mod and it works great just like it was described.
My question is how would I add a graphic to the generated error page?
A computer once beat me at chess, but it was no match for me at kick boxing.
Old Time Radio Talk | Visit OTR Talk Town
User avatar
Spider M. Mann
Registered User
Posts: 73
Joined: Sat Dec 01, 2007 3:06 pm

Re: Integrated Error Messages

Post by Spider M. Mann »

Phantom784 wrote:Find

Code: Select all

	case '404':
		trigger_error('ERROR_NOT_FOUND');
in error.php and replace ERROR_NOT_FOUND with the image that you want eg. <img src="error.png" />. Be sure to keep the single quotes.
User avatar
jtryptophan
Registered User
Posts: 299
Joined: Wed Apr 09, 2008 5:38 pm
Location: Baltimore, MD
Contact:

Re: Integrated Error Messages

Post by jtryptophan »

Hello. Does this work with "General Error SQL ERROR" errors too? Thanks.
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: Integrated Error Messages

Post by A_O_C »

im not sure (i havent ran into that yet...)

*EDIT* i just looked at the code, doesnt look like it does...
f199
Registered User
Posts: 25
Joined: Sun Jul 01, 2007 6:17 pm

Re: Integrated Error Messages

Post by f199 »

jtryptophan wrote:Hello. Does this work with "General Error SQL ERROR" errors too? Thanks.
No all general errors show up the same.
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Integrated Error Messages

Post by MartectX »

jtryptophan wrote:Hello. Does this work with "General Error SQL ERROR" errors too? Thanks.
This is for you: http://www.phpbb.com/community/viewtopi ... &t=1029325
sids23
Registered User
Posts: 14
Joined: Wed Jul 16, 2008 7:31 pm

Re: Integrated Error Messages

Post by sids23 »

Nice mod. It’s making my site look rather professional now
Last edited by sids23 on Fri Aug 28, 2009 9:41 pm, edited 1 time in total.
Techbucket BBS | Technology-related discussion.
Locked

Return to “[3.0.x] MOD Database Releases”