|
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
Former Developer
|
Former Developer
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
Former Developer
|
Former Developer
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
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
|
|
|
|
Joined: Mar 2008
Posts: 326
Enthusiast
|
Enthusiast
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
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Geoff),
1,018
guests, and
215
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|