Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Moved database and now can't change config file.  (Read 2870 times)

0 Members and 1 Guest are viewing this topic.

desert_dave

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Moved database and now can't change config file.
« 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



 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Moved database and now can't change config file.
« Reply #1 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
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 15 queries.