Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

Site Completely Crashed


Reply

4 Posts   958 Views

Avatar
MatthewMathis

12 February 2009 at 10:55pm Community Member, 1 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?

Avatar
Nivanka

13 February 2009 at 4:52am Community Member, 395 Posts

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

Avatar
D.K.

13 February 2009 at 5:07pm Community Member, 20 Posts

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

Avatar
Nivanka

13 February 2009 at 7:44pm Community Member, 395 Posts

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

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