Advanced search  

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

Pages: [1]   Go Down

Author Topic: Fatal Error  (Read 2954 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.016 seconds with 20 queries.