Seite 1 von 1
Installationsproblem beim Secure Main Admin MOD von AWSW
Verfasst: 28.12.2005 19:32
von SkYfiGhTeR
Hallo,
ich wollte soeben den Secure Main Admin MOD von AWSW installieren. Jedoch erhalte ich beim Aufruf der db_update.php folgende Meldung:
Code: Alles auswählen
phpBB : Kritischer Fehler
Could not connect to the database
Mit einem anderen MOD und einer Update-Datei hat es jedoch einwandfrei geklappt und das Forum an sich ist auch fehlerfrei aufrufbar.
Liegt das womöglich an der update-Datei selbst? Oder was könnte da falsch sein?
Kommt es aufs gleiche raus, wenn ich einfach den Code aus der Update-Datei
Code: Alles auswählen
CREATE TABLE " . $table_prefix . "adminedit (
edit_id mediumint(8) unsigned NOT NULL auto_increment,
edituser char(100) NOT NULL default '',
editok char(100) NOT NULL default '',
PRIMARY KEY (edit_id)
) TYPE=MyISAM;",
);
selbst z.B. in phpMyAdmin ausführe?
Danke im Voraus!
Verfasst: 28.12.2005 19:42
von nuunuu
Meines wissens nach müsste es auf das selbe hinauskommen. Am besten du machst ein backup deiner Datenbank, und dann probierst du es, falls es nicht geklappt hat, dann kannst du ja das Backup aufspielen, und alles ist wieder wie vorher...
Bye nuunuu
Verfasst: 28.12.2005 19:50
von spritzpistole
Öffne db_update.php
finde
Code: Alles auswählen
include($phpbb_root_path . 'extension.inc');
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
include_once($phpbb_root_path . 'extension.inc');
include_once($phpbb_root_path . 'common.'.$phpEx);
include_once($phpbb_root_path . 'includes/constants.'.$phpEx);
include_once($phpbb_root_path . 'includes/db.'.$phpEx);
Dann müsste es funktionieren
Verfasst: 28.12.2005 19:59
von SkYfiGhTeR
Hi,
ja also manuell mit
Code: Alles auswählen
CREATE TABLE " . $table_prefix . "adminedit (
edit_id mediumint(8) unsigned NOT NULL auto_increment,
edituser char(100) NOT NULL default '',
editok char(100) NOT NULL default '',
PRIMARY KEY (edit_id)
) TYPE=MyISAM;
funktioniert es nicht.
Dann kommt diese Fehlermeldung:
MySQL meldet:
Code: Alles auswählen
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '" . $table_prefix . "adminedit (
edit_id mediumint(8) unsign
- - - -
In der db_update.php heißt es:
Code: Alles auswählen
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);
Was ist mit der zweiten Zeile? Die löschen oder beibehalten?
Verfasst: 28.12.2005 20:09
von nuunuu
Ja gut, wenn das der Inhalt der Datei ist, dann musst du die halt im phpmyadmin erinfügen...
Bye nuunuu
Verfasst: 28.12.2005 20:18
von Mahony
Hallo
ändere
Code: Alles auswählen
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);
in
Code: Alles auswählen
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);
abspeichern, hochladen ausführen ---> FERTIG

Verfasst: 28.12.2005 20:23
von SkYfiGhTeR
Hi,
alles klar - hat funktioniert. Dankeschön!

Verfasst: 22.01.2006 11:34
von Lucutus
habe bei diesem Mod auch ein Problem, nachdem das datenbankproblem behoben war kam folgender fehler:
Code: Alles auswählen
Parse error: parse error, unexpected '}' in /usr/export/www/vhosts/funnetwork/hosting/juf/includes/template.php(127) : eval()'d code on line 8
aber erstens gibt es in der zeile keine } und zweitens wurde ja an dieser datei gar nichts geändert......
Bin also etwas ratlos
MfG Lucutus