Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    bug Plugin Version Check Bug Delays Loading Admin Site Pages

    I was troubleshooting a problem with the Square Payment module and I came across a bug in the code. It was in \includes\functions\plugin_support.php on line 70:

    Code:
    [20-Feb-2020 11:28:32 America/Chicago] PHP Warning:  file_get_contents(https://plugins.zen-cart.com/versioncheck/156): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request
    
     in \www\store\includes\functions\plugin_support.php on line 70
    It turns out that my Admin site had been taking about 15 seconds to load a page and that it was because the plugin_support.php file was looking up a page (for each installed plugin) on the Zen-Cart website that no longer existed. This polling of the Zen-Cart website was timing out.

    The version of Zen-Cart I'm running is v1.5.5e.

    To fix the bug, I just commented out the code that was requesting the non-existent webpage and had the function return success. I figured I could keep up on my plugin versions myself and not have my ecommerce store dependent on another website in order to work properly.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Plugin Version Check Bug Delays Loading Admin Site Pages

    The version of Zen-Cart I'm running is v1.5.5e.
    I believe the communication code bug was fixed as part of v1.5.6
    .

    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.

  3. #3
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    Default Re: Plugin Version Check Bug Delays Loading Admin Site Pages

    Thanks.

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

    Default Re: Plugin Version Check Bug Delays Loading Admin Site Pages

    You can also navigate to your admin's Configuration->My Store->Show if version update available ... and change that setting to false.

  5. #5
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Re: Plugin Version Check Bug Delays Loading Admin Site Pages

    Please help me to solve this problem by share the exact code to change inside "\www\store\includes\functions\plugin_support.php"

    Thank you very very much!

 

 

Similar Threads

  1. v156 Admin: Version Check Error
    By PanZC2020 in forum Bug Reports
    Replies: 6
    Last Post: 26 Apr 2019, 05:07 PM
  2. Replies: 4
    Last Post: 8 Jan 2016, 09:29 AM
  3. v150 Can some one please check this out - Facebook plugin not loading
    By valsurfer101 in forum General Questions
    Replies: 3
    Last Post: 12 Dec 2012, 07:35 PM
  4. [BUG][install] Php Version Check
    By moku in forum General Questions
    Replies: 3
    Last Post: 15 May 2006, 12:30 AM

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