coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: gad on March 10, 2005, 10:10:24 PM

Title: Fatal Error
Post by: gad 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?
Title: Re: Fatal Error
Post by: Joachim Müller 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)
QuoteCREATE 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