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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Site Completely Crashed


Go to End


4 Posts   1312 Views

Avatar
MatthewMathis

Community Member, 1 Post

12 February 2009 at 10:55pm

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

Community Member, 400 Posts

13 February 2009 at 4:52am

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

Avatar
D.K.

Community Member, 20 Posts

13 February 2009 at 5:07pm

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

Avatar
Nivanka

Community Member, 400 Posts

13 February 2009 at 7:44pm

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