osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Check Money Order processing error

This is a discussion on Check Money Order processing error within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I've just tried to use the check/money order processing option and when moving from order_confirmation.php I get the following error: ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-26-2003, 01:23 AM
Anonymous
Guest
 
Posts: n/a
Default Check Money Order processing error

I've just tried to use the check/money order processing option and when moving from order_confirmation.php I get the following error:

Code:
Warning: exec,system,passthru,popen() has been disabled for security reasons in /home/domains/wargamestore.com/user/htdocs/includes/modules/authorizenet_direct.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /home/domains/wargamestore.com/user/htdocs/includes/modules/authorizenet_direct.php:69) in /home/domains/wargamestore.com/user/htdocs/includes/functions/general.php on line 29
I have Paypal IPN and Check money order options selected. I don't think I have made any changes that would affect this (famous last words)

Can anyone help please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-26-2003, 09:27 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,083
Thanks: 81
Thanked 348 Times in 327 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

Looks like a server config issue. Your server has exec,system,passthru,popen() disabled in PHP. I think that is what the problem is.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-26-2003, 11:15 AM
Anonymous
Guest
 
Posts: n/a
Default

I don't understand what you mean. Is this a problem with my ISP? Why is the error found in authorizenet_direct.php when I am not using this payment method? I would have thought checks would be no problem because it doesn't have to invoke any further processing. Any further help with this would be appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-28-2003, 10:23 PM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

Couldn't remember my password when I posted this so listed as a visitor.

The sales I have put through check/money order processing appear to work ok:

The sale is posted and can be viewed in admin
The email confirming sale is sent to customer

I just can't figure out why I am getting this error message or where to look.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 10-29-2003, 06:39 AM
Anonymous
Guest
 
Posts: n/a
Default

To get rid of the second error you have, go to includes/modules/authorizenet_direct.php and go to the end of the file, put your cursor next to the last > and hit delete and then save.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-03-2003, 12:10 PM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

Quote:
Originally Posted by Anonymous
To get rid of the second error you have, go to includes/modules/authorizenet_direct.php and go to the end of the file, put your cursor next to the last > and hit delete and then save.
Tried this but still getting the error. I've tried searching for help in the forums but have found nothing. Without a solution to this my site is a non starter. help please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-03-2003, 11:15 PM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

Code:
Warning: exec,system,passthru,popen() has been disabled for security reasons in /home/domains/wargamestore.com/user/htdocs/includes/modules/authorizenet_direct.php on line 69
refers to the path required for cURL. I searched the forums here and over at oscommerce and as a result checked my server information to see if cURL was installed on my server. I saw the following:

Code:
CURL support 	enabled
CURL Information 	libcurl 7.9.5 (OpenSSL 0.9.6b) (ipv6 enabled)
I tried to find the cURL directory on my server but it could not, so I mailed my host to check. This is the reply I got:
Quote:
We don’t currently provide the service or functionality for 'curl' that you have
contacted us regarding. We will consider your request in our future plans
however this will not be available in the very near future.
I am currently planning to use Paypal and check money/order processing so could I get by for now without changing provider?
If so how would I get rid of this error? Remove everything related to authoriizenet?

Have my provider answered my query correctly? If so why does my server info tell me that cURL is installed?
Given a very rudimentary understanding of what cURL does I am amazed that my web host doesn't provide it. They are a major UK provider with full page ads in all the computer comics.

Help please
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 11-03-2003, 11:24 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,083
Thanks: 81
Thanked 348 Times in 327 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

Yes, you will need to disable the call to Authorizenet in your checkout page, as that requires cURL compiled into PHP. There is actually a thread on this, as it seems there is a small bug in the Anet code. Here is the thread, you can try his solution:

http://oscdox.com/index.php?name=PNp...horize+net+bug
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 11-04-2003, 11:11 AM
Member
 
Join Date: Sep 2003
Posts: 90
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
warrenthewindmill
Default

Thanks very much for that it completely solved the problem.
I also mailed my provider again and their first response was garbage. cURL is installed in /usr/bin/curl so I wonder why it wasn't working properly? One to solve on another day I reckon, when I get round to installing protx maybe.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 11-04-2003, 11:39 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,083
Thanks: 81
Thanked 348 Times in 327 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

The reason it is not working, most likely is because even though curl is installed on your server, it is not compiled into PHP. The authorize net module requires curl support compiled into php. That is why it was not working.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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
check/money order payment mod error! xzyyy osCMax v2 Customization/Mods 3 10-17-2006 08:02 PM
Getting Curl error even when I proces check/moneyorder order Redeye_Joe osCMax v2 Installation issues 2 05-23-2006 01:09 AM
Order Processing everfaithful osCommerce 2.2 Discussion 0 10-18-2005 03:50 AM
Money Order display modification? Please HELP! bbeban osCommerce 2.2 Modification Help 0 10-18-2003 02:12 PM
Help with text in Check/Money Order [URGENT!] Sejo osCommerce 2.2 Modification Help 4 09-24-2003 02:17 PM


All times are GMT -8. The time now is 11:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax