Seite 1 von 1

Template Fehler

Verfasst: 03.10.2003 13:40
von jörg gierth
Hi ,

ich habe einen neuen Mod eingebaut und bekomme nun folgende Fehlermeldung:

Code: Alles auswählen

phpBB : Kritischer Fehler 

Could not open phpbbSilver template config file

DEBUG MODE

Line : 572
File : /usr/local/apache/www/web34/html/test_phpBB/includes/functions.php 

Mein Template ist aber subSilver und nicht phpBBsilver.
Das steht in der funktion.php
$template_path = 'templates/' ;
$template_name = $row['template_name'] ;

$template = new Template($phpbb_root_path . $template_path . $template_name);

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'] : 'german';

while( list($key, $value) = @each($images) )
{
if ( !is_array($value) )
{
$images[$key] = str_replace('{LANG}', 'lang_' . $img_lang, $value);
}
}
}

Wo kann ich das template änder???

Verfasst: 03.10.2003 13:43
von PhilippK
Versuch mal, das Template mit der Notfallkonsole des DB Maintenance Mod zu resetten.

Gruß, Philipp

Verfasst: 03.10.2003 13:47
von jörg gierth
ich komm leider auch nicht mehr ins acp.

Jörg

Verfasst: 03.10.2003 14:03
von jörg gierth
in welchen Datein wird folgende
zeile verwendet?

Code: Alles auswählen

template->make_filenames();
Jörg

Verfasst: 03.10.2003 14:06
von PhilippK
jörg gierth hat geschrieben:ich komm leider auch nicht mehr ins acp.
Für die Notfallkonsole (erc.php) brauchst du keinen Zugriff auf das ACP :-)

Gruß, Philipp