Post by Seraph77 » Sun Aug 27, 2017 8:17 pm

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

New member

Posts

Joined
Mon Aug 14, 2017 3:23 am

Post by yodapt » Sun Aug 27, 2017 9:25 pm

Blank page might mean you have PHP errors but the error display setting is off, so the script stops but you dont see why.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by Seraph77 » Sun Aug 27, 2017 9:37 pm

Sorry I might not have been clear there....I WANT a blank page for the maintenance display. Not the default maintenance message.

New member

Posts

Joined
Mon Aug 14, 2017 3:23 am

Post by DigitCart » Sun Aug 27, 2017 11:07 pm

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

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by Seraph77 » Sun Aug 27, 2017 11:22 pm

DigitCart...much appreciated. Thankyou!

New member

Posts

Joined
Mon Aug 14, 2017 3:23 am

Post by DigitCart » Sun Aug 27, 2017 11:28 pm

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

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm

Who is online

Users browsing this forum: No registered users and 13 guests