URGENT: How can I shut down store if I can't access control panel?

I have an error…



Database error: Table 'cscart_orders' is marked as crashed and should be repaired (1194)
Invalid query: SELECT total FROM cscart_orders WHERE order_id




I need to sort it out, but first I need to close the store. How?

go into admin and select close store at bottom of screen.



then go to cpanel if you have it and into databases …repair tables.



john

Except that I can’t access the admin control panel because of the database error. :-)



I’ve fixed the error now though. But I’d still like to know, for the future, how to shut down the store from a config file (or something)

You might be able to close the store directly from your PHPmyadmin, but I'd think you'd want to be pretty darn careful with that one.



Besides that way and from the admin, I don't think there is any other way to close the store.



Brandon

[quote name=‘argentice’ timestamp=‘1311624292’ post=‘118231’]

Except that I can’t access the admin control panel because of the database error. :-)



I’ve fixed the error now though. But I’d still like to know, for the future, how to shut down the store from a config file (or something)

[/quote]



[font=“monospace”]Through phpMyAdmin you can go into your database and go into the cscart_settings table and change store_mode from ‘opened’ to ‘closed’[/font]