Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-25 03:26:07

jeeves
Member
Registered: 2004-06-14
Posts: 31

Which database table to repair?

I have an old textpattern site (1.0rc3) that has suddenly started returning the following error message at the top of each page:

Warning: mysql_query(): Unable to save result set in /home/fedev/public_html/textpattern/lib/txplib_db.php on line 35

According to the Texpattern FAQ this is likely caused by corrupted table. Repairing a table in PHPmyAdmin looks simple enough, but how do I know which of Texpattern’s 16 tables to attempt to repair?

I did take a look at line 35 of txplib_db.php – I was not able to figure out which table might be involved. Here is line 35

$result = $method($q,$DB->link);

Any advice would be greatly appreciated

Last edited by jeeves (2007-01-25 03:29:34)

Offline

#2 2007-01-25 06:40:03

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Which database table to repair?

Try out high level diagnostics, it might give you a hint as it checks each table.

Otherwise try txp_log and textpattern table.

Offline

#3 2007-01-25 17:08:28

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Which database table to repair?

You could just run a repair on all of them, it doesn’t hurt anything if they’re not broken.

Offline

Board footer

Powered by FluxBB