ez Portal Admin installieren...
Verfasst: 21.02.2004 18:06
Hi,
ich habe mal eine Frage, ich habe ein neues phpBB 2.06 installiert. Bisher habe ich nur das ez Portal drin, jetzt möchte ich ez Portal Admin installieren, damit ich das Portal einfach über das ACP konfigurieren kann.
Aber wenn ich die Install befolge, und zwar folgende Stellen:
Bekomme ich folgende Fehlermeldung:
Edit: Wieso geht denn der Code Tag bei mir nicht?
ich habe mal eine Frage, ich habe ein neues phpBB 2.06 installiert. Bisher habe ich nur das ez Portal drin, jetzt möchte ich ez Portal Admin installieren, damit ich das Portal einfach über das ACP konfigurieren kann.
Aber wenn ich die Install befolge, und zwar folgende Stellen:
Code: Alles auswählen
#
#-----[ FIND ]------------------------------------------
#
$CFG['news_forum'] =
#
#-----[ REPLACE, WITH ]------------------------------------------
#
// $CFG['news_forum'] =
#
#-----[ FIND ]------------------------------------------
#
$CFG['poll_forum'] =
#
#-----[ REPLACE, WITH ]------------------------------------------
#
// $CFG['poll_forum'] =
#
#-----[ FIND ]------------------------------------------
#
# Only if you have installed, the "number of recent topics" block !
$CFG['number_recent_topics'] =
#
#-----[ REPLACE, WITH ]------------------------------------------
#
// $CFG['number_recent_topics'] =
#
#-----[ FIND ]------------------------------------------
#
# Only if you have installed, the "last seen" block !
$CFG['last_seen'] =
#
#-----[ REPLACE, WITH ]------------------------------------------
#
// $CFG['last_seen'] =
#
#-----[ FIND ]------------------------------------------
#
if( $total_users == 0 )
{
$l_total_user_s = $lang['Registered_users_zero_total'];
}
else if( $total_users == 1 )
{
$l_total_user_s = $lang['Registered_user_total'];
}
else
{
$l_total_user_s = $lang['Registered_users_total'];
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Read Portal Configuration from DB
define('PORTAL_TABLE', $table_prefix.'portal');
$CFG = array();
$sql = "SELECT * FROM " . PORTAL_TABLE;
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
$CFG[$row['portal_name']] = $row['portal_value'];
}
Woran kann das liegen?Could not query announcements information
DEBUG MODE
SQL Error : 1064 Fehler in der Syntax bei ') AND t.topic_time <= 1077383114 AND t.topic_poster ' in Zeile 23.
SELECT t.topic_id, t.topic_time, t.topic_title, pt.post_text, u.username, u.user_id, t.topic_replies, pt.bbcode_uid, t.forum_id, t.topic_poster, t.topic_first_post_id, t.topic_status, pt.post_id, p.post_id, p.enable_smilies FROM phpbb_topics AS t, phpbb_users AS u, phpbb_posts_text AS pt, phpbb_posts AS p WHERE t.forum_id IN () AND t.topic_time <= 1077383114 AND t.topic_poster = u.user_id AND t.topic_first_post_id = pt.post_id AND t.topic_first_post_id = p.post_id AND t.topic_status <> 2 ORDER BY t.topic_time DESC
Line : 86
File : d:\easyphp\home\phpbb2\fetchposts.php
Edit: Wieso geht denn der Code Tag bei mir nicht?