Changing database prefix AFTER install Changing database prefix AFTER install
 

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

Changing database prefix AFTER install

Started by TehBooster, May 07, 2005, 01:29:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TehBooster

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

Nibbler

You would edit include/config.inc.php. You need to rename the tables in the database too of course. ;)

TehBooster

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

Nibbler

Enable debug mode in the database (config table) and see what the real error is.