Moved database and now can't change config file. Moved database and now can't change config file.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Moved database and now can't change config file.

Started by desert_dave, December 20, 2004, 08:23:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

desert_dave

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




Joachim Müller

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