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: site is down due to Table 'dbasename.cpg148_config' doesn't exist  (Read 3737 times)

0 Members and 1 Guest are viewing this topic.

emjoven

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
site is down due to Table 'dbasename.cpg148_config' doesn't exist
« on: September 04, 2006, 08:07:50 pm »

Fatal error :

While executing query "SELECT * FROM cpg148_config" on 0

mySQL error: Table 'dpino3_coppermine.cpg148_config' doesn't exist


this is what you will see when you visit my site http://www.dpinoyweb.com/celebgallery/

What is wrong here?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: site is down due to Table 'dbasename.cpg148_config' doesn't exist
« Reply #1 on: September 04, 2006, 08:24:54 pm »

Did you verify that the table the error message complains about is actually there?
Logged

emjoven

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: site is down due to Table 'dbasename.cpg148_config' doesn't exist
« Reply #2 on: September 04, 2006, 08:27:57 pm »

I opened the sql database via phpadmin, the table exist and it has contents. That's why I'm puzzled with the error.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: site is down due to Table 'dbasename.cpg148_config' doesn't exist
« Reply #3 on: September 04, 2006, 08:30:16 pm »

Make sure that the permissions of the mySQL user specified in your_coppermine_gallery/include/config.inc.php haven't changed.
Logged

emjoven

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: site is down due to Table 'dbasename.cpg148_config' doesn't exist
« Reply #4 on: September 04, 2006, 08:38:05 pm »

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =  'localhost';        // Your database server
$CONFIG['dbuser'] =    'dpxxx_xxxxxxx';        // Your mysql username
$CONFIG['dbpass'] =    'xxxxxxx';                // Your mysql password
$CONFIG['dbname'] =   'dpxxx_xxxxxxxxxx';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =  'cpg148_';
?>

This is the content of my CONFIG.INC.PHP file, just put "x" on the important info.  I don't see any discrepancy here.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: site is down due to Table 'dbasename.cpg148_config' doesn't exist
« Reply #5 on: September 04, 2006, 09:13:46 pm »

Did you check the permissions of your mySQL user as suggested? You don't do this in coppermine. Usually, your webhost will provide you with some setup panel that will enable you to create and edit a mySQL user. If this is not the case, you may have to ask your webhost for support.
Logged

emjoven

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: site is down due to Table 'dbasename.cpg148_config' doesn't exist
« Reply #6 on: September 04, 2006, 09:21:30 pm »

I'm talking to my hosting support now. will be restoring the sql database this might solve the problem. will keep you posted.

thank you for your reply.


Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.