Thread: Error Log issue

Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    712
    Plugin Contributions
    0

    Default Error Log issue

    Hi All,

    I am getting this error log message on my live site and I am thinking that I have done something wrong when I was trying to tidy up the test site. Anyway this is the message that I am receiving in the logs.

    [13-Jun-2025 15:55:18 Australia/Sydney] Request URI: /, IP address: 206.83.122.41, Language id 1
    #0 /includes/templates/bootstrap/templates/tpl_index_categories.php(55): zen_debug_error_handler()
    #1 /includes/templates/bootstrap/templates/tpl_index_categories.php(55): require()
    #2 /includes/modules/pages/index/main_template_vars.php(231): require('/home/a1ntacdk3...')
    #3 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/a1ntacdk3...')
    #4 /index.php(94): require('/home/a1ntacdk3...')
    --> PHP Warning: require(includes/languages/english/html_includes/define_main_page.php): Failed to open stream: No such file or directory in /includes/templates/bootstrap/templates/tpl_index_categories.php on line 55.

    [13-Jun-2025 15:55:18 Australia/Sydney] PHP Fatal error: Uncaught Error: Failed opening required 'includes/languages/english/html_includes/define_main_page.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /includes/templates/bootstrap/templates/tpl_index_categories.php:55
    Stack trace:
    #0 /includes/modules/pages/index/main_template_vars.php(231): require()
    #1 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/a1ntacdk3...')
    #2 /index.php(94): require('/home/a1ntacdk3...')
    #3 {main}
    thrown in /includes/templates/bootstrap/templates/tpl_index_categories.php on line 55

    [13-Jun-2025 15:55:18 Australia/Sydney] Request URI: /, IP address: 206.83.122.41
    --> PHP Fatal error: Uncaught Error: Failed opening required 'includes/languages/english/html_includes/define_main_page.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /includes/templates/bootstrap/templates/tpl_index_categories.php:55
    Stack trace:
    #0 /includes/modules/pages/index/main_template_vars.php(231): require()
    #1 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/a1ntacdk3...')
    #2 /index.php(94): require('/home/a1ntacdk3...')
    #3 {main}
    thrown in /includes/templates/bootstrap/templates/tpl_index_categories.php on line 55.

    This is what is in the tpl index categories.php file on line 5 to 59

    $screen_reader_only = '';

    if ($heading_title === '') {

    $heading_title = HEADING_TITLE_SCREENREADER;

    $screen_reader_only = ' sr-only';

    }

    Any assistance would be appreciated
    Outdoorking
    Test Site www.dev.outdoorking.com

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,826
    Plugin Contributions
    0

    Default Re: Error Log issue

    sigh, your line numbers are off, you have edited that file in the past and somehow ended up with it double spaced

    learn how to read the log, you are being lazy...
    Failed opening required 'includes/languages/english/html_includes/define_main_page.php'
    what do you think that means? seems this file "define_main_page.php" is missing from this path "includes/languages/english/html_includes/"
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    712
    Plugin Contributions
    0

    Default Re: Error Log issue

    Quote Originally Posted by barco57 View Post
    sigh, your line numbers are off, you have edited that file in the past and somehow ended up with it double spaced

    learn how to read the log, you are being lazy...
    Failed opening required 'includes/languages/english/html_includes/define_main_page.php'
    what do you think that means? seems this file "define_main_page.php" is missing from this path "includes/languages/english/html_includes/"
    Ok the file was empty for some reason and have uploaded the correct one (will wait to see if the error shows up again).

    I have one question and that is do I only take notice of the PHP line as I am still trying to learn on how to deal with the logs. I looked at all the files prior to that line because no-one has advised me on how I should tackle the logs in the past.

    It would be good to see a video on how to work out the process so that the average person can see what should be done on how to decipher the log.
    Outdoorking
    Test Site www.dev.outdoorking.com

 

 

Similar Threads

  1. Log in Issue
    By TheRavenGuard in forum General Questions
    Replies: 1
    Last Post: 16 Sep 2021, 06:48 PM
  2. v154 [Host issue, not a bug] Mass Log File Issue and Site is Down
    By MortalWombat in forum Bug Reports
    Replies: 5
    Last Post: 27 Jan 2016, 06:57 AM
  3. Log In/Log Out link issue...
    By d1driftbiz in forum General Questions
    Replies: 1
    Last Post: 14 Oct 2007, 06:47 AM
  4. log in/log out 404 -NOT double directory issue
    By felixthehat in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 30 Sep 2006, 02:35 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