Could not obtain ADMINBANNERS information
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.
-
hopelesscase
- Mitglied
- Beiträge: 35
- Registriert: 15.01.2006 21:02
- Kontaktdaten:
Could not obtain ADMINBANNERS information
wie bekomme ich den fehler in den griff?
Could not obtain ADMINBANNERS information
DEBUG MODE
SQL Error : 1146 Table 'usr_web55_1.phpbb_adminbanners' doesn't exist
SELECT word, replacement FROM phpbb_adminbanners ORDER BY RAND() LIMIT 1
Line : 52
File : page_tail.php
Liebe Grüße....
Could not obtain ADMINBANNERS information
DEBUG MODE
SQL Error : 1146 Table 'usr_web55_1.phpbb_adminbanners' doesn't exist
SELECT word, replacement FROM phpbb_adminbanners ORDER BY RAND() LIMIT 1
Line : 52
File : page_tail.php
Liebe Grüße....
-
hopelesscase
- Mitglied
- Beiträge: 35
- Registriert: 15.01.2006 21:02
- Kontaktdaten:
- Andy120
- Mitglied
- Beiträge: 3430
- Registriert: 02.01.2004 11:21
- Wohnort: Basel (Schweiz)
- Kontaktdaten:
In der Installationsanleitung ist entweder ein SQL Code den du in deiner phpMyAdmin einfügen müsstest, oder eine Datei die db_update.php / install.php oder auch ähnlich heisst..
Die müsstest du dann ausführen. Und bei dem Code gehst du in die phpMyAdmin und dann auf SQL (Dateikarte) und dann gibste da den Befehl mit ctrl + v ein bzw. fügst den ein und dann auf OK.
Gruss, Andy
Die müsstest du dann ausführen. Und bei dem Code gehst du in die phpMyAdmin und dann auf SQL (Dateikarte) und dann gibste da den Befehl mit ctrl + v ein bzw. fügst den ein und dann auf OK.
Gruss, Andy
-
hopelesscase
- Mitglied
- Beiträge: 35
- Registriert: 15.01.2006 21:02
- Kontaktdaten:
das steht in der db_update_admin_banners.php was muss ich davon nehmen?
<?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 - Forum Random Advertising Banners</title>
</head>
<body>
<h1>SQL-DB-Installer - Forum Random Advertising Banners</h1>
<hr />';
if (!isset($HTTP_GET_VARS['install'])) {
echo '<a href="?install=1">Please click here | Bitte hier klicken</a>';
}
else {
$queries = array(
"CREATE TABLE phpbb_adminbanners (
word_id mediumint(8) unsigned NOT NULL auto_increment,
word text NOT NULL,
replacement text NOT NULL,
PRIMARY KEY (word_id)
) TYPE=MyISAM;",
"INSERT INTO " . $table_prefix . "adminbanners VALUES (1, './images/adminbanners/1.gif', 'http://www.domain1.de')",
"INSERT INTO " . $table_prefix . "adminbanners VALUES (2, './images/adminbanners/2.gif', 'http://www.domain2.de')",
"INSERT INTO " . $table_prefix . "adminbanners VALUES (3, './images/adminbanners/3.gif', 'http://www.domain3.de')",
"INSERT INTO " . $table_prefix . "adminbanners VALUES (4, './images/adminbanners/4.gif', 'http://www.domain4.de')",
"INSERT INTO " . $table_prefix . "adminbanners VALUES (5, './images/adminbanners/5.gif', 'http://www.domain5.de')"
);
$success = true;
foreach($queries as $query) {
if (!$db->sql_query($query)) {
echo '<font color="red">An error occurred ! Changes have not been entered successfully !<br /><br />Es Fehler ist aufgetreten ! Änderung nicht erfolgreich eingetragen !</font><br /><br />';
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 !<br /><br />DB-Änderung wurde erfolgreich ausgeführt. Du solltest diesen SQL-DB-Installer sobald wie möglich löschen !';
}
}
?>
<?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 - Forum Random Advertising Banners</title>
</head>
<body>
<h1>SQL-DB-Installer - Forum Random Advertising Banners</h1>
<hr />';
if (!isset($HTTP_GET_VARS['install'])) {
echo '<a href="?install=1">Please click here | Bitte hier klicken</a>';
}
else {
$queries = array(
"CREATE TABLE phpbb_adminbanners (
word_id mediumint(8) unsigned NOT NULL auto_increment,
word text NOT NULL,
replacement text NOT NULL,
PRIMARY KEY (word_id)
) TYPE=MyISAM;",
"INSERT INTO " . $table_prefix . "adminbanners VALUES (1, './images/adminbanners/1.gif', 'http://www.domain1.de')",
"INSERT INTO " . $table_prefix . "adminbanners VALUES (2, './images/adminbanners/2.gif', 'http://www.domain2.de')",
"INSERT INTO " . $table_prefix . "adminbanners VALUES (3, './images/adminbanners/3.gif', 'http://www.domain3.de')",
"INSERT INTO " . $table_prefix . "adminbanners VALUES (4, './images/adminbanners/4.gif', 'http://www.domain4.de')",
"INSERT INTO " . $table_prefix . "adminbanners VALUES (5, './images/adminbanners/5.gif', 'http://www.domain5.de')"
);
$success = true;
foreach($queries as $query) {
if (!$db->sql_query($query)) {
echo '<font color="red">An error occurred ! Changes have not been entered successfully !<br /><br />Es Fehler ist aufgetreten ! Änderung nicht erfolgreich eingetragen !</font><br /><br />';
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 !<br /><br />DB-Änderung wurde erfolgreich ausgeführt. Du solltest diesen SQL-DB-Installer sobald wie möglich löschen !';
}
}
?>
- Andy120
- Mitglied
- Beiträge: 3430
- Registriert: 02.01.2004 11:21
- Wohnort: Basel (Schweiz)
- Kontaktdaten:
Davon im Grund gar nix. Das ladest du ins Forum "root". Dann gehst du in dein Forum logst dich als Admin ein und gibst in der Adresszeile ein:
http://www.forum.das-du-hast.de/db_upda ... anners.php
Und befolgst die Anweisungen
Gruss, Andy
http://www.forum.das-du-hast.de/db_upda ... anners.php
Und befolgst die Anweisungen
Gruss, Andy
-
hopelesscase
- Mitglied
- Beiträge: 35
- Registriert: 15.01.2006 21:02
- Kontaktdaten:
-
hopelesscase
- Mitglied
- Beiträge: 35
- Registriert: 15.01.2006 21:02
- Kontaktdaten:
Warning: mysql_connect(): Access denied for user: 'web55@localhost' (Using password: NO) in /srv/www/htdocs/web55/html/db/mysql4.php on line 48
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /srv/www/htdocs/web55/html/db/mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /srv/www/htdocs/web55/html/db/mysql4.php on line 331
phpBB : Kritischer Fehler
Could not connect to the database
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /srv/www/htdocs/web55/html/db/mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /srv/www/htdocs/web55/html/db/mysql4.php on line 331
phpBB : Kritischer Fehler
Could not connect to the database
-
hopelesscase
- Mitglied
- Beiträge: 35
- Registriert: 15.01.2006 21:02
- Kontaktdaten: