Fatal error : Fatal error :
 

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

Main Menu

Fatal error :

Started by kaiafan, November 06, 2020, 02:56:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kaiafan

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

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.