coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: desert_dave on December 20, 2004, 08:23:06 PM

Title: Moved database and now can't change config file.
Post by: desert_dave on December 20, 2004, 08:23:06 PM
I had my server people move my galley db over to a new one and I put in the new redirects and phpbb.inc for bridging to phpbb. When I log in gallery it took me over to phpbb to register and back to galley, but it didn't log me in there. If I go back to phpBB it knows I'm loggin in already.

So I cheched the include/config.inc file and noticed it had the old db name so I changed it to the new.
That gave me the following error message:

Notice: Undefined index: debug_mode in /home/creating/public_html/gallery/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query

One strange thing in the db is that the new one does not have any of the cpg132 tables, just the CPG.
Is that the culprit?

Thanks,
Dave



Title: Re: Moved database and now can't change config file.
Post by: Joachim Müller on December 22, 2004, 05:41:25 PM
use a db tool like phpMyAdmin to turn on debug_mode in coppermine's config table (set it from "0" to "1") to see what query actually fails. It's hard to say what actually went wrong with access to the db itself (please don't post access data!), but I guess your db people didn't properly copy the coppermine tables from the old db to the new one, but they just ran the queries in the sql folder (which is not enough to move an existing gallery).

Joachim