Page 1 of 1

[solved] Database error when accessing Photo Album

Posted: 18 Nov 2009, 17:28
by RandomUsername
Hi,

I haven't set anything up with my Photo Albums yet but I'm sure it was all working when I first set my Bubba2 up. I've just clicked on the link now and get this:
A Database Error Occurred

Error Number: 1046

No database selected

INSERT INTO `sessions` (`session_id`, `ip_address`, `user_agent`, `last_activity`) VALUES ('a1a203ff2b1714f4f203fb78324b3063', '192.168.10.98', 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.5', 1258582908)
I've tried reinstalling bubba-backend, bubba-frontend, bubba and bubba-album, run

Code: Select all

dpkg-reconfigure -phigh bubba-album
all with no joy. I haven't changed my mysql root password.

Any ideas anyone?

Thanks.

Re: Database error when accessing Photo Album

Posted: 18 Nov 2009, 21:05
by RandomUsername
Fixed!

The settings from /etc/dbconfig-common/bubba-album.conf had, for some reason, all been wiped. I pulled the default file from the USB installer image and entered the correct settings.