Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2010
    Posts
    72
    Plugin Contributions
    0

    Default myDEBUG File generates everyday with this information - please take a look

    Hello All guru's!

    I have had this file generate every day and I cant seem to get it to the bottom of it.

    I am pasting the contents of the debug file below:
    ----------------------------------------start of cut/paste--------------------------------------------------
    [03-Oct-2019 05:15:38 UTC] Request URI: /zencartcart/index.php?main_page=product_info&cPath=1_31&products_id=127, IP address: 50.66.87.22
    #1 zen_categories_ul_generator->buildBranch() called at [/home/ult/public_html/zencartcart/includes/classes/categories_ul_generator.php:85]
    #2 zen_categories_ul_generator->buildTree() called at [/home/ult/public_html/zencartcart/includes/templates/responsive_clone/templates/tpl_modules_mobile_menu.php:38]
    #3 require(/home/ult/public_html/zencartcart/includes/templates/responsive_clone/templates/tpl_modules_mobile_menu.php) called at [/home/ult/public_html/zencartcart/includes/templates/responsive_clone/common/tpl_main_page.php:258]
    #4 require(/home/ult/public_html/zencartcart/includes/templates/responsive_clone/common/tpl_main_page.php) called at [/home/ult/public_html/zencartcart/index.php:97]

    [03-Oct-2019 05:15:38 UTC] PHP Warning: A non-numeric value encountered in /home/ult/public_html/zencartcart/includes/classes/categories_ul_generator.php on line 58
    [03-Oct-2019 05:15:38 UTC] Request URI: /zencartcart/index.php?main_page=product_info&cPath=1_31&products_id=127, IP address: 50.66.87.22
    #1 zen_categories_ul_generator->buildBranch() called at [/home/ult/public_html/zencartcart/includes/classes/categories_ul_generator.php:85]
    #2 zen_categories_ul_generator->buildTree() called at [/home/ult/public_html/zencartcart/includes/templates/responsive_clone/templates/tpl_modules_mobile_menu.php:38]
    #3 require(/home/ult/public_html/zencartcart/includes/templates/responsive_clone/templates/tpl_modules_mobile_menu.php) called at [/home/ult/public_html/zencartcart/includes/templates/responsive_clone/common/tpl_main_page.php:258]
    #4 require(/home/ult/public_html/zencartcart/includes/templates/responsive_clone/common/tpl_main_page.php) called at [/home/ult/public_html/zencartcart/index.php:97]

    [03-Oct-2019 05:15:38 UTC] PHP Warning: A non-numeric value encountered in /home/ult/public_html/zencartcart/includes/classes/categories_ul_generator.php on line 73

    ---------------------------------------------------end of cut/paste---------------------------------------------------

    Does anyone have any ideas on how to resolve these issues? Im guessing that I messed up these files possibly when customizing things or is this all normal?

    Many thanks in advance!

  2. #2
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,238
    Plugin Contributions
    1

    Default Re: myDEBUG File generates everyday with this information - please take a look

    If you search the forum for threads titled 'A non-numeric value encountered' you will find a number of posts on this topic.
    Simon

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: myDEBUG File generates everyday with this information - please take a look

    If you pull includes/classes/categories_ul_generator.php from Zen Cart 1.5.6 and replace yours with the newer version, this will solve your issue.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  4. #4
    Join Date
    Jul 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: myDEBUG File generates everyday with this information - please take a look

    Many thanks!!! Gonna try this now!!

  5. #5
    Join Date
    Jul 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: myDEBUG File generates everyday with this information - please take a look

    unfortunately didnt fix anything. it actually produced more errors.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: myDEBUG File generates everyday with this information - please take a look

    Can you be more specific?
    That Software Guy. My Store: Zen Cart Modifications
    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.

  7. #7
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: myDEBUG File generates everyday with this information - please take a look

    If you still have the version of the code that was originally providing the message once a day, could you post say lines 50-73? It may be that the file is otherwise modified and when replaced with original code causes issues.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Please take a look at this, advice needed.
    By digilime in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Dec 2009, 10:43 AM
  2. Can someone please take a look at this SQL?
    By conor in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 2 Sep 2008, 06:12 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