Seite 1 von 1
Hallo, was für ein Fehler hab ich hier gemacht.
Verfasst: 09.06.2005 15:10
von titanic60
phpBB : Kritischer Fehler
Could not query introportalmod information in admin_board
DEBUG MODE
SQL Error : 1146 Table 'xxx.INTROPORTALMOD_TABLE' doesn't exist
SELECT * FROM INTROPORTALMOD_TABLE
Line : 73
File : admin_introportalmod.php
Was genau oder besser, wie muss ich so eine tabelle einfügen
Lösung !
Verfasst: 09.06.2005 15:14
von gloriosa
Hallo,
Hinweise gibt es hier : KB:sql_error !
Du hast sicher übersehen, dass laut Installationsanleitung die Datei
intro_portal_mod_db_install.php auszuführen ist !

Verfasst: 09.06.2005 15:24
von Forum-Hilfe
such mal xxx.INTROPORTALMOD_TABLE und erzätze es mit DEINTEMPLATE.INTROPORTALMOD_TABLE in admin_board
hallo
Verfasst: 09.06.2005 15:27
von titanic60
doch natürlich habe ich diese datei ausgeführt, nur wird dann laut hinweis darum gebeten das zu machen, INSERT INTO phpbb_introportalmod VALUES ('addonbox_active', '1') oder dieses Script ausführen
was ich auch gemacht habe
das ist im forum auch zu sehen Intro + Portal
Konfiguration diese funktioniert nicht, da bekomme ich diese vorgenannte fehlermeldung
Navigation diese funktioniert
<?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);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
//
//
// Restrict to members:
if( !$userdata['session_logged_in'] )
{
message_die(GENERAL_MESSAGE, $lang['Not_Authorised'], $lang['Not_Authorised']);
exit;
}
//
//
if ( $userdata['user_level'] == ADMIN )
{
}
else
{
message_die(GENERAL_MESSAGE, $lang['Not_Authorised'], $lang['Not_Authorised']);
exit;
}
echo '<html>
<head>
<title>SQL-DB-Installer - Intro + Portal MOD - ADDON</title>
</head>
<body>
<h1>SQL-DB-Installer - Intro + Portal MOD - ADDON</h1>
<hr />';
if (!isset($HTTP_GET_VARS['install'])) {
echo '<a href="?install=1">Please click here | Bitte hier klicken</a>';
}
else {
$queries = array(
"INSERT INTO " . $table_prefix . "introportalmod VALUES ('addonbox_active', '1')"
);
$success = true;
foreach($queries as $query) {
if (!$db->sql_query($query)) {
echo '<font color="red">An error occurred ! Changes have not been entered successfully !
Es Fehler ist aufgetreten ! Änderung nicht erfolgreich eingetragen !</font>
';
echo mysql_error();
$success = false;
break;
}
}
if ($success) {
echo '<font color="green">DB-Changes have been entered successfully. You should delete this SQL-DB-Installer as soon as possible !
DB-Änderung wurde erfolgreich ausgeführt. Du solltest diesen SQL-DB-Installer sobald wie möglich löschen !';
}
}
?>