Seite 2 von 3
install.txt
Verfasst: 03.09.2006 18:27
von Justin
danke, genau nach dem schema bin ich vorgegangen und
leider klappt das nicht.
Verfasst: 03.09.2006 18:39
von Vatex
Verfasst: 03.09.2006 18:40
von klausm
Dann nehme ich mal an das du nach der Installation der "intro_portal_mod_db_install.php" Datei dies auch wieder gelöscht hast.
Verfasst: 03.09.2006 18:42
von Miriam
Dein erster SQL Befehl sieht komisch aus. Also syntaktisch okay, aber komisch in der Hinsicht, dass Du evtl. vergessen hast in der constants.php die Tabelle zu definieren.
Irgendwo muss da was in der Art stehen:
Code: Alles auswählen
define('INTROPORTALMOD_TABLE', $table_prefix.'introportalmod');
Der zweite sieht korrekt ausl.
klasse...
Verfasst: 03.09.2006 18:47
von Justin
super, ein problem von zwei ist gelöst.
Die Navigation von dem Mod lässt sich schon aufrufen aber die
Konfiguration klappt noch nicht. Bekomme noch immer die Meldung:
phpBB : Kritischer Fehler
Could not query introportalmod information in admin_board
DEBUG MODE
SQL Error : 1146 Table 'db175848689.INTROPORTALMOD_TABLE' doesn't exist
SELECT * FROM INTROPORTALMOD_TABLE
Line : 73
File : admin_introportalmod.php
Miriam
Verfasst: 03.09.2006 18:50
von Justin
Hallo Miriam,
den Eintrag habe ich nicht gefunden. Muss ich den ersetzen mit dem den du hier gepostet hast?
LG Justin
Verfasst: 03.09.2006 19:33
von Miriam
Ich könnte wetten, dass diese Zeile73 so aussehen muss:
sieht aber (vielleicht) so aus:
Und er define Eintrag muss in die constants.php. Was sagt denn die Installationsanweisung?
Verfasst: 03.09.2006 19:41
von Justin
Das steht in der zeile
$sql = "SELECT * FROM " . INTROPORTALMOD_TABLE;
if(!$result = $db->sql_query($sql))
{
message_die(CRITICAL_ERROR, "Could not query introportalmod information in admin_board", "", __LINE__, __FILE__, $sql);
die Installationsanweisung sagt zu dem thema garnichts. da sie installation abgeschlossen ist und das Mod laufen müsste.
Bis jetzt geht nur die Navigation das Mod`s und der fehler tritt auf wenn ich die Kofiguration anklick.
Verfasst: 03.09.2006 20:19
von Miriam
Wie gesagt: INTROPORTALMOD_TABLE wird während der Abfrage durch die define Anweisung ersetzt.
Verfasst: 03.09.2006 20:38
von Mahony
Hallo
Ändere in der intro_portal_mod_db_install.php folgendes.
Suche:
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);
Ersetzte mit
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);
Danach hochladen und im Browser aufrufen.
Grüße: Mahony