Advertisement:

Author Topic: Table '.\smf\smf_sessions' is marked as crashed and should be repaired  (Read 5987 times)

Offline comesee

  • Jr. Member
  • **
  • Posts: 385
Table '.\smf\smf_sessions' is marked as crashed and should be repaired



i need to replace this warning page with we are busy

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 16,665
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Table '.\smf\smf_sessions' is marked as crashed and should be repaired
« Reply #1 on: February 19, 2012, 10:57:11 AM »
You need to repair your database run this command via phpmyadmin on your database
Code: [Select]
Repair TABLE smf_sessions;
Community Suite - Take your forum to the next level built for SMF, Gallery,Store,Classfieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - Portal System for SMF
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline comesee

  • Jr. Member
  • **
  • Posts: 385
Re: Table '.\smf\smf_sessions' is marked as crashed and should be repaired
« Reply #2 on: February 19, 2012, 11:09:56 AM »
i want to block user from seen the page. only me should see it

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 47,361
  • Gender: Male
  • Yum!
Re: Table '.\smf\smf_sessions' is marked as crashed and should be repaired
« Reply #3 on: February 19, 2012, 02:30:21 PM »
It's a database error.

Nothing to do with SMF, really. More down to your host.

Basically, that means that you can't.

Offline comesee

  • Jr. Member
  • **
  • Posts: 385
Re: Table '.\smf\smf_sessions' is marked as crashed and should be repaired
« Reply #4 on: February 19, 2012, 02:34:58 PM »
how do i redirect that page to my on html

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 47,361
  • Gender: Male
  • Yum!
Re: Table '.\smf\smf_sessions' is marked as crashed and should be repaired
« Reply #5 on: February 19, 2012, 02:45:02 PM »
I don't believe that you can.

If I got to your site, my browser tries to access stuff.

If it gets an error, it displays that error.

I guess you can change that by hacking into the database, like this: http://help.electricfunction.com/kb/caribou-cms/how-to-hide-database-errors-from-your-website-visitors

But, if you do that, you won't see the message, either.

Pretty pointless, really, when you think about it.

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 16,075
  • Gender: Male
  • So this is the luck of the draw...
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Table '.\smf\smf_sessions' is marked as crashed and should be repaired
« Reply #6 on: February 19, 2012, 09:03:19 PM »
There is one way you can get rid of the error, by fixing it. :P

I guess you can change that by hacking into the database, like this: http://help.electricfunction.com/kb/caribou-cms/how-to-hide-database-errors-from-your-website-visitors
That's not for MySQL as a whole, it's for a specific app.
Gary M. Gadsdon
Lead Customiser
Do NOT PM me unless I say so
Look here are three little dreamers,
ready to impress everyone
Listen up, cos it's not over
Our time has just begun!

The War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays
^ Current Game: Lightning Returns & Metal Gear Solid 2

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 47,361
  • Gender: Male
  • Yum!
Re: Table '.\smf\smf_sessions' is marked as crashed and should be repaired
« Reply #7 on: February 20, 2012, 06:10:18 AM »

There is one way you can get rid of the error, by fixing it. :P[/quote]

He's not wrong. :)

That's not for MySQL as a whole, it's for a specific app.

Yeah. I was just kinda using that as an example. :P