Advanced search  


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.

Pages: [1]   Go Down

Author Topic: config doesnt exist  (Read 2792 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 3
config doesnt exist
« on: October 25, 2015, 02:45:20 pm »

This is all  my fault I got carried away deleting things on my sql clearing old ones out and by accident I deleted it and then created it again. Now I get this error on my website. I hope I can solve this error because it would take ages to do it all  over again.

While executing query 'SELECT name, value FROM cpg_config' in include/ on line 181

mySQL error: Table 'skyline1_copp1.cpg_config' doesn't exist

Please help  :-\


  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4886
Re: config doesnt exist
« Reply #1 on: October 25, 2015, 07:12:09 pm »

Do you have a backup of your database?
It is a mistake to think you can solve any major problems just with potatoes.


  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: config doesnt exist
« Reply #2 on: October 27, 2015, 01:29:43 pm »

What did you delete?  Just the config table? All CPG tables?  The entire database?
What did you 'create again'?
Guessing you wouldn't be asking if you took a backup...

Contact your ISP - or look for a "Restore" option in your site Control Panel.
Good hosts take regular backups for you (mine does daily) - and may be able to restore from there...
(If you completely deleted the database, may need to redefine it empty first...)

If there truly is no backup, rebuilding the database can be a very long manual task.
How much can automated depends on how many users were uploading (a single admin vs many users).. If the 'albums' folder structure matches you categories/albums, etc.  Some data (comments, votes, views) will not be recoverable.
This effort would go well beyond the 'free' support provided in the forum.
I couldn't even begin to estimate the effort without more information.

Hopefully your ISP will have a backup..  And I'm sure you will take your own backups in the future.
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money
Pages: [1]   Go Up

Page created in 0.016 seconds with 20 queries.