Jump to:

23355 Posts in 17838 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Site Completely Crashed

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 934 Views
  • MatthewMathis
    Avatar
    Community Member
    1 Post

    Site Completely Crashed Link to this post

    I have not done anything to my website for months now. Today I went to check on it and found that the general "can't access server" message. I tried to get into my admin panel, but it displayed the same message. I found some help on the forums and got in using the debugging mode.

    Here is the error that I am getting:

    "FATAL ERROR: DATABASE ERROR: Couldn't run query: INSERT INTO `PageView` SET Created = NOW() | Table 'PageView' is marked as crashed and should be repaired
    At line 397 in /home/p335657r/public_html/sapphire/core/model/Database.php"

    There is alot more after that, should I post it as well?

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Site Completely Crashed Link to this post

    try with repairing your database. make sure you have a back up first.

  • D.K.
    Avatar
    Community Member
    20 Posts

    Re: Site Completely Crashed Link to this post

    Go to http://www.yoursite.com/db/build?flush=1, replacing yoursite.com with your site name

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Site Completely Crashed Link to this post

    D.K I dont think that will fix the issue, what I believe is that this has happened because of the database has crashed. to repair the database refer to the following url

    http://dev.mysql.com/doc/refman/5.0/en/repair.html

    934 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.