Jump to content


Photo

CGI Error/PFPro COM


  • Please log in to reply
No replies to this topic

#1 dudedigital

dudedigital
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 15 June 2006 - 05:12 PM

I keep getting the following error:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

To recreate the error follow the link below:
[a href=\"https://www.intrepidcs.com/global/cart.php?id=2&action=add_purchase\" target=\"_blank\"]https://www.intrepidcs.com/global/cart.php?...on=add_purchase[/a]
Continue the purchasing process and hit "Complete". After doing so, you will get the error.

I've narrowed it down to the following code:
The COM object doesn't seem to construct I think. The reason I believe so is because when I attempt to echo its value I get the error, but if I echo anything the line before it, it works.

$objCOM = new COM('PFProCOMControl.PFProCOMControl.1');
$ctx1 = $objCOM->CreateContext('test-payflow.verisign.com', 443, 60, '', 0, '', '');
$result = $objCOM->SubmitTransaction($ctx1, $paramList, strlen($paramList));
$objCOM->DestroyContext($ctx1);





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users