Seite 1 von 1

Debug Mode Line 400 Fehler im template

Verfasst: 20.11.2005 10:42
von Shenmuegamer
Folgendes Problem:

mein phpbb Forum hat den Standartstyle Athena.
Ich als Admin habe einen neuen Style instaliiert und irgendwie falsch konfiguriert.
Wenn ich mein Forum aufrufen will erscheint es auch Fehlerfrei.Bei einem einloggen als Admin komme ich nicht mehr in den Bearbeitungsbereich des Forums.
Diese Fehlermeldung wird ausgegeben:phpBB : Kritischer Fehler

Could not open BBTech-template template config file

DEBUG MODE

Line : 400
File : functions.php

Ich habe schon versucht den BBTech Ordner nochmal in das selbe Verzecihniss zu kopieren da ich dachte dass die cfg Datei nicht vorhanden wäre.
Es kommt aber immer dieser Hinweis.
Ich möchte nun als Admin wieder den Athena Syle haben.
wo kann ich das umstellen?

Verfasst: 20.11.2005 10:47
von Markus67
Hi ...

schau mal hier rein :wink:
KB:templateconfigfile

Markus

Verfasst: 20.11.2005 11:07
von Shenmuegamer
Hallo Markus,

Das ist ja genau das Problem.
Die Datei .cfg existiert und das Verzeichniss ist auch korrekt.
Ich erinnere mich noch dass ich im amdin Berreich an dem Style herumgefummelt habe weil ich da was ändern wollte an den Farben.
Danach ging nichts mehr.

hier mal der Code.

Code: Alles auswählen

<?php
// Please note that to enable support of different languages
// the {LANG} place holder is available. This will be replaced
// with xxx where xxx is the users selected language. If
// that language isn't available it will default to english. 
// Therefore you MUST ensure you have at least a english 
// directory if you choose to localise your template
//

//
// Do not alter this line!
//
define(TEMPLATE_CONFIG, TRUE);

$current_template_images = $current_template_path . "/images";

$images['icon_quote'] = "$current_template_images/{LANG}/icon_quote.gif";
$images['icon_edit'] = "$current_template_images/{LANG}/icon_edit.gif";
$images['icon_search'] = "$current_template_images/{LANG}/icon_search.gif";
$images['icon_profile'] = "$current_template_images/{LANG}/icon_profile.gif";
$images['icon_pm'] = "$current_template_images/{LANG}/icon_pm.gif";
$images['icon_email'] = "$current_template_images/{LANG}/icon_email.gif";
$images['icon_delpost'] = "$current_template_images/icon_delete.gif";
$images['icon_ip'] = "$current_template_images/{LANG}/icon_ip.gif";
$images['icon_www'] = "$current_template_images/{LANG}/icon_www.gif";
$images['icon_icq'] = "$current_template_images/{LANG}/icon_icq_add.gif";
$images['icon_aim'] = "$current_template_images/{LANG}/icon_aim.gif";
$images['icon_yim'] = "$current_template_images/{LANG}/icon_yim.gif";
$images['icon_msnm'] = "$current_template_images/{LANG}/icon_msnm.gif";
$images['icon_minipost'] = "$current_template_images/icon_minipost.gif";
$images['icon_gotopost'] = "$current_template_images/icon_minipost.gif";
$images['icon_minipost_new'] = "$current_template_images/icon_minipost_new.gif";
$images['icon_latest_reply'] = "$current_template_images/icon_latest_reply.gif";
$images['icon_newest_reply'] = "$current_template_images/icon_newest_reply.gif";

$images['forum'] = "$current_template_images/folder_big.gif";
$images['forum_new'] = "$current_template_images/folder_new_big.gif";
$images['forum_locked'] = "$current_template_images/folder_locked_big.gif";

$images['folder'] = "$current_template_images/folder.gif";
$images['folder_new'] = "$current_template_images/folder_new.gif";
$images['folder_hot'] = "$current_template_images/folder_hot.gif";
$images['folder_hot_new'] = "$current_template_images/folder_new_hot.gif";
$images['folder_locked'] = "$current_template_images/folder_lock.gif";
$images['folder_locked_new'] = "$current_template_images/folder_lock_new.gif";
$images['folder_sticky'] = "$current_template_images/folder_sticky.gif";
$images['folder_sticky_new'] = "$current_template_images/folder_sticky_new.gif";
$images['folder_announce'] = "$current_template_images/folder_announce.gif";
$images['folder_announce_new'] = "$current_template_images/folder_announce_new.gif";

$images['post_new'] = "$current_template_images/{LANG}/post.gif";
$images['post_locked'] = "$current_template_images/{LANG}/reply-locked.gif";
$images['reply_new'] = "$current_template_images/{LANG}/reply.gif";
$images['reply_locked'] = "$current_template_images/{LANG}/reply-locked.gif";

$images['pm_inbox'] = "$current_template_images/msg_inbox.gif";
$images['pm_outbox'] = "$current_template_images/msg_outbox.gif";
$images['pm_savebox'] = "$current_template_images/msg_savebox.gif";
$images['pm_sentbox'] = "$current_template_images/msg_sentbox.gif";
$images['pm_readmsg'] = "$current_template_images/folder.gif";
$images['pm_unreadmsg'] = "$current_template_images/folder_new.gif";
$images['pm_replymsg'] = "$current_template_images/{LANG}/reply.gif";
$images['pm_postmsg'] = "$current_template_images/{LANG}/msg_newpost.gif";
$images['pm_quotemsg'] = "$current_template_images/{LANG}/icon_quote.gif";
$images['pm_editmsg'] = "$current_template_images/{LANG}/icon_edit.gif";
$images['pm_new_msg'] = "";
$images['pm_no_new_msg'] = "";

$images['topic_watch'] = "";
$images['topic_un_watch'] = "";
$images['topic_mod_lock'] = "$current_template_images/topic_lock.gif";
$images['topic_mod_unlock'] = "$current_template_images/topic_unlock.gif";
$images['topic_mod_split'] = "$current_template_images/topic_split.gif";
$images['topic_mod_move'] = "$current_template_images/topic_move.gif";
$images['topic_mod_delete'] = "$current_template_images/topic_delete.gif";

$images['voting_graphic'][0] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][1] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][2] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][3] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][4] = "$current_template_images/voting_bar.gif";

//
// Vote graphic length defines the maximum length of a vote result
// graphic, ie. 100% = this length
//
$board_config['vote_graphic_length'] = 205;
$board_config['privmsg_graphic_length'] = 175;

?>

Verfasst: 20.11.2005 11:20
von Markus67
Hi ...

Hattest du im Adminbereich irgendwas am Namen vom Style verändert?

Damit du das ganze erstmal wieder zurückstellen kannst öffne KB:phpmyadmin und schau mal in die Tabelle phpbb_themes.

Jetzt schaust du nach welche Theme-ID Athena hat.

Danach gehst du in die Tabelle phpbb_config und änderst folgende Felder:
style_override ... da schreibst du eine 1 rein
default_style ... da kommt die Themes-ID von Athena rein.

Markus

Verfasst: 20.11.2005 11:28
von Shenmuegamer
Danke Markus!!!!

Es geht wieder..:grin: :grin: :grin: Wenn Du mir das nicht gesagt hättest hätte ich das Forum wieder neu installiert.Aber jetzt geht es ja wieder..puh und ich dachte alles wäre kaputt