osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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. ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion > Payment Modules > Authorize.net

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Welcome to osCMax Join osCMax Now! Download osCMax Here
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-23-2007, 09:25 AM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-23-2007, 10:24 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 13,405
Thanks: 113
Thanked 472 Times in 414 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Having errors on authorizenet_direct.php

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

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

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 User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-23-2007, 11:41 AM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-23-2007, 03:12 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 13,405
Thanks: 113
Thanked 472 Times in 414 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

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 User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-23-2007, 03:20 PM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
errors i have. inversechi osCMax v2 Customization/Mods 1 05-07-2006 11:51 AM
cc_validation.php errors kelly34 osCMax v2 Installation issues 6 12-10-2005 11:53 AM
Errors using EasyPopulate 2.72 Blitz49 osCMax v1.7 Discussion 1 04-16-2005 02:16 PM
Asking for help due to errors after installation... ltoscdox osCMax v1.7 Installation 2 11-17-2004 10:53 PM
errors litotes osCommerce 2.2 Modification Help 1 11-07-2003 08:25 PM


All times are GMT -8. The time now is 12:57 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax