PHP Database(?) errors

Get help on web editors (Frontpage, Dreamweaver) and web languages (HTML, ASP, PHP).
Post Reply
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

PHP Database(?) errors

Post by Bladerunner »

This has been happening frequently on another forum of which I am a member.

Warning: mysql_query() [function.mysql-query]: Unable to save result set in /includes/class_core.php on line 371

It uses a vBulletin board.

Does anyone have any idea what the cause of this could be?
If I weren't insane: I couldn't be so brilliant! - The Joker
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: PHP Database(?) errors

Post by Bladerunner »

Bladerunner wrote:This has been happening frequently on another forum of which I am a member.

Warning: mysql_query() [function.mysql-query]: Unable to save result set in /includes/class_core.php on line 371

It uses a vBulletin board.

Does anyone have any idea what the cause of this could be?
Please ignore, I have just found the solution :)
If I weren't insane: I couldn't be so brilliant! - The Joker
eraser
Registered User
Posts: 2951
Joined: 04 Mar 2005, 02:00
Location: On top of old smokey all covered in cheese...
Contact:

Post by eraser »

And that would be?

It kinda helps everyone to post a solution if you found one. For future reference. :)
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Post by Bladerunner »

eraser wrote:And that would be?

It kinda helps everyone to post a solution if you found one. For future reference. :)
http://www.vbulletin.com/forum/showthread.php?t=259489

That error means the record file crashed. Try running a repair:

Admin CP -> Maintenance -> Repair / Optimize Tables

Run it twice to make sure it comes back clean the second time.

However be warned, it could cause you not to even see the Admin CP. In that case you must have shell access and run a command to repair it again.
If I weren't insane: I couldn't be so brilliant! - The Joker
Post Reply