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: Fatal error :  (Read 1684 times)

0 Members and 1 Guest are viewing this topic.

kaiafan

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Fatal error :
« on: November 06, 2020, 02:56:16 pm »

While executing query 'SELECT name, value FROM cpg15x_config' in include/init.inc.php on line 179

mySQL error: Table './kaiagerber_cpg/cpg15x_config' is marked as crashed and last (automatic?) repair failed

http://www.kaiagerber.us/photos/index.php

Please help me, what should I do? i don't understand anything
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4822
    • Windsurf.me
Re: Fatal error :
« Reply #1 on: November 06, 2020, 05:21:57 pm »

It meant that for some reason a table in your database has become corrupted. In this case it is your config table which as you have discovered will cause your site to crash. Fortunately, this is a table that rarely changes as it is only written to when you change your configuration.

First thing to try is a manual repair. Usually a host provides a tool called PHPmyadmin found in your hosts cPanel. You can select the above table and use the repair option. Hopefully that will fix things.

If that fails then things get a little harder. You will first need to take a full backup of your current database. Then hopefully you will have an older backup and here is where it gets a little tricky, you will need to extract the config table from that database and replace the corrupt table in your current one. If it comes to that come back and we can advise on how to do that.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 22 queries.