bekomme nun die Fehlermeldung
Code: Alles auswählen
MySQL meldet:
#2005 - Unknown MySQL Server Host 'http' (1)
Code: Alles auswählen
MySQL meldet:
#2005 - Unknown MySQL Server Host 'http' (1)
Code: Alles auswählen
#2005 - Unknown MySQL Server Host 'http' (1)
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 . 'includes/constants.'.$phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);
echo '<html>
<head>
<title>DB-Update</title>
</head>
<body>
<h1>Wilkommen zum SQL-DB-Installer</h1>
<hr />';
if (!isset($HTTP_GET_VARS['install'])) {
echo '<a href="?install=1">Klicke hier um die DB-Änderung auszuführen...</a>';
}
else {
$queries = array(
'ALTER TABLE ' . USERS_TABLE . ' ADD user_reminded TINYINT(4) DEFAULT \'0\' NOT NULL AFTER user_popup_pm',
);
$success = true;
foreach($queries as $query) {
if (!$db->sql_query($query)) {
echo 'Es ist ein Fehler aufgetreten ! Änderung nicht erfolgreich !<br />';
echo mysql_error();
$success = false;
break;
}
}
if ($success) {
echo 'Die DB-Änderung zur Installation des Mods wurde erfolgreich ausgeführt.<br><br>Du solltest diesen SQL-DB-Installer nun umgehend löschen !';
}
}
?>
Code: Alles auswählen
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /www0043/www.elektro-geraete24.de/feuerwehr-schortens/forum/db_update.php on line 21
Parse error: parse error, expecting `')'' in /www0043/www.elektro-geraete24.de/feuerwehr-schortens/forum/db_update.php on line 21