Advertisement:

Author Topic: Table '.\smf\smf_sessions' is marked as crashed and should be repaired  (Read 7136 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: 17,437
    • 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 for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

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

kat

  • Guest
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

kat

  • Guest
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

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 16,538
  • 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
Do NOT PM me unless I say so

Quote from: Satoru Iwata
On my business card, I am a corporate president.
In my mind, I am a game developer.
But in my heart, I am a gamer.
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays
^ Current Games: Final Fantasy XV & Final Fantasy X-2 HD
Quest to 1,000 subs!

kat

  • Guest
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