error nach installation von intro-und-portal-mod
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
error nach installation von intro-und-portal-mod
hallo zusammen,
phpbb unter linux (database-typ: postgres) installiert, funzt soweit auch...
nach der installation des mods kann ich aber nicht auf das portal zugreifen (intro funktioniert), folgende fehlermeldung:
Could not obtain topic information
DEBUG MODE
SQL Error : -1 ERROR: Relation "t" does not exist
SELECT u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time FROM board_topics t, board_users u, board_posts p, board_posts p2, board_users u2 LEFT JOIN board_forums f ON t.forum_id=f.forum_id WHERE t.topic_poster = u.user_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id AND f.auth_view < 2 ORDER BY t.topic_last_post_id DESC LIMIT 15
Line : 266
File : /var/www/html/phpBB/portal.php
was muß ich anders konfigurieren?
besten dank
greetz
phpbb unter linux (database-typ: postgres) installiert, funzt soweit auch...
nach der installation des mods kann ich aber nicht auf das portal zugreifen (intro funktioniert), folgende fehlermeldung:
Could not obtain topic information
DEBUG MODE
SQL Error : -1 ERROR: Relation "t" does not exist
SELECT u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time FROM board_topics t, board_users u, board_posts p, board_posts p2, board_users u2 LEFT JOIN board_forums f ON t.forum_id=f.forum_id WHERE t.topic_poster = u.user_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id AND f.auth_view < 2 ORDER BY t.topic_last_post_id DESC LIMIT 15
Line : 266
File : /var/www/html/phpBB/portal.php
was muß ich anders konfigurieren?
besten dank
greetz
hier der ausschnitt aus der portal.php, beginnend bei zeile 253:
$sql = SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time FROM board_topics t, board_users u, board_posts p, board_posts p2, board_users u2 LEFT JOIN board_forums f ON t.forum_id=f.forum_id WHERE t.topic_poster = u.user_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id AND f.auth_view < 2 ORDER BY t.topic_last_post_id DESC LIMIT 15
if ( ! ($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain topic information', '', __LINE__, __FILE__, $sql));
}
total topics = 0;
$sql = SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time FROM board_topics t, board_users u, board_posts p, board_posts p2, board_users u2 LEFT JOIN board_forums f ON t.forum_id=f.forum_id WHERE t.topic_poster = u.user_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id AND f.auth_view < 2 ORDER BY t.topic_last_post_id DESC LIMIT 15
if ( ! ($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain topic information', '', __LINE__, __FILE__, $sql));
}
total topics = 0;
oh, tschuldige, is zeile 253 im seitenquelltext...
die txt-datei findest du hier:
http://www.2ac.de/portal.txt
many thx
die txt-datei findest du hier:
http://www.2ac.de/portal.txt
many thx
ersetz mal durch
ah
Code: Alles auswählen
$sql = "SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time
FROM " . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2, " . USERS_TABLE . " u2
LEFT JOIN " . FORUMS_TABLE . " f
ON t.forum_id=f.forum_id
WHERE t.topic_poster = u.user_id
AND p.post_id = t.topic_first_post_id
AND p2.post_id = t.topic_last_post_id
AND u2.user_id = p2.poster_id
AND f.auth_view < 2
ORDER BY t.topic_last_post_id DESC
LIMIT 15";
Code: Alles auswählen
$sql = "SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time
FROM " . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2, " . USERS_TABLE . " u2, " . FORUMS_TABLE . " f
WHERE t.topic_poster = u.user_id
AND p.post_id = t.topic_first_post_id
AND p2.post_id = t.topic_last_post_id
AND u2.user_id = p2.poster_id
AND t.forum_id = f.forum_id
AND f.auth_view < 2
ORDER BY t.topic_last_post_id DESC
LIMIT 15";
erstmal besten dank, würd sonst wohl nie voran kommen...
habe alles wie oben beschrieben geändert, allerdings taucht jetzt folgender fehler auf:
Could not query categories list
DEBUG MODE
SQL Error : -1 ERROR: parser: parse error at or near "cat_id" at character 11
SELECT c.*cat_id, c.cat_title, c.cat_order FROM phpbb_categories c WHERE c.cat_title<>"global_announcement" ORDER BY c.cat_order
Line : 534
File : /var/www/html/phpBB/portal.php
hoffe dein wissen ist noch nicht erschöpft
habe alles wie oben beschrieben geändert, allerdings taucht jetzt folgender fehler auf:
Could not query categories list
DEBUG MODE
SQL Error : -1 ERROR: parser: parse error at or near "cat_id" at character 11
SELECT c.*cat_id, c.cat_title, c.cat_order FROM phpbb_categories c WHERE c.cat_title<>"global_announcement" ORDER BY c.cat_order
Line : 534
File : /var/www/html/phpBB/portal.php
hoffe dein wissen ist noch nicht erschöpft

herrje, und schon wieder ein fehler, vielleicht sollte ich für das board auf mysql umstellen...
so siehts jetzt aus:
Could not query categories list
DEBUG MODE
SQL Error : -1 ERROR: Attribut »global_announcement« nicht gefunden
SELECT c.cat_id, c.cat_title, c.cat_order FROM phpbb_categories c WHERE c.cat_title<>"global_announcement" ORDER BY c.cat_order
Line : 534
File : /var/www/html/phpBB/portal.php
und hier der teil aus der portal.php:
$sql = "SELECT c.cat_id, c.cat_title, c.cat_order
FROM " . CATEGORIES_TABLE . " c
".(($userdata['user_level']!=ADMIN)? "WHERE c.cat_title<>\"global_announcement\"" :"" )."
ORDER BY c.cat_order";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query categories list', '', __LINE__, __FILE__, $sql);
}
merci
so siehts jetzt aus:
Could not query categories list
DEBUG MODE
SQL Error : -1 ERROR: Attribut »global_announcement« nicht gefunden
SELECT c.cat_id, c.cat_title, c.cat_order FROM phpbb_categories c WHERE c.cat_title<>"global_announcement" ORDER BY c.cat_order
Line : 534
File : /var/www/html/phpBB/portal.php
und hier der teil aus der portal.php:
$sql = "SELECT c.cat_id, c.cat_title, c.cat_order
FROM " . CATEGORIES_TABLE . " c
".(($userdata['user_level']!=ADMIN)? "WHERE c.cat_title<>\"global_announcement\"" :"" )."
ORDER BY c.cat_order";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query categories list', '', __LINE__, __FILE__, $sql);
}
merci