Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Script: /home/xxxxx/xxxxx/wikiwirral.co.uk/public_html/forums/libs/functions_forums.inc.php - Line: 256
SELECT COUNT(p.POST_ID) AS POSTS, SUM(p.POST_IS_TOPIC) AS TOPICS, t.FORUM_ID
FROM ubbt_POSTS as p,
ubbt_TOPICS as t
WHERE (t.TOPIC_ID = p.TOPIC_ID) AND p.POST_IS_APPROVED = 1
AND (0
OR (t.FORUM_ID = 94 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 90 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 104 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 100 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 95 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 99 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 89 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 96 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 86 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 66 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 106 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 98 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 101 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 91 AND p.POST_POSTED_TIME > 0) OR (t.FORUM_ID = 97 AND p.POST_POSTED_TIME > 0)) GROUP BY t.FORUM_ID - Table 'p' is marked as crashed and should be repaired

===========================================================
Since we have upgraded to 7.4 + ( With the new Permissions )
I'm getting SQL errors, i never had a single one previously.
So i'm not understanding the English terms for

Table 'p' is marked as crashed and should be repaired

What do i have to do?
Or Should i do anything?

This is the 4th Table 'p' is marked as crashed and should be repaired error this year. (Not many) but wary of losing data.

I have reported back to me from moderators that 1 or 2 topics have gone missing, but i cant prove it, but its something i'm watching.

So what do i do ? ( Thanks in advance )
Any idea's what could be causing it or is it just one of them things ?

Last edited by Mark S; 02/22/2009 3:43 PM.

BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
O yeh on the left of the screen it says

Fri, Feb 20 2009 12:56:52 +0000
bernie66


bernie66 is a members name.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Table p is your posts table. Crashes can be cause by many things: hardware, memory, writes to a large table during a MySQL crash, loss of power, etc. Is this your own server or a hosted server? I'd see if you can find out how long the MySQL process has been running. Usually, the primarly culprit for crashed tables is MySQL crashing when something is trying to write to a table.

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Its dedicated server where i have to work out the problems.

I re-start the sql every night at 4am

So even though it says

Table 'p' is marked as crashed and should be repaired

should i log into php admin and repair any tables ?


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
If it's still giving that same error then yes. You'll want to close your forums and then repair the ubbt_POSTS table.

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Fri, Jan 02 2009 18:15:17 +0000
Wed, Jan 07 2009 15:23:24 +0000
Sun, Jan 11 2009 13:22:02 +0000
Fri, Feb 20 2009 12:56:52 +0000

They all have the same path

Script: /xxxx/xxx/xxxx/wikiwirral.co.uk/public_html/forums/libs/functions_forums.inc.php - Line: 256

I will repair that table at the end of the week,
like i say its not major that i can see.

But there's no smoke without fire.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
lol.. if you have a crashed ubbt_POSTS table, i'd think you'd want that repaired asap.. that could be dire, if not repaired

Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
The post table would seem major, to me laugh


- Allen
- ThreadsDev | PraiseCafe
Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
Meh... it's a luxury table we can do without.

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Thanks for the feed back

in php admin, i ran the repair on all tables and nothing was tagged ??

i'm backing up every night wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Geoff), 1,018 guests, and 215 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)