Problem mit Portal (intro+portal)
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.
Problem mit Portal (intro+portal)
Nachdem alles installiert ist erscheint beim Aufruf des Portals:
Allgemeiner Fehler
Could not query announcements information
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near ') AND t.topic_time <= 1141170796 AND t.topic_poster = u.user_id AND ' at line 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 <= 1141170796 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 : portal_poll.php
Ich vermute es liegt an den sql-tabellen fürs portal.
Weiss aber leider hier nicht weiter
und brauche Hilfe.
Installierte Version ist 2.0.19
und das INtro + Portal Mod
Hoffe auf eine Lösung
Gruß newsic
Allgemeiner Fehler
Could not query announcements information
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near ') AND t.topic_time <= 1141170796 AND t.topic_poster = u.user_id AND ' at line 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 <= 1141170796 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 : portal_poll.php
Ich vermute es liegt an den sql-tabellen fürs portal.
Weiss aber leider hier nicht weiter
und brauche Hilfe.
Installierte Version ist 2.0.19
und das INtro + Portal Mod
Hoffe auf eine Lösung
Gruß newsic
Hi,
ich habe mein Portal -MOD schon seit langen eingebaut. Habe dann mal die "Fetchpost" aktiviert. Promt kam auch so eine Fehlermeldung. Kann es sein das die auch bei dir aktiviert sind?
Sonst stell mal nach und nach einzelen Funktion ab, dann wirst du eventuell den Übeltäter finden.
ich habe mein Portal -MOD schon seit langen eingebaut. Habe dann mal die "Fetchpost" aktiviert. Promt kam auch so eine Fehlermeldung. Kann es sein das die auch bei dir aktiviert sind?
Sonst stell mal nach und nach einzelen Funktion ab, dann wirst du eventuell den Übeltäter finden.
gruss Stephan
Mein Forum
Mein Forum
Hast Du in deiner geändert in und ausgeführt:
Code: Alles auswählen
<?php
define('IN_PHPBB', 1);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'config.'.$phpEx);
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/constants.'.$phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);
Code: Alles auswählen
<?php
define('IN_PHPBB', 1);
$phpbb_root_path = './';
include_once($phpbb_root_path . 'extension.inc');
include_once($phpbb_root_path . 'config.'.$phpEx);
include_once($phpbb_root_path . 'common.'.$phpEx);
include_once($phpbb_root_path . 'includes/constants.'.$phpEx);
include_once($phpbb_root_path . 'includes/db.'.$phpEx);
Code: Alles auswählen
FÜHRE DIE DATEI intro_portal_mod_db_install.php AUS DEM FORUMROOT (Hauptverzeichnis Deines Forums) AUS UND LÖSCHE SIE DANACH !!!
Viele Grüße Carlo
Dieses Posting wurde aus 100% biologisch abbaubaren und freilaufenden Elektronen erzeugt.
Dieses Posting wurde aus 100% biologisch abbaubaren und freilaufenden Elektronen erzeugt.
intro+portal dschordze
die änderungen müssen in der intro_portal_mod_db_install.php
gemacht werden. Habe ich auch getan. Die installer-php funktioniert dann auch, aber an der Fehlermeldung ändert das leider nichts.
Scheinbar ein Fehler , da die Tabellen in der Datenbank nicht gefundenwerden können...
Wäre toll wenn jemand, der das INtro und Portal mit Version 2.0.19 ins laufen gebracht hat, mal die
phpbb_introportalmodnav
und die
phpbb_introportalmodnav
Tabellen
hier posten könnten. Dann ließe sich das schonmal checken.
Ansonsten bin ich für jede weitere Hilfestellung sehr dankbar.
Markus schau doch mal hier rein
Bei mir sehen die Tabellenanfänge so aus:
--
-- Tabellenstruktur für Tabelle `phpbb_introportalmod`
--
CREATE TABLE `phpbb_introportalmod` (
`config_name` varchar(255) NOT NULL default '',
`config_value` text NOT NULL,
PRIMARY KEY (`config_name`)
) TYPE=MyISAM;
--
-- Tabellenstruktur für Tabelle `phpbb_introportalmodnav`
--
CREATE TABLE `phpbb_introportalmodnav` (
`link_active` tinyint(1) NOT NULL default '1',
`link_id` mediumint(5) NOT NULL default '0',
`link_cat` mediumint(5) NOT NULL default '0',
`link_sub` mediumint(5) NOT NULL default '0',
`link_name` varchar(60) NOT NULL default '',
`link_url` varchar(100) NOT NULL default '',
`link_level` tinyint(1) NOT NULL default '0',
`link_level_type` tinyint(1) NOT NULL default '0',
KEY `link_id` (`link_id`),
KEY `link_cat` (`link_cat`),
KEY `link_sub` (`link_sub`)
) TYPE=MyISAM;
Gruß
newsic
gemacht werden. Habe ich auch getan. Die installer-php funktioniert dann auch, aber an der Fehlermeldung ändert das leider nichts.
Scheinbar ein Fehler , da die Tabellen in der Datenbank nicht gefundenwerden können...
Wäre toll wenn jemand, der das INtro und Portal mit Version 2.0.19 ins laufen gebracht hat, mal die
phpbb_introportalmodnav
und die
phpbb_introportalmodnav
Tabellen
hier posten könnten. Dann ließe sich das schonmal checken.
Ansonsten bin ich für jede weitere Hilfestellung sehr dankbar.
Markus schau doch mal hier rein

Bei mir sehen die Tabellenanfänge so aus:
--
-- Tabellenstruktur für Tabelle `phpbb_introportalmod`
--
CREATE TABLE `phpbb_introportalmod` (
`config_name` varchar(255) NOT NULL default '',
`config_value` text NOT NULL,
PRIMARY KEY (`config_name`)
) TYPE=MyISAM;
--
-- Tabellenstruktur für Tabelle `phpbb_introportalmodnav`
--
CREATE TABLE `phpbb_introportalmodnav` (
`link_active` tinyint(1) NOT NULL default '1',
`link_id` mediumint(5) NOT NULL default '0',
`link_cat` mediumint(5) NOT NULL default '0',
`link_sub` mediumint(5) NOT NULL default '0',
`link_name` varchar(60) NOT NULL default '',
`link_url` varchar(100) NOT NULL default '',
`link_level` tinyint(1) NOT NULL default '0',
`link_level_type` tinyint(1) NOT NULL default '0',
KEY `link_id` (`link_id`),
KEY `link_cat` (`link_cat`),
KEY `link_sub` (`link_sub`)
) TYPE=MyISAM;
Gruß
newsic
nochn tip
scheint an diesem ausschnitt der portal_poll.php zu liegen:
function phpbb_fetch_posts($forum_sql, $number_of_posts, $text_length)
{
global $db, $board_config;
$sql = '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 (' . $forum_sql . ') AND
t.topic_time <= ' . time() . ' 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';
if ($number_of_posts != 0)
{
$sql .= '
LIMIT
0,' . $number_of_posts;
}
//
// query the database
//
if(!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Could not query announcements information', '', __LINE__, __FILE__, $sql);
}
function phpbb_fetch_posts($forum_sql, $number_of_posts, $text_length)
{
global $db, $board_config;
$sql = '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 (' . $forum_sql . ') AND
t.topic_time <= ' . time() . ' 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';
if ($number_of_posts != 0)
{
$sql .= '
LIMIT
0,' . $number_of_posts;
}
//
// query the database
//
if(!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Could not query announcements information', '', __LINE__, __FILE__, $sql);
}
- scheibenbrot
- Mitglied
- Beiträge: 1552
- Registriert: 23.12.2005 14:32
Das hat dann aber nichts mit der intro + portal....install* zu tun, da du dein Protal ja schon länger drin hattest. Sonst hättest du immer ein Problem bei der stände das du diese Datei noch ausführen musst!!!FooFan hat geschrieben:Hi,
ich habe mein Portal -MOD schon seit langen eingebaut. Habe dann mal die "Fetchpost" aktiviert. Promt kam auch so eine Fehlermeldung. Kann es sein das die auch bei dir aktiviert sind?
Sonst stell mal nach und nach einzelen Funktion ab, dann wirst du eventuell den Übeltäter finden.
*Hierbei handelt es sich nicht um den korekten Namen der Datei
Love is the slowest form of suicide.
an FooFan
also ich habe mal nach und nach alles abgeschaltet in der navigation des Intro+Portal.
aber die Fehlermeldung bleibt unveränderlich -
ganz unabhängig davon, wie was abgeschaltet wird.
Hallo gibt es nicht irgendweine Hilfe für dieses Problem
(Markus67)?
Beste Grüße
newsic
aber die Fehlermeldung bleibt unveränderlich -
ganz unabhängig davon, wie was abgeschaltet wird.
Hallo gibt es nicht irgendweine Hilfe für dieses Problem
(Markus67)?
Beste Grüße
newsic
Lösche in deiner Datenbank die beiden Tabellen phpbb_introportalmodnav
und die
phpbb_introportalmodnav
Dann führe die intro_portal_mod_db_install.php noch einmal aus oder führe die Zeilen 53 bis 139 der intro_portal_mod_db_install.php per SQL-Befehl in der Datenbank aus.
Das sollte eigentlich gehen
und die
phpbb_introportalmodnav
Dann führe die intro_portal_mod_db_install.php noch einmal aus oder führe die Zeilen 53 bis 139 der intro_portal_mod_db_install.php per SQL-Befehl in der Datenbank aus.
Das sollte eigentlich gehen
Viele Grüße Carlo
Dieses Posting wurde aus 100% biologisch abbaubaren und freilaufenden Elektronen erzeugt.
Dieses Posting wurde aus 100% biologisch abbaubaren und freilaufenden Elektronen erzeugt.
genauso gemacht - hilft aber nix
also die beiden Tabellen gelöscht und die installer-php neu ausgeführt
(die auch so tut als wäre alles ok)
aber das Problem mit der Fehlermeldung bleibt unverändert.
Das Intro ist ersichtlich, aber auch die angeschalteten letzten 10 Beiträge
werden nicht angezeigt, bzw der ganze Block fehlt.
Das Portal wirft nach wie vor die oben genannte fehlermeldung.
Hui das nervt aber nun sehr.
Kann jemand Helfen?
(die auch so tut als wäre alles ok)
aber das Problem mit der Fehlermeldung bleibt unverändert.
Das Intro ist ersichtlich, aber auch die angeschalteten letzten 10 Beiträge
werden nicht angezeigt, bzw der ganze Block fehlt.
Das Portal wirft nach wie vor die oben genannte fehlermeldung.
Hui das nervt aber nun sehr.
Kann jemand Helfen?