I decided to move my MAMP setup into Dropbox to sync between computers and along the way started getting this error:
A Database Error Occurred
Error Number: 1036
Table ‘exp_online_users’ is read only
SELECT * FROM (`exp_online_users`) WHERE `site_id` = ‘1’ AND `date` > 1299875149 ORDER BY `name`
Filename: libraries/Stats.php
Line Number: 82
I tried to repair the database tables through the CP tool as suggested in this old thread: http://ellislab.com/forums/viewreply/350264/
It said it was corrupt and now, my CP and front-end are completely blank.
Anything I can do? Thanks!