Changing database prefix AFTER install Changing database prefix AFTER install
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.