Kritischer Fehler kann sub Silver nicht öffnen
Verfasst: 19.04.2004 18:06
Hallo Leute,
ich habe folgenden Fehleranzeige nach der Installation:
phpBB : Kritischer Fehler
Could not open subSilver template config file
DEBUG MODE
Line : 336
File : /srv/www/saint_has/phpbb/includes/functions.php
So sieht die Schleife aus :
if ( $template )
{
$current_template_path = $template_path . $template_name;
@include($phpbb_root_path . $template_path . $template_name . '/' . $template_name . '.cfg');
if ( !defined('TEMPLATE_CONFIG') )
{
message_die(CRITICAL_ERROR, "Could not open $template_name template config file", '', __LINE__, __FILE__);
}
$img_lang = ( file_exists(@phpbb_realpath($phpbb_root_path . $current_template_path . '/images/lang_' . $board_config['default_lang'])) ) ? $board_config['default_lang'] : 'english';
while( list($key, $value) = @each($images) )
{
if ( !is_array($value) )
{
$images[$key] = str_replace('{LANG}', 'lang_' . $img_lang, $value);
}
}
}
Hat einer ne Idee. Übrigens LOB: Man bekommt hier sehr schnell Antwort. Vielen Dank
ich habe folgenden Fehleranzeige nach der Installation:
phpBB : Kritischer Fehler
Could not open subSilver template config file
DEBUG MODE
Line : 336
File : /srv/www/saint_has/phpbb/includes/functions.php
So sieht die Schleife aus :
if ( $template )
{
$current_template_path = $template_path . $template_name;
@include($phpbb_root_path . $template_path . $template_name . '/' . $template_name . '.cfg');
if ( !defined('TEMPLATE_CONFIG') )
{
message_die(CRITICAL_ERROR, "Could not open $template_name template config file", '', __LINE__, __FILE__);
}
$img_lang = ( file_exists(@phpbb_realpath($phpbb_root_path . $current_template_path . '/images/lang_' . $board_config['default_lang'])) ) ? $board_config['default_lang'] : 'english';
while( list($key, $value) = @each($images) )
{
if ( !is_array($value) )
{
$images[$key] = str_replace('{LANG}', 'lang_' . $img_lang, $value);
}
}
}
Hat einer ne Idee. Übrigens LOB: Man bekommt hier sehr schnell Antwort. Vielen Dank