I am very new to php programming, but not new to web programming. I am setting up an osCommerce store on a W2k03/IIS server and have run into the error below. This happens on the final submit order button. I've done some searching on the web and the general concensus was that it may be a permissions issue. I need to get this resolved and I've not gotten any response in the osCommerce forum which leads me to believe tha maybe it isn't an osCommerce issue. Can anyone tell me if that appears to be the problem? What do I do to correct it? The store is set up at thehoglady.com/catalog if you want to see the problem for yourself.

Thanks in advance for any help.


Warning: exec(): Unable to fork [/usr/local/bin/curl -d "target_app=WebCharge_v5.06&fulltotal=8.98&ordernumber=0&ccname=PayPal&baddress=2436+x+xxxx+xxxx+Drive&bcity=xxxxx&bstate=Arkansas&bzip=xxxxx-5337&bcountry=Array&bphone=479-571-xxxx&email=cmr@xxxxx.com&trantype=sale&response_mode=simple&username=thehoglady@xxx.xxx&pw=xxxxxxxx&ccidentifier1=244&ccnumber=xxxxxxxx64&month=06&year=2009&connection_method=POST&delimited_fmt_field_delimiter==&delimited_fmt_include_fields=true&delimited_fmt_value_delimiter=|&delimitedresponse=Y&include_extra_field_in_response=N&last_used_response_num=5&response_fmt=delimited&upg_auth=zxcvlkjh&merch_ip=&upg_version=version&yes=Y" http://transactions.innovativegateway.com/...gateway.aai.Aai] in D:\hshome\hers2kee\thehoglady.com\catalog\includes\modules\payment\innovative.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at D:\hshome\hers2kee\thehoglady.com\catalog\includes\modules\payment\innovative.php:111) in D:\hshome\hers2kee\thehoglady.com\catalog\includes\functions\general.php on line 29

/usr/local/bin/curl seems to refer to a linux filesystem. Have you checked the file to make sure you have got the includes/require pointing to the correct place?

To resolve the headers sent issue you need to ensure no data is populated to the browser before the header is changed. Unless you use

ob_start();

Regards,
Alex

Right now the domain is hosted on a Windows box elsewhere that I can't install anything to, so I don't think this is an option. But, if I'm not able to resolve the issue, I may have to look at moving it to a linux server. I'll keep digging...

Hi there,
I run PHP on a Windows box but with Apache (very easy to set up with XAMPP http://www.apachefriends.org/en/xampp.html).
I didn't hit this problem even though I worked with osCommerce.

Could this be the solution for you?
http://www.somacon.com/p255.php

I'm currently hosted on a Windows box and don't have any idea how to find out what you're asking. I can get the php info easily, but I'm not sure how to find this out. I am so new to php I don't know where the file is supposed to be pointing to. I've only made style modifications to the site so far. So would it be possible for you to give me a little more detail?

/usr/local/bin/curl seems to refer to a linux filesystem. Have you checked the file to make sure you have got the includes/require pointing to the correct place?

To resolve the headers sent issue you need to ensure no data is populated to the browser before the header is changed. Unless you use

ob_start();

Regards,
Alex

your problem is you're pointing to a Linux location in a Windows environment.

Install curl (if not installed), change the path to point to it, or check if curl is bundled with the PHP install.

Now my host is saying curl isn't installed on the Windows servers. That seems rather crazy to me if they're going to offer osCommerce on their Windows plans, you'd think the server was set up to actually allow it to run.

your problem is you're pointing to a Linux location in a Windows environment.

Install curl (if not installed), change the path to point to it, or check if curl is bundled with the PHP install.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.