Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 79
  1. #61
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Admin Keepalive Timer [Support Thread]

    Trying to look into this, but a thread was begun identifying issues with this module (using latest) for an admin user that is not given superuser permissions while logged in to a ZC 1.5.4 site. Thread: https://www.zen-cart.com/showthread.php?t=217827

    Admin Logs have repeated "attempted access to unauthorized page [keepalive] for legitimate admin user.
    This admin user is not a 'superuser', ie: has restricted permissions.
    SuperUser admin does not cause similar log entries.

    Code:
    notice
    2015-07-21 06:29:06
    199.xx.xx.xx
    2 DailyAdminUser (not SuperUser)    
    keepalive.php    
    r=0.8515617775265127    
    1        
    Attempted access to unauthorized page [keepalive]. Redirected to DENIED page instead.    
    Array
    (
    )
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #62
    Join Date
    Aug 2011
    Posts
    104
    Plugin Contributions
    0

    Default Re: Admin Keepalive Timer [Support Thread]

    I am getting the "We are unable to connect to the server. Your work may be lost....." alert. It's super annoying, so I disabled the "alert('<?php echo TEXT_KEEPALIVE_SERVER_UNREACHABLE_MESSAGE1;?>');" code to no ill effects.

    I have noticed, though, that even when I click the "Yes, Keep Working" button, the header on the site continues to countdown, until it says "!!Expired Session" But It's not actually expired. Just the page's header says that. And the countdown isn't even consistent after clicking keep working, then navigate to another tab. It will hang out at like 181 2-3 seconds, 180 for even longer, sometimes flash the pages actual title, then continue counting down at normal speed once the tab is in focus. Once it says expired session, the next time the modal box pops up, it doesn't give the countdown, it says that the session expired and to login.

  3. #63
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Admin Keepalive Timer [Support Thread]

    Quote Originally Posted by apogeerockets View Post
    I am getting the "We are unable to connect to the server. Your work may be lost....." alert. It's super annoying, so I disabled the "alert('<?php echo TEXT_KEEPALIVE_SERVER_UNREACHABLE_MESSAGE1;?>');" code to no ill effects.

    I have noticed, though, that even when I click the "Yes, Keep Working" button, the header on the site continues to countdown, until it says "!!Expired Session" But It's not actually expired. Just the page's header says that. And the countdown isn't even consistent after clicking keep working, then navigate to another tab. It will hang out at like 181 2-3 seconds, 180 for even longer, sometimes flash the pages actual title, then continue counting down at normal speed once the tab is in focus. Once it says expired session, the next time the modal box pops up, it doesn't give the countdown, it says that the session expired and to login.
    Yes, this has been an issue for yonks and was first mentioned in this thread in Sept 2013.

    I have several ZC 1.5.4 installs on my local dev server (PHP 5.5.9, Apache 2.4 etc, Ubuntu OS, etc) and it happens only on one site, the others are not giving me the error. I did core file comparisons left, right and center but can't pin-point the cause of this annoying error. All the core files in admin are the same in all sites.

    Now I am thinking that there may be a clash with some other jscripts (from installed mods) which could produce that message..... so my next move will be to (temporarily) kick out all other non-core scripts from the admin/includes/javascript folder, test without them and add them back one by one. Tedious, but it may throw a light on this .... eventually.

  4. #64
    Join Date
    Jun 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Admin Keepalive Timer [Support Thread]

    I know this sounds like a dumb question, but wouldn't it be much simpler to allow the "Admin Session Time Out in Seconds" be set to infinite?

    The Admin Keep Alive timer only tells you ever so often that you are going to be timed out, and if you don't respond soon enough you will get logged out.

    I like to have the "who's online" page up just to pop in now and then to see if there's anyone there.

    Kjell Aa

  5. #65
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Admin Keepalive Timer [Support Thread]

    Quote Originally Posted by Kjell Aa View Post
    I know this sounds like a dumb question, but wouldn't it be much simpler to allow the "Admin Session Time Out in Seconds" be set to infinite?
    You loose your PCI compliance.....

    Quote Originally Posted by Kjell Aa View Post
    The Admin Keep Alive timer only tells you ever so often that you are going to be timed out, and if you don't respond soon enough you will get logged out.

    I like to have the "who's online" page up just to pop in now and then to see if there's anyone there.

    Kjell Aa
    If you want that to happen then you only need to set "Updating Manually" (top right hand box) from the default "OFF" to 1 Min.

  6. #66
    Join Date
    Jun 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Admin Keepalive Timer [Support Thread]

    And why do I not want to loose my PCI compliance.
    What is that?

    Kjell

  7. #67
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Admin Keepalive Timer [Support Thread]

    Quote Originally Posted by Kjell Aa View Post
    And why do I not want to loose my PCI compliance.
    What is that?

    Kjell
    Worth reading: https://www.pcicomplianceguide.org/pci-faqs-2/

  8. #68
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Admin Keepalive Timer [Support Thread]

    Quote Originally Posted by Kjell Aa View Post
    I like to have the "who's online" page up just to pop in now and then to see if there's anyone there.

    Kjell Aa
    If you want to do that, it's fine, as long as you create a separate Admin profile with permissions to only that page, and then leave that admin user logged in someplace with a refresh every 15 min or less.
    Just don't leave someone logged in to an admin ID that has permission to access all the other parts of your admin.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #69
    Join Date
    Jun 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Admin Keepalive Timer [Support Thread]

    PCL Compliance.
    As far as I can read it, this applies to webshops that stores or handles credit card data:
    "if any customer of that organization ever pays the merchant directly using a credit card or debit card, then the PCI DSS requirements apply"

    All I offer is PayPal, which does not pay me directly, and bank prepayment, which also do not pay anyting through my webshop.
    In any case it seems to be a US requirement, I have never heard anything about this in Europe.


    Secondly, why do I need to create a separate Admin profile to leave the admin page open?
    My PC is not in any public place, and it will only be open when I am in front of my PC screen.

    Third, where excactly do I put "Updating Manually" ?
    Is it instead of the 900 Seconds of Admin Session Time Out in Seconds?
    That doesn't work......

    Kjell

  10. #70
    Join Date
    Jun 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Admin Keepalive Timer [Support Thread]

    Hi guys,

    Can someone please help me here?
    I want to stop this auto logout completely.
    I just want to log on to my admin page, and then it should stay logged in until I log off.

    Some "php for dummies" assistance would be much appreciated.

    Kjell

 

 
Page 7 of 8 FirstFirst ... 5678 LastLast

Similar Threads

  1. v154 Will Admin Keepalive Timer work with v154?
    By SilverHD in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 2 Jun 2015, 03:19 PM
  2. v151 question about installing Admin Keepalive Timer Addon
    By SilverHD in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 30 Nov 2014, 11:08 PM
  3. Keepalive Timer and Orders Exporter conflict
    By gjh42 in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 1 Aug 2014, 02:15 PM
  4. Admin Keepalive timer
    By alhakeem2001 in forum Customization from the Admin
    Replies: 5
    Last Post: 22 Dec 2013, 05:12 PM
  5. v151 Blue Admin [Support Thread]
    By vvomble in forum Addon Templates
    Replies: 11
    Last Post: 27 May 2013, 09:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR