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: Fatal Error  (Read 2959 times)

0 Members and 1 Guest are viewing this topic.

gad

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Fatal Error
« on: March 10, 2005, 10:10:24 pm »

Notice: Undefined index: debug_mode in d:\evilsmurfs.com\gallery\include\functions.inc.php on line 96
Fatal error :
There was an error while processing a database query

The main drive filled & mysql crashed, I read some posts & went to turn debug on but i dont have a cpg11d_config table. Can i just reinstall the gallery overtop to recreate the tables or is there a repair?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal Error
« Reply #1 on: March 11, 2005, 06:40:37 am »

the table might be prefixed differently (depending on the coppermine table prefix you chose during install. Look for a table like FooBar_config. To re-create the table, you could run the mySQL query (using phpMyAdmin or similar)
Quote
CREATE TABLE CPG_config (
  name varchar(40) NOT NULL default '',
  value varchar(255) NOT NULL default '',
  PRIMARY KEY  (name)
) TYPE=MyISAM;
(make sure to change CPG_ to the same prefix you have chosen for your other coppermine tables), then run update.php - no need to run a fresh install.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.