Code: Select all
<?php
/**
*
* groups [German]
*
* @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' => 'Fehler',
'ERROR_BAD_REQUEST' => 'Fehler 400: Fehlerhafte Anfrage',
'ERROR_AUTH_REQUIRED' => 'Fehler 401: Zugriff verweigert',
'ERROR_FORBIDDEN' => 'Fehler 403: Verboten',
'ERROR_NOT_FOUND' => 'Fehler 404: Dokument nicht gefunden',
'ERROR_INT_SERVER' => 'Fehler 500: Interner Server Fehler',
'ERROR_UNKNOWN' => 'Ubekannter Server Fehler',
));
?>
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',
'ERROR_BAD_REQUEST' => 'Error 400: Solicitud Incorrecta',
'ERROR_AUTH_REQUIRED' => 'Error 401: Autorización Requerida',
'ERROR_FORBIDDEN' => 'Error 403: Prohibido. Acceso denegado',
'ERROR_NOT_FOUND' => 'Error 404: Página no encontrada',
'ERROR_INT_SERVER' => 'Error 500: Error interno del servidor',
'ERROR_UNKNOWN' => 'Error desconocido del servidor',
));
?>
sure:Phantom784 wrote:That was I problem I had before, but I thought I fixed it. Can you give me the link to your forums where this error is happening?
Any news ?GoBieN wrote:sure:Phantom784 wrote:That was I problem I had before, but I thought I fixed it. Can you give me the link to your forums where this error is happening?
http://www.camino-tuning.be/phpBB3/
http://www.camino-tuning.be/phpBB3/pagethatdoesnotexist (works)
http://www.camino-tuning.be/phpBB3/temp ... esnotexist (does not work as supposed)
So sorry, i never noticed that there was an extra xml file in the templates dir.Phantom784 wrote:You must have done something wrong in the install. The mod is supposed to add a "base" tag to the header of error pages to prevent that css problem. Did you do the template specific install (in templates/prosilver.xml and/or templates/subsilver.xml in the install zip) as well as the install.xml in the root of the zip?
If this doesn't work you could try a absolute URL like:ErrorDocument 400 /phpBB3/error.php?mode=400
ErrorDocument 401 /phpBB3/error.php?mode=401
ErrorDocument 403 /phpBB3/error.php?mode=403
ErrorDocument 404 /phpBB3/error.php?mode=404
ErrorDocument 500 /phpBB3/error.php?mode=500
Code: Select all
<?php
/**
*
* groups [Portuguese Brazil]
*
* @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
* @translation by Morris
*
*/
/**
* 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' => 'Erro',
'ERROR_BAD_REQUEST' => 'Erro 400: Solicitação incorreta',
'ERROR_AUTH_REQUIRED' => 'Erro 401: Autorização requerida',
'ERROR_FORBIDDEN' => 'Erro 403: Proíbido. Acceso negado',
'ERROR_NOT_FOUND' => 'Erro 404: Página desconhecida',
'ERROR_INT_SERVER' => 'Erro 500: erro interno no servidor',
'ERROR_UNKNOWN' => 'Erro desconhecido no servidor',
));
?>