Sorry, The Store Is Temporarily Closed For Maintenance

Hi all



I have Cs-cart 4.x installed and now I could not view/access both frontend and backend page. It s always display error: “Sorry, the store is temporarily closed for maintenance.”



I tried to mv var/cache but failed to get it work again



Please advise me how to show this problem



Thanks

Open the config.php file and uncomment the following line to check the error message:



//define('DEVELOPMENT', true);




Thanks

Hello



I am having the same issues lately and when I uncomment the //define('DEVELOPMENT', true); and also the debug ruling I see the following



Message
Duplicate entry 'a9ce085f998020c69e3628a8542bd23d_2' for key 'PRIMARY' (1062)
REPLACE INTO cscart_stored_sessions SELECT * FROM cscart_sessions WHERE expiry < 1415270829
Error at
app/Tygh/Database.php, line: 639
Backtrace
File: app/Tygh/Database.php
Line: 322
Function: _error
File: app/functions/fn.database.php
Line: 130
Function: query
File: app/Tygh/Backend/Session/Database.php
Line: 120
Function: db_query
File: app/Tygh/Session.php
Line: 195
Function: gc
File: app/Tygh/Session.php
Line: 327
Function: gc
File: app/Tygh/Session.php
Line: 448
Function: start
File: app/functions/fn.init.php
Line: 918
Function: init
File: init.php
Line: 133
Function: fn_init
File: index.php
Line: 24
Function: require

Find that key value in cs_cart_sessions and delete it.

[quote name='tbirnseth' timestamp='1415232472' post='196177']

Find that key value in cs_cart_sessions and delete it.

[/quote]



I tried that my friend but it only resolved the issue for a while, I posted this problem as a bug yesterday. Very frustrating because at the moment I am postponing purchases of any add-ons like your admin menu and bitpay module from Ecom-Labs. This has to be sorted out first.

Your experience is uncommon so I can only assume you either have a problem in your store (or an addon you purchased) or that you have malware that is messing with your site. Odds are you have an addon that is incorrectly manipulating the sessions table.