Seite 1 von 1
Upload Mod Problem Bitte um Hilfe
Verfasst: 29.06.2007 13:40
von AirbusA380
Hi Leutz,
kann mir jemand helfen???
Ich hab ein Problem und zwar hab ich den Upload Mod hochgeladen und wollt ihn installieren, aber wenn ich die Install Datei ausführen will kommt immer nur die Meldung:
Code: Alles auswählen
phpBB : Kritischer Fehler
Could not connect to the database
Kann ir bitte jemand helfen????
Oder muss ich vorher noch die Dateien verändern und hochladen????
Hoffe auf schnelle Antwort.
MfG ICH
Verfasst: 29.06.2007 14:32
von Dr.Death
Hallo,
dieser Knowledgebase Eintrag sollte Dir helfen:
KB:131
Verfasst: 01.07.2007 14:26
von AirbusA380
ja , danke
Verfasst: 01.07.2007 15:01
von AirbusA380
sorry für Doppelpost aber, ich hab jetzt in der Install Datei include in include_once geändert aber jetzt kaommt das hier bei mir:
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 . 'include_onces/constants.'.$phpEx); include_once($phpbb_root_path . 'include_onces/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'] ) { header("Location: " . append_sid("login.$phpEx?redirect=upload_mod_db_install.$phpEx", true)); exit; } // // if ( $userdata['user_level'] == ADMIN ) { } else { message_die(GENERAL_MESSAGE, $lang['Not_Authorised'], $lang['Not_Authorised']); exit; } echo '
SQL-DB-Installer - Upload - MOD
--------------------------------------------------------------------------------
'; if (!isset($HTTP_GET_VARS['install'])) { echo 'Please click here | Bitte hier klicken'; } else { $queries = array( "INSERT INTO " . $table_prefix . "config VALUES ('uploadmod_active', '1')", "INSERT INTO " . $table_prefix . "config VALUES ('uploadmod_dir', 'http://www.domain.de/phpBB2/')", "INSERT INTO " . $table_prefix . "config VALUES ('uploadmod_uploaddir', 'upload/')", "INSERT INTO " . $table_prefix . "config VALUES ('uploadmod_size', '512000')", "INSERT INTO " . $table_prefix . "config VALUES ('uploadmod_pixel', '700')" ); $success = true; foreach($queries as $query) { if (!$db->sql_query($query)) { echo 'An error occurred ! Changes have not been entered successfully !
Es Fehler ist aufgetreten ! Änderung nicht erfolgreich eingetragen !
'; echo mysql_error(); $success = false; break; } } if ($success) { echo '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 !'; } } ?>
Verfasst: 01.07.2007 16:22
von Boecki91
hast du am Anfang ein < entfernt?
Verfasst: 01.07.2007 20:43
von gn#36
- Du hast dein Thema binnen weniger Minuten/Stunden mit einem Folgebeitrag nach oben geschoben.
Die Mindestwartezeit für Topic Bumping beträgt 24 Stunden. - Wenn du zusätzlich Informationen hinzufügen möchtest wenn noch niemand geantwortet hat dann gibt es hierzu die [ externes Bild ] Funktion