Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2009
    Location
    Texas
    Posts
    209
    Plugin Contributions
    2

    Default Authorize.net AIM still generating debug logs even with debug disabled

    Hrmm.. my debug logging is off and I'm still getting the files.

    I just tried uninstalling/reinstalling to see if that will help. Debug logging is shut off but database logging is turned on.

    However I'm still getting DEBUG files in my cache directory for what seems like every transaction. (Had 5 approvals and one where he had his address wrong the first time)

    I'll get back with the results of uninstalling / reinstalling once I have a few more orders.

    Anthony

  2. #2
    Join Date
    Jul 2009
    Location
    Texas
    Posts
    209
    Plugin Contributions
    2

    Default Re: Authorize.net cache still has AIM_Debug logs...

    Quote Originally Posted by llynix View Post
    I'll get back with the results of uninstalling / reinstalling once I have a few more orders.
    Just checked and the Debug logs seem to be coming in no matter what.

    Hrmm..

  3. #3
    Join Date
    Jul 2009
    Location
    Texas
    Posts
    209
    Plugin Contributions
    2

    Default Re: Authorize.net cache still has AIM_Debug logs...

    Ok.. trying to debug this one. Little lost but maybe I found it?

    /includes/modules/payment/authorizenet_aim.php Line 614
    Code:
    if (strstr(MODULE_PAYMENT_AUTHORIZENET_AIM_DEBUGGING, 'Log') || strstr(MODULE_PAYMENT_AUTHORIZENET_AIM_DEBUGGING, 'All') || (defined('AUTHORIZENET_DEVELOPER_MODE') && in_array(AUTHORIZENET_DEVELOPER_MODE, array('on', 'certify'))) || true) {
    I may be mistaken? But doesn't that || true kinda throw the whole thing off? Thereby making logging always on by default?

    For reference sake MODULE_PAYMENT_AUTHORIZENET_AIM_DEBUGGING is set to 'Off'.

    Anthony

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Authorize.net AIM still generating debug logs even with debug disabled

    Yes, in v1.3.9a/b, removing that || true will stop the unexpected behavior.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 12
    Last Post: 5 Aug 2015, 05:59 AM
  2. No debug logs
    By Deirdre in forum General Questions
    Replies: 4
    Last Post: 7 Jan 2011, 05:44 AM
  3. Replies: 3
    Last Post: 15 Sep 2010, 12:26 AM
  4. Delete Debug Logs?
    By igendreau in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 Apr 2010, 04:26 PM
  5. Authorize.net cache still has AIM_Debug logs...
    By kevinw in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 12 Dec 2008, 02:55 PM

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