Maintenance Mode does not work

Merchant
Tól től Netherlands
Tagság ápr. 2015 óta

settings: "under construction" does not seem to work, I was hoping to shut out the costumers but be able to work on the shop and see it myselves. Activated it just gives some failure line.

tim
Founder
Tól től Sweden
Tagság máj. 2013 óta
tim

Issue confirmed. Create a new file and save it to pages/maintenance_mode.inc.php and give it some fancy text.

I will have this sorted out for 2.0.2

Törölve
Tól től Ismeretlen

Good day.

Is there any way to activate Maintenance Mode from admin?

Thank you very much!

Törölve
Tól től Ismeretlen

This works for me at the moment:

On the file


~/index.php```

after 
```require_once('includes/app_header.inc.php');```

add
```include vmod::check(FS_DIR_APP . 'pages/maintenance_mode.inc.php');```

comment out:

```route::load(FS_DIR_APP . 'includes/routes/url_*.inc.php');

route::add('#^([0-9a-zA-Z_/\.]+)(?:\.php)?$#', '$1');

route::process();```
tim
Founder
Tól től Sweden
Tagság máj. 2013 óta
tim

Does it not work toggling Admin -> Settings -> Listings -> Maintenace Mode?

https://demo.litecart.net/admin/?app=settings&doc=listings&action=edit&key=maintenance_mode
Törölve
Tól től Ismeretlen

Hi Tim,

It does work. But it still shows everything like and I would like to show nothing but the maintenance notice

Screenshot shows what customer sees after going to the main URL.

tim
Founder
Tól től Sweden
Tagság máj. 2013 óta
tim

Log out from admin and see what happens.

Törölve
Tól től Ismeretlen

Thank you! That works perfectly!!!

Ezt a témát a hosszú inaktivitás miatt bezártuk. A hozzászólás nem lehetséges.
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.