Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
  1. #21
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,697
    Plugin Contributions
    123

    Default Re: Show Debug Files Automatically

    Quote Originally Posted by dbltoe View Post
    Any thoughts on adding the paypal log files to this call out?
    Doesn't make sense. Paypal logs are not necessarily indicative of a problem. Error logs are always indicative of a problem.
    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.

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

    Default Re: Show Debug Files Automatically

    Doesn't make sense. Paypal logs are not necessarily indicative of a problem.
    I don't want to make it seem like we are at odds here.
    We would not have found a serious problem on one site without seeing a paypal log. We put a fake debug on the site for testing the admin notification. The customer reported no problems prior to the mod's installation. We were installing the display logs since the older sitemonitor was not doing the job for us. Imagine our surprise when our first click resulted in paypal errors. Yes, most were from invalid or incorrectly entered data. BUT, recent errors led us to discover that the customer's site had been blacklisted for spam and was blocked by AT&T, AOL, etc. Just the fact that the paypal transaction was passing through an AT&T router caused them to block the transaction from reaching PayPal. Thus the Error 28.
    Does this happen a lot? Maybe not. Do we need to know about it immediately? I think so. Especially those on shared servers can be vulnerable to a block without knowing it has happened. A flag showing when they open the admin might get us involved before the situation gets too out of hand.
    We'd just rather sift through a few to not miss the one important one. I hope someday to have the display also e-mail a notification to us so that we can stay on top of things for our customers.

  3. #23
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,239
    Plugin Contributions
    1

    Default Re: Show Debug Files Automatically

    Quote Originally Posted by torvista View Post
    PHP Code:

    // steve check for and display debug logs 
    $path str_replace(DIR_FS_CATALOG,'../',DIR_FS_LOGS).'/';
        
    $matches glob($path ."myDEBUG*.*");
        if (
    is_array($matches)) {
            foreach (
    $matches as $filename) {
            
    $messageStack->add('Debug log file exists: '.str_replace($path,DIR_FS_LOGS.'/',$filename),'warning');
            }
        } 
    Having lost these lines from 2012 (v1.51) in a recent v1.56b upgrade, I revisited this thread to grab them again - still works well.

    I see that there was mention in this thread of this feature being included in v1.60. I wondered, as I can't find it in v1.56, is it due for inclusion in v1.57 or has it been decided against?
    Simon

  4. #24
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,697
    Plugin Contributions
    123

    Default Re: Show Debug Files Automatically

    1.5.7 is brand new and the decision to backport some features was just made. I suspect this one will be included, but you'll need to wait and see.
    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.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v1.51 Clean Up Debug Log Files
    By haredo in forum Code Collaboration
    Replies: 2
    Last Post: 27 Nov 2013, 12:15 AM
  2. Debug files filling up my Cache on Zen 139H
    By tbokich in forum General Questions
    Replies: 2
    Last Post: 28 Apr 2011, 07:09 AM
  3. Debug utility not writing log files
    By zhamid in forum General Questions
    Replies: 1
    Last Post: 4 Jul 2009, 02:44 PM
  4. AIM debug files in cache folder
    By earmsby in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 31 Dec 2007, 07:43 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