Warning: exec(): Unable to fork

Reply

Join Date: Jul 2007
Posts: 22
Reputation: Hers2keep is an unknown quantity at this point 
Solved Threads: 0
Hers2keep's Avatar
Hers2keep Hers2keep is offline Offline
Newbie Poster

Warning: exec(): Unable to fork

 
0
  #1
Apr 1st, 2008
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.innovativegatewa...teway.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
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 100
Reputation: petr.pavel is an unknown quantity at this point 
Solved Threads: 14
petr.pavel's Avatar
petr.pavel petr.pavel is offline Offline
Junior Poster

Re: Warning: exec(): Unable to fork

 
0
  #2
Apr 1st, 2008
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
Petr 'PePa' Pavel

The more information you give the more relevant answer you get.
Please consider using "Add to ... Reputation" and mark your thread as Solved if you found what you were looking for. By giving feedback you help others.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 187
Reputation: phper is an unknown quantity at this point 
Solved Threads: 15
phper's Avatar
phper phper is offline Offline
Junior Poster

Re: Warning: exec(): Unable to fork

 
0
  #3
Apr 1st, 2008
/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
If my post is useful please add to my reputation.
Thanks.

Ajtrichards Web Solutions | http://www.ajtrichards.co.uk
Retenovate | http://www.retenovate.com
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 22
Reputation: Hers2keep is an unknown quantity at this point 
Solved Threads: 0
Hers2keep's Avatar
Hers2keep Hers2keep is offline Offline
Newbie Poster

Re: Warning: exec(): Unable to fork

 
0
  #4
Apr 1st, 2008
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...

Originally Posted by petr.pavel View Post
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 22
Reputation: Hers2keep is an unknown quantity at this point 
Solved Threads: 0
Hers2keep's Avatar
Hers2keep Hers2keep is offline Offline
Newbie Poster

Re: Warning: exec(): Unable to fork

 
0
  #5
Apr 2nd, 2008
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?

Originally Posted by phper View Post
/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
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 129
Reputation: hacker9801 is on a distinguished road 
Solved Threads: 15
hacker9801 hacker9801 is offline Offline
Junior Poster

Re: Warning: exec(): Unable to fork

 
0
  #6
Apr 2nd, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 22
Reputation: Hers2keep is an unknown quantity at this point 
Solved Threads: 0
Hers2keep's Avatar
Hers2keep Hers2keep is offline Offline
Newbie Poster

Re: Warning: exec(): Unable to fork

 
0
  #7
Apr 8th, 2008
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.

Originally Posted by hacker9801 View Post
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 3204 | Replies: 6
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC