Fatal Error Fatal Error
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Fatal Error

Started by gad, March 10, 2005, 10:10:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gad

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?

Joachim Müller

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