coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: TehBooster on May 07, 2005, 01:29:17 PM

Title: Changing database prefix AFTER install
Post by: TehBooster on May 07, 2005, 01:29:17 PM
Hello there

Ive had a standalone coppermine installed for a couple of weeks now and now that i am comfortable with it I would like to start creating some MODs aswell as adding a couple of the awesome ones i have seen on here.

I dont have a problem as such just something that would make it a little easier for me. When i installed coppermine for the first time i accidently deleted the underscore _ from the database prefix and I would like to put it back. Which file do i edit to change the prefix to as it should be please.

Thank you for your time

Booster
Title: Re: Changing database prefix AFTER install
Post by: Nibbler on May 07, 2005, 01:30:32 PM
You would edit include/config.inc.php. You need to rename the tables in the database too of course. ;)
Title: Re: Changing database prefix AFTER install
Post by: TehBooster on May 07, 2005, 01:46:16 PM
Yea ive edited that file, changed all database prefixes. Pictures and albums are showing fine but when i update my config i get

Notice: Undefined index: debug_mode in /home/iainyez/public_html/coppermine/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query
Title: Re: Changing database prefix AFTER install
Post by: Nibbler on May 07, 2005, 02:30:45 PM
Enable debug mode in the database (config table) and see what the real error is.