Seite 1 von 1

HierarchieMod - Problem

Verfasst: 25.10.2004 18:26
von -JuRa-
Hallo,

ich habe die HierarchieMod installiert auf PHPBB2.0.10 und wollte es testen und wenn man die Indexseite öffnet kommt folgende Fehlermeldung:

Fatal error: Call to undefined function: phpbb_realpath() in c:\programme\easyphp1-7\www\includes\template.php on line 233

Was mache ich falsch...
Danke für die Antwort!

Verfasst: 25.10.2004 23:23
von -JuRa-
ich habe nochmal probiert die Mod mit Easymod zu installieren. Dabei kommt aber folgende Meldung:

Critical Error

FIND FAILED: In file [index.php] could not find:

//
// Obtain a list of topic ids which contain
// posts made since user last visited
//
if ( $userdata['session_logged_in'] )
{
$sql = "SELECT t.forum_id, t.topic_id, p.post_time
FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p
WHERE p.post_id = t.topic_last_post_id
AND p.post_time > " . $userdata['user_lastvisit'] . "
AND t.topic_moved_id = 0";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query new topic information', '', __LINE__, __FILE__, $sql);
}
$new_topic_data = array();
while( $topic_data = $db->sql_fetchrow($result) )
{
$new_topic_data[$topic_data['forum_id']][$topic_data['topic_id']] = $topic_data['post_time'];
}
}

MOD script line #90 :: FAQ :: Report


Ich weis nicht woran das Problem liegt ich habe nichts an der Index.php verändert und habe PHPbb Version 2.0.10
Weis jemand von Euch die Antwort?? Wäre wirklich dankbar...

Verfasst: 25.10.2004 23:40
von Leuchte
Hast du die Stelle mal per Hand editiert? Also ohne Easy Mod? Wenn nicht, mach das mal.