Author Topic: Logged in but canot see normal storefront when Maintenance Mode is ON  (Read 6298 times)

Offline Gleaf

  • Newbie
  • *
  • Posts: 33
  • Karma: +6/-0
    • View Profile
Ask a question:
(V1.2.9)
Only a few times I can see storefront as normal (with a  Maintenance Mode is ON notice on top left corner),
most time I can only see the maintenance message. Cleared all browser and AbanteCart caches, refresh pages, open from the storefront link in control panel or directly type url on browser, no change.
What's the trick to seeing storefront normally ? 

Thanks.

Offline Gleaf

  • Newbie
  • *
  • Posts: 33
  • Karma: +6/-0
    • View Profile
Re: Logged in but canot see normal storefront when Maintenance Mode is ON
« Reply #1 on: February 24, 2017, 10:30:27 PM »
Looks like I found out :D  but I can not delete this post :(

(1) I can not see storefront as normal after login if Maintenance Mode is ON before login.

(2) I can see storefront normally (with notice of Maintenance mode is ON) if:
_Maintenance Mode is ON before login, after login I turn it off, and turn on again.
_Maintenance Mode is OFF before login, after login I turn it on.

Is this supposed to be a normal practice?   

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Logged in but canot see normal storefront when Maintenance Mode is ON
« Reply #2 on: February 26, 2017, 09:56:49 AM »
What login do you refer to? Admin or customer login?

If Maintenance Mode is ON, storefront should not be functional for any operation.
Keep in mind that if you are loggedin as admin in the same browser, Storefront maintenance mode might be ignored and you will see message at the top.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline Gleaf

  • Newbie
  • *
  • Posts: 33
  • Karma: +6/-0
    • View Profile
Re: Logged in but canot see normal storefront when Maintenance Mode is ON
« Reply #3 on: February 26, 2017, 07:05:00 PM »
...Keep in mind that if you are loggedin as admin in the same browser, Storefront maintenance mode might be ignored and you will see message at the top.

Thanks.

I mean Admin login. My test site is on maintenance mode, I logged in to change some settings, and edit some blocks, wanted to see the result, but I can not see storefront as normal, only see the  maintenance page, I did open in the same browser.
 
'Storefront maintenance mode MIGHT be ignored', and it MIGHT NOT be ignored. This is the problem. It supposed to be always ignored if I login to control panel as Admin.

As stated in my post, the maintenance mode will be ignored only under the following condition:
   log in as admin, and at least do one time 'Turn On' maintenance mode. If it was ON before login, I have to turn it off and turn on again.

I have tested several times, and just tried again to make sure before I post this message, and got the same result. 


« Last Edit: February 26, 2017, 07:38:45 PM by Gleaf »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile

Offline Gleaf

  • Newbie
  • *
  • Posts: 33
  • Karma: +6/-0
    • View Profile
Re: Logged in but canot see normal storefront when Maintenance Mode is ON
« Reply #5 on: March 01, 2017, 08:36:04 PM »
Thank you!  I did and it's good now.

Offline Gleaf

  • Newbie
  • *
  • Posts: 33
  • Karma: +6/-0
    • View Profile
Re: Logged in but canot see normal storefront when Maintenance Mode is ON
« Reply #6 on: March 02, 2017, 09:54:09 PM »
This may need another fix:

After apply this fix, can not log out normally, will get this message:  "Invalid token session. Please login again."  Then type user name and password, login again, will be immediately logged out normally.

Next time, again, login is normal, logout need to login again to complete.
 
 

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Logged in but canot see normal storefront when Maintenance Mode is ON
« Reply #7 on: March 03, 2017, 12:16:29 AM »
Can you please clear AbanteCart and browser cache. Then try again

Offline Gleaf

  • Newbie
  • *
  • Posts: 33
  • Karma: +6/-0
    • View Profile
Re: Logged in but canot see normal storefront when Maintenance Mode is ON
« Reply #8 on: March 03, 2017, 07:29:07 PM »
Yes, I just did:
1- cleared browser cache (IE)
2- log in
3- cleared all AbanteCart caches
4- log out, I got the same error message.  "Invalid token session. Please login again." 
5- close browser directly
6- re-open browser
7- log in , I can log in normally
8- log out, and again got the same error message

Tried on MS Edge for Windows 10, every thing is the same.


Offline franz

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-1
    • View Profile
Re: Logged in but canot see normal storefront when Maintenance Mode is ON
« Reply #9 on: March 24, 2017, 04:41:22 PM »
I cant see the store front either in maintenance mode which to me is a real bug in the program. I saw the code for the fix i guess but i am not a programmer, i am a wanna be trying to use your cart so how i am i suppose to fix it?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Logged in but canot see normal storefront when Maintenance Mode is ON
« Reply #10 on: March 27, 2017, 03:49:17 AM »
I cant see the store front either in maintenance mode which to me is a real bug in the program. I saw the code for the fix i guess but i am not a programmer, i am a wanna be trying to use your cart so how i am i suppose to fix it?

Hello.
 If you can not edit files please wait for the official release. All new fixes will be there

 

Powered by SMFPacks Social Login Mod