Seite 1 von 1

Problem mit Templates

Verfasst: 27.11.2003 17:48
von Jürg€n
Hi!
Ich hab ein Problem und zwar hab ich ne Template hochgeladen. Da gabs aber nen Fehler.
Ich hab in mein Profil halt auf diese Template umgestellt und seitdem kann ich nichts nehr machen , dauernd kommt der Fehler

phpBB : Kritischer Fehler

Could not open Arkanian template config file

DEBUG MODE

Line : 326
File : /home/webuser/web2/html/includes/functions.php


Meine Frage ist daher wie ich die template wieder auf Subsilver stellen kann, obwohl ich nicht ins Profil kann ???

Verfasst: 27.11.2003 17:55
von Jürg€n
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);
}
}
}

return $row;

Verfasst: 27.11.2003 17:57
von Henne
Liegt die Arkanian.cfg im Templateverzeichnis?
Achte auch auf Groß- und Kleinschreibung.

Verfasst: 27.11.2003 18:08
von Jürg€n
Ja die is drin... nur ich will ja erstmal wieder auf Subsilver stellen... komm ja gar nicht mehr auf die page... die andren user schon ... Also sozusagen mein eigenes Profil ändern.
Danke

Verfasst: 27.11.2003 19:07
von Henne
Musst zur Not direkt in der Datenbank ändern.