Page 12 of 13 FirstFirst ... 210111213 LastLast
Results 111 to 120 of 124
  1. #111
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,640
    Plugin Contributions
    88

    Default Re: IP Blocker 1.5.1

    Did you have an active session at the time you blocked the access? From code inspection, if the IP address is active at the time the 'block' was added then it's not blocked until the next attempted session.

    Noting also that the updates made to the admin's whos_online.php haven't kept up with the various changes in zc156.

  2. #112
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,608
    Plugin Contributions
    30

    Default Re: IP Blocker 1.5.1

    ...hmm, later it did block it. So, works as expected.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  3. #113
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,608
    Plugin Contributions
    30

    Default Re: IP Blocker 1.5.1

    Note for testing, just delete the zenid cookie to reset the session in that browser.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  4. #114
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,640
    Plugin Contributions
    88

    Default Re: IP Blocker 1.5.1

    I've just submitted v2.2.0 of the IP Blocker to the plugin moderators for review and will post back here once it's available (https://www.zen-cart.com/downloads.php?do=file&id=1814) for download.

    This release contains changes associated with the following GitHub issues. Note that support is dropped for Zen Cart versions prior to 1.5.6!

    #12: Correct use of PHP's serialize function.
    #13: Correct "special_login" page location; issue when store is installed in a sub-directory.
    #14: Restructure, using HTML5 for zc156+.
    #15: Reduce changes to `whos_online.php` (1 change section).
    #16: Correct MySQL error on initial install.
    #17: Use the built-in `zen_get_ip_address` to retrieve the current IP address.
    #18: Automatically block addresses found invalid by `zen_get_ip_address`
    #19: Remove unused fields from the database table.
    #20: Admin: Use PHP's `val_function` to validate any entered IP address.
    #21: Add language-constant to contain the `special_login` page's instructions.
    #22: No exit, now, from the `special_login` page if the configured password is blank/empty.
    #23: Simplify storefront checks for wildcard IP address ranges.
    #25: Admin: Display the password (hashed) as a simple input field instead of a password one.

  5. #115
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,640
    Plugin Contributions
    88

    Default Re: IP Blocker 1.5.1

    v2.2.0 is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1814

  6. #116
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    41
    Plugin Contributions
    0

    Default Re: IP Blocker 1.5.1

    Just installed the 2.2.0 ip blocker.
    i am getting this error message on Php 7.3 zen 1.5.7

    PHP Warning: A non-numeric value encountered in whos_online.php on line 75


    That line is this
    $xx_mins_ago = (time() - 'WHOIS_TIMER_REMOVE');

    Has anyone else had this happen?
    Kind Regards,
    Gail
    www.goodiesbygail.com

  7. #117
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: IP Blocker 1.5.1

    Quote Originally Posted by GoofyGrrl2 View Post
    Just installed the 2.2.0 ip blocker.
    i am getting this error message on Php 7.3 zen 1.5.7

    PHP Warning: A non-numeric value encountered in whos_online.php on line 75


    That line is this
    $xx_mins_ago = (time() - 'WHOIS_TIMER_REMOVE');

    Has anyone else had this happen?
    1. There should not be quotes around 'WHOIS_TIMER_REMOVE'.
    2. That's the 1.5.6 version of the file, but you said you're using v1.5.7 (which has a very different version of that file).
    .

    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.

  8. #118
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    41
    Plugin Contributions
    0

    Default Re: IP Blocker 1.5.1

    Quote Originally Posted by DrByte View Post
    1. There should not be quotes around 'WHOIS_TIMER_REMOVE'.
    2. That's the 1.5.6 version of the file, but you said you're using v1.5.7 (which has a very different version of that file).
    Thank you I have corrected that and get this error about the same line.
    PHP Warning: Use of undefined constant WHOIS_TIMER_REMOVE - assumed 'WHOIS_TIMER_REMOVE' (this will throw an Error in a future version of PHP)
    Kind Regards,
    Gail
    www.goodiesbygail.com

  9. #119
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: IP Blocker 1.5.1

    Quote Originally Posted by GoofyGrrl2 View Post
    Thank you I have corrected that and get this error about the same line.
    PHP Warning: Use of undefined constant WHOIS_TIMER_REMOVE - assumed 'WHOIS_TIMER_REMOVE' (this will throw an Error in a future version of PHP)
    Prior to 1.5.7 that constant was defined in the whos online language file. In 1.5.7 it chooses a default if it's not defined.
    I can't speak to the plugin you're using: maybe you're using a version of it that's not ready for 1.5.7?
    You didn't quote the log details which explain the name of the file where the warning is occurring, so it's increasingly difficult to give any sort of useful assistance.
    .

    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.

  10. #120
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    41
    Plugin Contributions
    0

    Default Re: IP Blocker 1.5.1

    Quote Originally Posted by DrByte View Post
    Prior to 1.5.7 that constant was defined in the whos online language file. In 1.5.7 it chooses a default if it's not defined.
    I can't speak to the plugin you're using: maybe you're using a version of it that's not ready for 1.5.7?
    You didn't quote the log details which explain the name of the file where the warning is occurring, so it's increasingly difficult to give any sort of useful assistance.

    Thank you for mentioning that. I looked and compared the whos_online.php file to the 1.5.7 file and they were different so I copied the newest one from the 1.5.7 zen version and I believe that fixed it. I am not getting any error logs now. I am so sorry for the bother. I should have checked that to begin with. I do appreciate your help.
    Kind Regards,
    Gail
    www.goodiesbygail.com

 

 
Page 12 of 13 FirstFirst ... 210111213 LastLast

Similar Threads

  1. v139h Pop up blocker blocking new window
    By kitten091182 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Nov 2013, 02:07 PM
  2. v139g ip blocker mod problem
    By michelleodin in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 24 Nov 2012, 04:54 PM
  3. IP Blocker for Admin side?
    By fe1lho in forum Basic Configuration
    Replies: 3
    Last Post: 18 May 2010, 04:48 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