Seite 1 von 1

Problem mit AttachMod

Verfasst: 21.03.2005 16:21
von Ronnie
Also ich hab gerade erneut AttachMod installiert, da es irgendwie nach dem ganzen Theater (Form vom Server down, Neuer Style: BlueSwift, Forum wieder up) nicht mehr ging.

Ich hab die Dateien vom template/subsilver auch in template/swilftblue geschoben, da ich ja nur noch das SwiftBlue benutze.

Aber es kommt dennoch eine Fehlermeldung, also wenn ich auf
http://www.crazyfuckers.de/pfadfinder-f ... e_inst.php
gehe, kommt nirgendswo die Richtige Ansage, also überall FAILED.

Verfasst: 21.03.2005 16:24
von Markus67
Hi ...

"Table already exists" :wink:
Die Tabellen sind schon vorhanden ... also kein Grund zur Sorge :wink:

Markus

Verfasst: 21.03.2005 17:49
von Ronnie
ok,

jetzt kommt noch die Fehlermeldung wenn ich auf index.php zugreife.


phpBB : Kritischer Fehler

Could not open SwiftBlue template config file

DEBUG MODE

Line : 355
File : /home/www/htdocs/crazyfuckers.de/pfadfinder-forum/includes/functions.php

Verfasst: 21.03.2005 19:51
von Ronnie
keiner ne Idee ??

Verfasst: 21.03.2005 21:18
von _S_T_@_S_
Line : 355
File : /home/www/htdocs/crazyfuckers.de/pfadfinder-forum/includes/functions.php

von der zeile 300 bis 360, kopier mal den ganzen code bitte.

Verfasst: 21.03.2005 21:27
von Leuchte
KB:templateconfigfile

Verfasst: 22.03.2005 00:29
von Ronnie
also der Name passt, hab ich überprüft.

der Code (300-360):

//
// Mozilla navigation bar
// Default items that should be valid on all pages.
// Defined here to correctly assign the Language Variables
// and be able to change the variables within code.
//
$nav_links['top'] = array (
'url' => append_sid($phpbb_root_path . 'index.' . $phpEx),
'title' => sprintf($lang['Forum_Index'], $board_config['sitename'])
);
$nav_links['search'] = array (
'url' => append_sid($phpbb_root_path . 'search.' . $phpEx),
'title' => $lang['Search']
);
$nav_links['help'] = array (
'url' => append_sid($phpbb_root_path . 'faq.' . $phpEx),
'title' => $lang['FAQ']
);
$nav_links['author'] = array (
'url' => append_sid($phpbb_root_path . 'memberlist.' . $phpEx),
'title' => $lang['Memberlist']
);

return;
}

function setup_style($style)
{
global $db, $board_config, $template, $images, $phpbb_root_path;

$sql = "SELECT *
FROM " . THEMES_TABLE . "
WHERE themes_id = $style";
if ( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, 'Could not query database for theme info');
}

if ( !($row = $db->sql_fetchrow($result)) )
{
message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]");
}

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

while( list($key, $value) = @each($images) )

Verfasst: 22.03.2005 11:17
von Ronnie
was kann ich noch versuchen ??

Verfasst: 22.03.2005 18:29
von Ronnie
vll. liegt es an den Templaten ??