Page 1 of 2 12 LastLast
Results 1 to 10 of 52

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Mod List Support Thread

    1.5.7 - PHP 7.3.19 with Quick Updates, Clone, OPC, news box, Sales Report.

    Getting huge files with repetition of
    Code:
    [12-Jul-2020 17:34:51 UTC] Request URI: /******/index.php?cmd=mod_list, IP address: *************
    #1 in_array() called at [/zc_plugins/ModList/1.4.0/admin/mod_list.php:75]
    #2 require(/zc_plugins/ModList/1.4.0/admin/mod_list.php) called at [/******/index.php:23]
    --> PHP Warning: in_array() expects parameter 2 to be array, null given in /zc_plugins/ModList/1.4.0/admin/mod_list.php on line 75.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,522
    Plugin Contributions
    127

    Default Re: Mod List Support Thread

    Thanks for this report, @dbltoe. A number of changes were required for correct interoperation with Plugin Manager, and some issues were found in Plugin Manager itself that will be addressed soon.

    1.5.7 users who installed Mod List version 1.4.0 ONLY:

    Please run these commands in your Tools > Install SQL Patches screen:

    DELETE FROM plugin_control WHERE unique_key = 'ModList';

    DELETE FROM plugin_control_versions WHERE unique_key = 'ModList';

    Then grab Mod List 1.4.1 from the Plugins Library and install it.
    Last edited by swguy; 16 Jul 2020 at 12:45 PM.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,912
    Plugin Contributions
    13

    Default Re: Mod List Support Thread

    i am playing with 1.4.1 using the plugin manager on a base 1.5.7 system. i have a few comments. considering, we are in a 1.5.7 system, i would prefer the following change:

    PHP Code:
    <?php
    //from:
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET?>">
    <title><?php echo TITLE?></title>
    <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
    <link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS">
    <script language="javascript" src="includes/menu.js"></script>
    <script language="javascript" src="includes/general.js"></script>
    <script type="text/javascript">
      <!--
      function init()
      {
        cssjsmenu('navbar');
        if (document.getElementById)
        {
          var kill = document.getElementById('hoverJS');
          kill.disabled = true;
        }
      }
      // -->
    </script>
    </head>
    <body onLoad="init()">
    <!-- header //-->
    <?php require(DIR_WS_INCLUDES 'header.php'); ?>
    <!-- header_eof //-->
    <?php

    //to:
    ?>
    <!doctype html>
    <html <?= HTML_PARAMS?>>
    <head>
        <?php require DIR_WS_INCLUDES 'admin_html_head.php'?>
        <script src="includes/general.js"></script>
    </head>
    <body>
    <!-- header //-->
    <?php require(DIR_WS_INCLUDES 'header.php'); ?>
    <!-- header_eof //-->
    in addition, i am not sure i understand this plugin. why does it have all of the base 1.5.7 things listed here? see:

    Click image for larger version. 

Name:	Screenshot from 2020-08-06 10-16-32.jpg 
Views:	98 
Size:	52.0 KB 
ID:	19127

    are those items supposed to be there? those do not seem new to me....

    the payment modules seem correct, but why are the shipping modules and the order total modules listed? see:

    Click image for larger version. 

Name:	Screenshot from 2020-08-06 10-19-21.png 
Views:	101 
Size:	19.9 KB 
ID:	19128

    what might i be doing wrong? or reading incorrectly?
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Mod List Support Thread

    Not only are we getting everything in every menu, we are getting
    Code:
    [06-Aug-2020 18:11:43 UTC] Request URI: /jetmar/index.php?cmd=mod_list, IP address: 216.177.186.199
    #1 require(/zc_plugins/ModList/1.4.1/admin/mod_list.php) called at [/jetmar/index.php:23]
    --> PHP Warning: Use of undefined constant BUILT_IN_BOXES - assumed 'BUILT_IN_BOXES' (this will throw an Error in a future version of PHP) in /zc_plugins/ModList/1.4.1/admin/mod_list.php on line 75.
    for every listing.

    This winds up making a HUGE log file.

    Looks like the system is not really picking up the admin/includes/extra_configures/modlist.php even though the define is there.

    Lines 71 - 79 of admin/mod_list.php
    Code:
    <?php    } else { 
           while (!$pages->EOF) {
              $key = $pages->fields['language_key']; 
              if (in_array($key, BUILT_IN_BOXES)) { 
                 $pages->MoveNext();
                 continue;
              }
       ?>
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,912
    Plugin Contributions
    13

    Default Re: Mod List Support Thread

    yeah, i did not notice the log files, that makes sense now. i thought updates to the plugin manager had addressed this problem.

    guess not.

    who approved this plugin?!?
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Mod List Support Thread

    Quote Originally Posted by carlwhat View Post
    who approved this plugin?!?
    Inquiring minds want to know!

    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  7. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,912
    Plugin Contributions
    13

    Default Re: Mod List Support Thread

    Quote Originally Posted by dbltoe View Post

    Looks like the system is not really picking up the admin/includes/extra_configures/modlist.php even though the define is there.
    if you rename extra_configures to extra_datafiles, i think that will help.

    not sure if that is 'approved'; but it resolves the issue and makes this mod work. and keeps everything within the plugins directory.

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,522
    Plugin Contributions
    127

    Default Re: Mod List Support Thread

    Are you guys using the latest Mod List on 1.5.7? That version shouldn't have any of these issues.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #9
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,912
    Plugin Contributions
    13

    Default Re: Mod List Support Thread

    Quote Originally Posted by swguy View Post
    Are you guys using the latest Mod List on 1.5.7? That version shouldn't have any of these issues.
    current version does not work. my fix does.

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Mod List Support Thread

    Quote Originally Posted by carlwhat View Post
    if you rename extra_configures to extra_datafiles, i think that will help.

    not sure if that is 'approved'; but it resolves the issue and makes this mod work. and keeps everything within the plugins directory.

    best.
    Works a treat AND it gives just the right info versus listing EVERYTHING.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Local Sales Tax Mod - Support Thread
    By LadyHLG in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 658
    Last Post: 22 Dec 2025, 05:29 PM
  2. Printable Price list :: support thread
    By paulm in forum All Other Contributions/Addons
    Replies: 740
    Last Post: 18 May 2025, 02:23 PM
  3. Multi Cross Sell mod [Support thread]
    By gilby in forum All Other Contributions/Addons
    Replies: 475
    Last Post: 11 Apr 2020, 10:44 PM
  4. Just another Cross-Sell mod (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 702
    Last Post: 3 Nov 2012, 04:30 AM
  5. SplitTaxLines mod support thread
    By pdprenty in forum All Other Contributions/Addons
    Replies: 80
    Last Post: 19 Dec 2009, 10:01 PM

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