Page 9 of 10 FirstFirst ... 78910 LastLast
Results 81 to 90 of 95
  1. #81
    Join Date
    May 2005
    Location
    England
    Posts
    626
    Plugin Contributions
    0

    Default Re: Display Log Files [Support Thread]

    Hello there,

    Thanks for that, I got the following:-

    The current error-log file is /home/*****/logs/thegemtree_com.php.error.log.
    The current error log is not set correctly, it should be /home/******/public_html/logs/myDEBUG-1499960758-270099.log; retrying ....
    Reset error_log to /home/*****/logs/*****_com.php.error.log

    I think I need to change 'doc_root' with the hosts. The zencart logs folder is at /public_html/logs so I think that must be the issue.

  2. #82
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: Display Log Files [Support Thread]

    Look in your /includes/configure.php and /YOUR_ADMIN/includes/configure.php files; what is your setting for DIR_FS_CATALOG (for v1.5.5+) or DIR_FS_LOGS (for ZC versions < 1.5.5)?

  3. #83
    Join Date
    May 2005
    Location
    England
    Posts
    626
    Plugin Contributions
    0

    Default Re: Display Log Files [Support Thread]

    For includes configure I have:-

    // define('DIR_FS_LOGS' ...
    define('DIR_FS_CATALOG', '/home/*****/public_html/');
    For the first bit, it says no need to change, but some sites may need to alter. So perhaps mine falls into the minority since php7 change and needs setting

    For admin version of configure I have the same as above.

  4. #84
    Join Date
    Sep 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Display Log Files [Support Thread]

    Is there a way to turn off the "Display Log File" heading on the main admin page? i.e. " 323 debug-log files exist, click here to view."
    I run zencarts for customers and this freaks them out and I don't want to have them just start clicking around. I have put the fear of TODD into them to just not mess with any of the links east of "Reports" on the nav ribbon. So having the "Display Log Files" in the tools link is enough for me. I will begin to look there as one of the first things I do when working on someones site.

    Thanks.

  5. #85
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: Display Log Files [Support Thread]

    Quote Originally Posted by rayzermatic View Post
    Is there a way to turn off the "Display Log File" heading on the main admin page? i.e. " 323 debug-log files exist, click here to view."
    I run zencarts for customers and this freaks them out and I don't want to have them just start clicking around. I have put the fear of TODD into them to just not mess with any of the links east of "Reports" on the nav ribbon. So having the "Display Log Files" in the tools link is enough for me. I will begin to look there as one of the first things I do when working on someones site.

    Thanks.
    Not currently without a coding change (I'll add this as a change-request in the plugin's GitHub repository).

    For now, you can edit the file /YOUR_ADMIN/includes/init_includes/init_display_logs.php to comment out that section for your purposes:
    Code:
    ...
    
    // -----
    // If the current plugin version is different from that recorded in the database, update the database!
    //
    if (DISPLAY_LOGS_VERSION != DISPLAY_LOGS_CURRENT_VERSION) {
        $db->Execute(
            "UPDATE " . TABLE_CONFIGURATION . "
                SET configuration_value = '" . DISPLAY_LOGS_CURRENT_VERSION . "'
              WHERE configuration_key = 'DISPLAY_LOGS_VERSION'
              LIMIT 1"
        );
    }
    
    /*-bof- Don't display the warning message
    // -----
    // Check to see if there are any debug-logs present and, if so, notify the current admin via header message ... unless the admin is already on the display logs page.
    //
    if ($current_page != FILENAME_DISPLAY_LOGS . '.php') {
        $path = (defined('DIR_FS_LOGS')) ? DIR_FS_LOGS : DIR_FS_SQL_CACHE;
        $log_files = glob($path . '/myDEBUG-*.log');
        $num_log_files = ($log_files === false) ? 0 : count ($log_files);
        unset ($log_files);
        if ($num_log_files > 0) {
            $messageStack->add(sprintf(DISPLAY_LOGS_MESSAGE_LOGS_PRESENT, $num_log_files, zen_href_link(FILENAME_DISPLAY_LOGS)), 'caution');
        }
    }
       -eof-Don't display the warning message */

  6. #86
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: Display Log Files [Support Thread]

    I've just submitted v2.1.2 of "Display Log Files" for moderator review and will post back here when it's available for download.

    This version corrects an integration issue with zc156+, where the logfile names were slightly changed ... causing the "Display debug-logs only?" checkbox feature to no longer work.

  7. #87
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: Display Log Files [Support Thread]


  8. #88
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: Display Log Files [Support Thread]

    I've just submitted v2.2.0 of Display Log Files to the Zen Cart moderators for review and will post back here once it's available for download.

    This release contains changes associated with GitHub issue #14, recognizing that log-file names might now include a trailing error-severity suffix, aligning with Report All Errors, v3.1.0 (also just submitted).

  9. #89
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: Display Log Files [Support Thread]

    Quote Originally Posted by lat9 View Post
    I've just submitted v2.2.0 of Display Log Files to the Zen Cart moderators for review and will post back here once it's available for download.

    This release contains changes associated with GitHub issue #14, recognizing that log-file names might now include a trailing error-severity suffix, aligning with Report All Errors, v3.1.0 (also just submitted).
    Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1583

  10. #90
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    Default Re: Display Log Files [Support Thread]

    Quote Originally Posted by lat9 View Post
    Hello! I noticed your website says this plugin is obsolete:

    https://vinosdefrutastropicales.com/...products_id=21

    but I cannot find this ability in my 157c Zen Cart. Thank you!

 

 
Page 9 of 10 FirstFirst ... 78910 LastLast

Similar Threads

  1. v151 Log Manager [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 19 Oct 2023, 11:44 AM
  2. v155 Big Files support thread
    By swguy in forum Addon Admin Tools
    Replies: 6
    Last Post: 9 Nov 2021, 07:06 AM
  3. v156 PWA, Offline support Push notifications addon [Support Thread]
    By perfumbg in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 May 2019, 02:27 PM
  4. v155 WordPress Product Display Support Thread
    By swguy in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 Jul 2017, 12:04 AM
  5. v150 Admin Password Change Alert Message Display -- Support Thread
    By lat9 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 24 Dec 2015, 04:53 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