Seite 1 von 1

Problem mit SQL bei Photo Album Mod

Verfasst: 11.12.2005 12:48
von kjwargan
Ich habe den Foto Album Mod installiert.
dort heisst es: Upload album_db_install.php and album_mysql.sql to your phpBB root
# directory then run album_db_install.php by typing on the browser
# After that, delete both files immediately
#
# If you do not want to run album_db_install.php you can run the SQL
# queries manually in album_mysql.sql
Ich übersetze es so, dass "normal" die install.php die Datenbankeinträge vornimmt! (richtig oder falsch?)
Dennoch habe ich

Code: Alles auswählen

Warning: Access denied for user: 'U154008@furgle.store' (Using password: NO) in /mnt/kw2/08/834/00000013/htdocs/mediterraneo-forum/iberia/db/mysql4.php on line 48

Warning: MySQL Connection Failed: Access denied for user: 'U154008@furgle.store' (Using password: NO) in /mnt/kw2/08/834/00000013/htdocs/mediterraneo-forum/iberia/db/mysql4.php on line 48

Warning: Supplied argument is not a valid MySQL-Link resource in /mnt/kw2/08/834/00000013/htdocs/mediterraneo-forum/iberia/db/mysql4.php on line 330

Warning: Supplied argument is not a valid MySQL-Link resource in /mnt/kw2/08/834/00000013/htdocs/mediterraneo-forum/iberia/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database
Muß ich trotzdem die Datenbankeinträge manuell erstellen? Wenn Ja, gibt es einen einfachen Weg? Bitte!

Verfasst: 11.12.2005 13:05
von kjwargan
Soll ich das:

Code: Alles auswählen

CREATE TABLE phpbb_album (
	    pic_id int(11) UNSIGNED NOT NULL auto_increment,
so umschreiben und mit SQL installieren:

Code: Alles auswählen

ALTER TABLE phpbb_album ADD pic_id int(11) UNSIGNED NOT NULL auto_increment,
alle anderen "Befehle" genau so? Bitte um Hilfe :oops:

Verfasst: 11.12.2005 13:24
von felixx
Hi,
# Upload album_db_install.php and album_mysql.sql to your phpBB root
# directory then run album_db_install.php by typing on the browser
# After that, delete both files immediately
Also die beiden Datein hochladen ins root verzeichniss, dann im browser die album_db_install.php aufrufen und fertig.
Die beiden Dateien nach erfolgreicher Installation löschen.

Dann musst Du nichts weiter an der Datenbank machen. :wink:

Verfasst: 11.12.2005 13:29
von kjwargan
Genau so machte ich es, dann kam der o.g. Fehler!
Wo liegt jetzt mein Fehler, habe nochmals die Dateien geprüft!

Verfasst: 11.12.2005 13:44
von felixx
Warst Du als Admin eingelogt?

Verfasst: 11.12.2005 13:51
von kjwargan
Ja, sicher :wink:

Verfasst: 11.12.2005 13:54
von felixx
Dann bin ich überfragt :oops: musst Du warten bis ein Spezi Dir Hilft. :wink:

Erledigt

Verfasst: 11.12.2005 16:40
von kjwargan
Ich habe die album_db_install.php überprüft.
Dabei ersetzte ich das

Code: Alles auswählen

include($phpbb_root_path.'includes/db.'.$phpEx);
mit

Code: Alles auswählen

include_once($phpbb_root_path.'includes/db.'.$phpEx);
, schon es klappte mit der Installation :D