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: Changing database prefix AFTER install  (Read 2676 times)

0 Members and 1 Guest are viewing this topic.

TehBooster

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Changing database prefix AFTER install
« 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
Logged

Nibbler

  • Guest
Re: Changing database prefix AFTER install
« Reply #1 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. ;)
Logged

TehBooster

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Changing database prefix AFTER install
« Reply #2 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
Logged

Nibbler

  • Guest
Re: Changing database prefix AFTER install
« Reply #3 on: May 07, 2005, 02:30:45 pm »

Enable debug mode in the database (config table) and see what the real error is.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 16 queries.