Brief: you can repair tables by following the below tutorial, noting that in case you face any issue related to database tables, you have to solve it using the CMS control panel. 

1- Login to Cpanel. 

2- From side list, select (Tools) > then (Database Backup)as the below picture: 

q0-GrPypyBAgFW_Y3-PqVEXyIyVRUt-vsSJCybb8GMW2f1aQKLwWzEqyc9udwYkMAdmmdZz3mq5LgWEk41bBmt7rlQ_QaK1O4Eyh2SnxWPhkzm7AJLtlUDA8EVrkgOZs0xGeBV_P

Firstly: repair/optimize tables: 

1- press in front of the required table, or press (toggle all) to select all tables as shown below: 

HMOhvPGhnkeXBegTGzs1un9onSrYBpfNKpY_p-wSVOIAaGO4K9G5-mXF-7_V2VPKCCSyDs4fsd8gBOdlVENHhNSN0XK8oL2U44T7LlWDyhKHhow9mcQUE2_ufHlS1pJckhfFtIDB

2- beneath this table, there is a form whether you want to optimize tables, repair tables, or both and press (continue) to proceed as shown below: 

QRmT36h-muJ1MZn4WBvQtmYsu1R4zzctb_E8CxwElopeQFY-4xAQJ7Er5DR45aUqzzUBgLE301u2QorHdrsRcLhq3BlKmbx2iabE0iOtKaEBzGBDQttp5hxOtF6L1yNxDoqzb9ga

Secondly: Fix Unique Indexes: 

If the unique indexes of your database are lost for any reason (mostly it happens due to importing a corrupted SQL), you may face infrequent issues, particularly when you use the language and template systems,

this system will attempt to solve the issue and rebuild your UNIQUE indexes.

Please ensure that the mysql-schema.php file is included in the (install folder) on your web server before continuing.

This process can be executed as shown in the below picture:

hNPthJMJ-dTpFQpCw27z7Hi_tGCMog9p3k18f4AgiDLMU_4ymCnZpPfG_w5WddRPDrmH11EseQiSs6Z4GcW-63nzSbZKE1LhNdztJVHZFYf-fxEQ3U1OZeWAsNOSLaaiAL6znGIO

Thirdly: Fix Modules Contents Counter

For any reason, the contents counter can be corrupted (it may happen because of upgrading the Mysql server) as the content number is not shown correctly in the statistics block. This action is aiming at tackling this issue. 

This process can be executed as shown in the below picture:

BAFpIAlbDkBdKZdVM9eZbpZmvlTVWvNAE5dJW-AIsENVIgbQ2ay0feVXX2cTNKdwp_wSGLhyk5fz-aQztIRCYyLI2lZ3ll9gcNxmb_QAXjd_qn9eD_PLy4Ho41NU8zvz8Ju3-6Ot

Fourthly: Fix Content ID Fields In Modules

For any reason, the contents counter can be corrupted (it may happen because of upgrading the Mysql server) and it returns an error stating that the content reached 255 and that you can't add any more content.

This process can be executed as shown in the below picture:

SsNYUCLnKTmzXpWikgP0-19kiFHjSgAFQ8YWDXnXOwVJsavarlO1brLZ1JsrUr4meesyKTaUPkabQcLmuBDtwWs0rnN_DNxl2fOuDw1BQgBwSooF0QVHrRSrPj_X7Y31PzauWTia

Fifthly: Fix Comments Counter: 

If for whatever reason the comments counter in your database has been corrupted, This process can be executed as shown in the below picture:

Qbdjy34VOOjBm-r--GwGc-T9FksjkqrwMRqQxsefNZnkM-ODYzVvSj_1IpXKnIuPw-_vlSBFVmbqn6vv8CkI-ODEtqFwpuP4pNfk2d6-n8cPCmwOKASxlEVG_8Kc23m74tYBzq6Y

Was this answer helpful? 0 Users Found This Useful (0 Votes)