Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Phpbb2.17 Mysql Problems, Just this week they started
jlhaslip
post Apr 21 2007, 05:54 PM
Post #1


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,077
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



The forum has been up and running for about a year and a half. It has been through numerous server upgrades, etc, including the recent HDD change, but for some reason, just this week it started throwing this error:

QUOTE
Could not obtain post/user information.

DEBUG MODE

SQL Error : 145 Table './jlhaslip_phpbb2/phpbb_posts_text' is marked as crashed and should be repaired

SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid FROM phpbb_posts p, phpbb_users u, phpbb_posts_text pt WHERE p.topic_id = 576 AND pt.post_id = p.post_id AND u.user_id = p.poster_id ORDER BY p.post_time ASC LIMIT 25, 25

Line : 398
File : viewtopic.php


Any ideas? I did the mysql "repair" thing in the cpanel, but that didn't work. I do have a backup.
Should I do the restore from a backup? or is this a mysql problem that will persist? I could not find this error by number in the mysql documentation. They start at #1000, so I am lost about the error number, too.
Go to the top of the page
 
+Quote Post
Saint_Michael
post Apr 21 2007, 09:13 PM
Post #2


$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************

Group: [HOSTED]
Posts: 6,564
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew



I can't remember or not but doesn't phpbb have a repair feature like ipb does with it's DB within it's admin panel? By the looks of it I would say it's a specific file and DB so instead of doing a full restore on a back up see if you can patch the phpbb_post_text db and then upload the viewtopic.php file. Of course if the patches don't work then go with the full restore and see if it happens again.

I did do some searching although not the same DB but the response the next person gives could help out: http://www.phpbb.com/community/viewtopic.p...9128&hilit=.
Go to the top of the page
 
+Quote Post
jlhaslip
post Apr 21 2007, 09:42 PM
Post #3


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,077
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



Indeed it did. Seems that I had a bad Database record (just one) in that table.

All fixed up now, thanks to that script they provided. Funny that I didn't find it on my search for the fix. Thanks, SM.
Go to the top of the page
 
+Quote Post
Saint_Michael
post Apr 21 2007, 10:12 PM
Post #4


$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************

Group: [HOSTED]
Posts: 6,564
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew



I took a long shot and it did pay off, awesome! I assume that you used different keywords then I did? I just Google SQL Error : 145 and it was the second site it listed that gave me the post about what to do more or less biggrin.gif. Although the post mentioned that it worked he didn't mention which link he used. Should be a good idea to post that smae link as well haslip so everyone who is using an old phpbb board can use it if or when a error happens.

This post has been edited by Saint_Michael: Apr 21 2007, 10:14 PM
Go to the top of the page
 
+Quote Post
jlhaslip
post Apr 21 2007, 11:57 PM
Post #5


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,077
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



I simply snagged the php script and followed the instructions. Seems there was one bad row in the Database and the mysql/phpadmin Repair that I had tried earlier in the week never found or fixed the problem, whereas this script did.
I'll keep this Topic open in case anyone else needs the link.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Mysql Database Setup : Setting Up Mysql Database(6)
  2. Guestbook (cgi-script) Problems(1)
  3. Problems With Outlook Express(7)
  4. Installing Apache, Mysql, Phpmyadmin Locally(5)
  5. How To Crate Mysql Database?(7)
  6. Is It Possible To Access The Mysql Remotely?(10)
  7. Error Code In Subscriptions Page(5)
  8. Question About Adding Message Board To Site(5)
  9. Having Problems With Installing Ipb 2.3.x(2)
  10. Bandwidth Count Up(6)
  11. Problems With Free Domain Name(6)
  12. File Manager Problems(3)
  13. Control Panel Will Not Let Me In [resolved](4)
  14. Suspended Account Problems(4)
  15. Is The Server Ok?(1)
  1. Domain Change Problems(2)
  2. Question About The Upgrade And The Mysql Usage ?(3)
  3. Problems With Ftp Access(1)
  4. Problems Adding An Email Account(3)
  5. Strange Site Problems(2)
  6. The Capitalization Filter(0)
  7. Remote Access Mysql(8)
  8. How Do I Find My Mysql Password? [resolved](5)
  9. Problems?!(1)
  10. It Went Well For A While(5)
  11. Host Problems(7)
  12. Help Regarding Phpbb2(5)
  13. Mysql Database Not Working(3)


 



- Lo-Fi Version Time is now: 8th October 2008 - 03:47 AM