osCmax v2.5 User Manual
Results 1 to 5 of 5

Having errors on authorizenet_direct.php

This is a discussion on Having errors on authorizenet_direct.php within the Authorize.net forums, part of the Payment Modules category; I'm trying to set up my connection with Authorize.net and have succeeded in getting the test transactions to go through. ...

      
  1. #1
    Member
    Join Date
    Feb 2004
    Posts
    89
    Rep Power
    0


    Default Having errors on authorizenet_direct.php

    I'm trying to set up my connection with Authorize.net and have succeeded in getting the test transactions to go through. The customer is receiving an email both from the osC site and Authorize.net's system confirming the order. However, when the customer clicks on "Confirm Order" on /catalog/checkout_confirmation.php (the final point in the transaction process -- and the point where the transaction actually happens), they get the error below:


    Warning: fopen(./authnet_debug.txt): failed to open stream: Permission denied in /home/httpd/vhosts/boulderingtopo.com/httpdocs/catalog/includes/modules/authorizenet_direct.php on line 117

    Warning: fputs(): supplied argument is not a valid stream resource in /home/httpd/vhosts/boulderingtopo.com/httpdocs/catalog/includes/modules/authorizenet_direct.php on line 118

    Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/boulderingtopo.com/httpdocs/catalog/includes/modules/authorizenet_direct.php on line 119

    Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/boulderingtopo.com/httpdocs/catalog/includes/modules/authorizenet_direct.php:117) in /home/httpd/vhosts/boulderingtopo.com/httpdocs/catalog/includes/functions/general.php on line 34


    Note that I've changed the permissions on /catalog/includes/modules/authorizenet_direct.php to 777 without any change in the error (no improvement).

    Any ideas as to what's happening?

    Thanks ahead of time,
    G Heffron

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,824
    Rep Power
    568


    Default Re: Having errors on authorizenet_direct.php

    chmod the directory and file authnet_debug.txt to 777
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Member
    Join Date
    Feb 2004
    Posts
    89
    Rep Power
    0


    Default Re: Having errors on authorizenet_direct.php

    I chmod'ed the modules directory to 777, but couldn't find authnet_debug.txt, even after searching the entire catalog directory (and subdirs).

    Where is it located?

    Thanks for the speedy reply,
    G Heffron

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,824
    Rep Power
    568


    Default Re: Having errors on authorizenet_direct.php

    You probably have to manually create authnet_debug.txt and set the path in the file. That is what I would do. Just make a file called authnet_debug.txt and then note the path to it, then modify the file giving you the error to point to that file. Make sure it is chmod 777. Or you could just turn off debugging in authnet module.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Member
    Join Date
    Feb 2004
    Posts
    89
    Rep Power
    0


    Wink Re: Having errors on authorizenet_direct.php

    I took your advice and turned off debugging. Whouda thunk debugging would lead to bugs. Worked like a frickin' charm.

    Thanks a heap,
    G Heffron

Similar Threads

  1. errors i have.
    By inversechi in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 05-07-2006, 11:51 AM
  2. cc_validation.php errors
    By kelly34 in forum osCmax v2 Installation issues
    Replies: 6
    Last Post: 12-10-2005, 11:53 AM
  3. Errors using EasyPopulate 2.72
    By Blitz49 in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 04-16-2005, 02:16 PM
  4. Asking for help due to errors after installation...
    By ltoscdox in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 11-17-2004, 10:53 PM
  5. errors
    By litotes in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-07-2003, 08:25 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
  •