Jump to:

21287 Posts in 5733 Topics by 2602 members

General Questions

SilverStripe Forums » General Questions » SS3 "Please log in and try again" Found the culprit

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 268 Views
  • tazzydemon
    Avatar
    Community Member
    88 Posts

    SS3 "Please log in and try again" Found the culprit Link to this post

    If any of you have been driven nuts by having alert boxes with "Please log in and try again" and entire popup windows ready for the login then the chances are you are developing using a laptop.

    The culprit is, I believe, in LeftAndMainPing.js where the site is ajax pinged (or simply ajaxed) in the background to keep the session going. The snag is that with some devices, like my laptop, the net connection is not available 100% of uptime. Once it fails the popups pile up bigtime which is a huge irritation.

    Solutions?
    1. Ping 8.8.8.8 (google's dns) to see if there's a net connection before attempting the connection to login status. However this is cross site requesting which is not favoured.
    2. Use the window.navigator.onLine property supported by browsers. I am trying this right now and will report.

    Julian

  • Willr
    Avatar
    Forum Moderator
    5163 Posts
  • tazzydemon
    Avatar
    Community Member
    88 Posts

    Re: SS3 "Please log in and try again" Found the culprit Link to this post

    No not related. There is only an admin super user in existence at this time. And my fix didn't work... yet!

  • okotoker
    Avatar
    Community Member
    38 Posts

    Re: SS3 "Please log in and try again" Found the culprit Link to this post

    I am having the issue from the ticket. What do I need to do to solve this?

    268 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.