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 5828 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

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • 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.019 seconds with 20 queries.