Page 1 of 1

How to: Blank page in maintenance mode?

Posted: Sun Aug 27, 2017 8:17 pm
by Seraph77
How do I have a blank page in maintenance mode?

I've tried deleting everything in maintenance.twig but the page is still displaying in normal maintenance mode. Cache cleared.

OC 3.0.2.0

Re: How to: Blank page in maintenance mode?

Posted: Sun Aug 27, 2017 9:25 pm
by yodapt
Blank page might mean you have PHP errors but the error display setting is off, so the script stops but you dont see why.

Re: How to: Blank page in maintenance mode?

Posted: Sun Aug 27, 2017 9:37 pm
by Seraph77
Sorry I might not have been clear there....I WANT a blank page for the maintenance display. Not the default maintenance message.

Re: How to: Blank page in maintenance mode?

Posted: Sun Aug 27, 2017 11:07 pm
by DigitCart
Hi,
You can remove or comment out this line:

Code: Select all

$this->response->setOutput($this->load->view('common/maintenance', $data));
from this file:

Code: Select all

catalog\controller\common\maintenance.php

Re: How to: Blank page in maintenance mode?

Posted: Sun Aug 27, 2017 11:22 pm
by Seraph77
DigitCart...much appreciated. Thankyou!

Re: How to: Blank page in maintenance mode?

Posted: Sun Aug 27, 2017 11:28 pm
by DigitCart
Seraph77 wrote:
Sun Aug 27, 2017 11:22 pm
DigitCart...much appreciated. Thankyou!
You're welcome.