If my website is "Operating in maintenance mode" then "No front page content has been created yet." is displayed.

How to fix it? Is it a bug?

Thank you!

Comments

trk_ created an issue.

thalemn’s picture

I can confirm this issue.
When putting the site into Maintenance Mode, then I try to view the site after making updates (while still in MM), the frontpage is not working as expected.

The frontpage view is NOT enabled.
The page that is displayed in MM is /rss.xml

Would be good to try to fix this bug.

thalemn’s picture

In reviewing the module code, I removed the following and it seems to have fixed the problem:

  // Don't run when site is in maintenance mode
  if (variable_get('maintenance_mode', 0)) {
    return;
  }

I've tested this on a dev site and when I log out, the site is in maintenance mode (as expected). When I log in, and go to the homepage, the Frontpage for Owner is displayed (as expected).

Cleared Cache several times to make sure it's not being cached.

My solution is related to this solution.