Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2007
    Location
    USA
    Posts
    874
    Plugin Contributions
    5

    Default Missing Product Triggering Functions_Lookup Bugs - Line 646

    v157d

    PHP Notice: Undefined index: products_description in /includes/functions/functions_lookups.php on line 646

    Removed and uploaded v157d functions files hasn’t helped.

    Product ID’s are missing.

    Can the ID’s be forced into the DB to fix this; somehow?
    Cheers!
    v2.0+

  2. #2
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Missing Product Triggering Functions_Lookup Bugs - Line 646

    Quote Originally Posted by Webskipper View Post
    v157d

    PHP Notice: Undefined index: products_description in /includes/functions/functions_lookups.php on line 646

    Removed and uploaded v157d functions files hasn’t helped.

    Product ID’s are missing.

    Can the ID’s be forced into the DB to fix this; somehow?
    What version of php is being used?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Nov 2007
    Location
    USA
    Posts
    874
    Plugin Contributions
    5

    Default Re: Missing Product Triggering Functions_Lookup Bugs - Line 646

    Quote Originally Posted by mc12345678 View Post
    What version of php is being used?
    PHP 7.4 (ea-php74)
    Cheers!
    v2.0+

  4. #4
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Missing Product Triggering Functions_Lookup Bugs - Line 646

    Well, not sure why this isn't in ZC 1.5.7, but in 1.5.8, basically line 645 should be made to the following:
    Code:
    if ($product->EOF) return '';
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Nov 2007
    Location
    USA
    Posts
    874
    Plugin Contributions
    5

    Default Re: Missing Product Triggering Functions_Lookup Bugs - Line 646

    Thanks. Correct now?

    643
    644 $product = $db->Execute($product_query);
    645 if ($product->EOF) return '';
    646 return $product->fields['products_description'];
    647 }
    648

    No bugs in the log now except the missing product numbers which I probably deleted, and Ive known not to since the early days of OSC.
    Last edited by Webskipper; 16 Jul 2022 at 05:35 PM.
    Cheers!
    v2.0+

  6. #6
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Missing Product Triggering Functions_Lookup Bugs - Line 646

    Will at least prevent logging that issue.

    There may be other similar logs generated for other "empty" results as that *fix* was applied in a couple of places. Just keep an eye on your logs.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Product Title in One line. add (.....) From in line end..
    By jennydutch in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Sep 2014, 09:25 PM
  2. v151 Missing Category Divider Line
    By sports guy in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 18 Nov 2012, 05:51 PM
  3. Replies: 0
    Last Post: 16 Sep 2010, 06:10 AM
  4. Tiny MCE - Line 28 Missing?
    By bookseed in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Sep 2009, 12:28 AM
  5. Border line missing
    By rikartalex in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Oct 2007, 01:37 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