Post by chk1234567 » Wed Sep 25, 2024 9:46 pm

Hi everyone,

I'm currently working on some backend modifications and have put my site in maintenance mode. However, I would like visitors to still be able to subscribe to the newsletter during this period by leaving their email addresses for future notifications.

The issue I'm facing is that when maintenance mode is active, trying to subscribe to the newsletter results in a 503 error from the following route:
/index.php?route=extension/module/newsletter/subscribe.

Can someone please assist me in allowing newsletter subscriptions to remain functional while the site is in maintenance mode?
How I can bypass the maintenance mode to allow newsletter subscriptions?
Thank you in advance for any guidance!

Thanks.

Newbie

Posts

Joined
Fri Jan 19, 2024 6:43 pm

Post by JNeuhoff » Wed Sep 25, 2024 10:03 pm

There is no extension/module/newsletter/subscribe in the OpenCart 4.0.x.x releases. Are you using a 3rd party extension? In order to get some help here please provide some details, see forum rules.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by chk1234567 » Wed Sep 25, 2024 10:45 pm

It's very difficult to get help from this forum.

I don't understand why no one is responding to a simple functionality issue.

its not an exact extension issue it's framework flow.
Any site can be set to maintenance mode for enhancements and show a message to users, like: "Subscribe to get notified when our site is back."

If the framework blocks all front-end functionalities in maintenance mode, how can users subscribe or contact the site?

its not about the newsletter or subscription it's for any other functionality that we need to run for visitors in maintenance mode.
what is the use of this framework then?

Please suggest a solution.

Newbie

Posts

Joined
Fri Jan 19, 2024 6:43 pm

Post by by mona » Wed Sep 25, 2024 10:58 pm

chk1234567 wrote:
Wed Sep 25, 2024 10:45 pm
Please suggest a solution.
A suggested solution that is FREE
add a link with a contact address in the maintenance message !

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by by mona » Wed Sep 25, 2024 11:08 pm

This is outside the scope of free support.

Nevertheless:
catalog/controlle/startup/maintenance.php
find

Code: Select all

 $ignore = array(
I added

Code: Select all

'information/contact',	
and that worked fine.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 2 guests