Page 5 of 10 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 95
  1. #41
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Display Log Files [Support Thread]

    Quote Originally Posted by torvista View Post
    This functionality (showing the existence of debug logs in the admin message stack) is included in 1.6, why not copy it from there and avoid an unnecessary upgrade merge.
    Understood.. and when 1.6 is released, I'll deal with it during the upgrade.. It's a fairly minor change anyway.. And I've only installed this on ONE site.. (just discovered this mod)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #42
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Display Log Files [Support Thread]

    I noticed a "display_logs_uninstall.sql" in the zipped file,
    Code:
    DELETE FROM admin_pages WHERE page_key='toolsDisplayLogs';
    is there an install SQL to install in the admin pages?
    Last edited by Kevin205; 16 Nov 2013 at 04:41 PM.
    Using Zen Cart 1.5.1

  3. #43
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Display Log Files [Support Thread]

    Please ignore the above comment. As it auto registers. Sorry.
    Using Zen Cart 1.5.1

  4. #44
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,488
    Plugin Contributions
    88

    Default Re: Display Log Files [Support Thread]

    I've submitted v1.0.4 to the Plugins to correct a couple of issues:

    BUGFIX: Unprintable characters result in blank file display.
    BUGFIX: Refreshing page after file delete results in error.

    This (and previous) versions of the plugin are Zen Cart v1.5.2-compatible.

  5. #45
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,488
    Plugin Contributions
    88

    Default Re: Display Log Files [Support Thread]

    I've submitted v1.0.5 to the plugins; somewhere along the line , the USPS shipping log files started starting with SHIP_usps instead of just usps.

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

    Default Re: Display Log Files [Support Thread]

    Quote Originally Posted by lat9 View Post
    I've submitted v1.0.5 to the plugins; somewhere along the line , the USPS shipping log files started starting with SHIP_usps instead of just usps.
    It wasn't really until I actively started using this plugin on a local computer while developing some functionality that I realized I had been missing something on my active site. Apparently there are "instructions" displayed at line 209 of ADMIN/display_logs.php, but only if accessing the logs from a non secure site. The line provides two pieces of information, 1) A message about not using a SSL connection and that viewing the contents of the logs could present a security risk. and 2) instructions about usage of the log viewer, but they are concatenated together inside of the https test. So, here is what I did/changed at and around that line. (Changes made/to make attempted to be highlighted in red.) As said, wouldn't even know you were missing something unless you were using a non-SSL server setting.

    V1.0.5 of the code (lines 202-213) change from:
    Code:
            <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr>
                <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
                <td class="pageHeading" align="right"><?php echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
              </tr>
    <?php if (substr(HTTP_SERVER, 0, 5) != 'https') {  // display security warning about downloads if not SSL ?>
              <tr>
                <td class="main"><?php echo WARNING_NOT_SECURE . sprintf(TEXT_INSTRUCTIONS, MAX_LOG_FILE_READ_SIZE, ((isset($_GET) && isset($_GET['sort']) && $_GET['sort'] == 'a') ? TEXT_OLDEST : TEXT_MOST_RECENT), (($numLogFiles > MAX_LOG_FILES_TO_VIEW) ? MAX_LOG_FILES_TO_VIEW : $numLogFiles), $numLogFiles); ?></td>
                <td class="main" align="right"><?php echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
              </tr>
    <?php } ?>
            </table></td>
    Change to:

    Code:
            <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr>
                <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
                <td class="pageHeading" align="right"><?php echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
              </tr>
              <tr>
              <td class="main"><?php if (substr(HTTP_SERVER, 0, 5) != 'https') {  // display security warning about downloads if not SSL ?>
                          <?php echo WARNING_NOT_SECURE; 
    } 
                         echo sprintf(TEXT_INSTRUCTIONS, MAX_LOG_FILE_READ_SIZE, ((isset($_GET) && isset($_GET['sort']) && $_GET['sort'] == 'a') ? TEXT_OLDEST : TEXT_MOST_RECENT), (($numLogFiles > MAX_LOG_FILES_TO_VIEW) ? MAX_LOG_FILES_TO_VIEW : $numLogFiles), $numLogFiles); ?></td>
                <td class="main" align="right"><?php echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
              </tr>
            </table></td>
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #47
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,488
    Plugin Contributions
    88

    Default Re: Display Log Files [Support Thread]

    Oops! I'll get that change into the queue! Thanks for the report.

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

    Default Re: Display Log Files [Support Thread]

    I've just uploaded v1.0.6 to the plugins to correct the missing instructions' display and to correct a problem where the "delete all" button didn't work if you also used the "CSS Buttons for Admin" plugin.

    Note: The zip file identifies itself as v1.0.6a, since I'd messed up the versioning on my github repository.

  9. #49
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,488
    Plugin Contributions
    88

    Default Re: Display Log Files [Support Thread]

    v1.0.6 is now available from the plugins.

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

    Default Re: Display Log Files [Support Thread]

    I note that 1.0.7 has three folders. YOUR_ADMIN, Zen Cart 1.5.1, and Zen Cart v1.5.3. I am assume (I know) that the YOUR_ADMIN folder is the basic and one would overwrite the YOUR_ADMIN/includes/header.php with the appropriate one for their version? If this is correct, which would be appropriate for 1.5.2.
    Could not find mention of this in the install portion of the readme.

 

 
Page 5 of 10 FirstFirst ... 34567 ... 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