Hello everyone,

I'm having some trouble after moving my 3 cart sites from an old Server2003/IIS6 VPS account to a new Server2008/IIS7 dedicated box. The new IIS7 server runs PHP using FastCGI and that all works very well apart from this issue.

The sites are ZC 1.302, 1.37 and 1.38a and they all exhibit the same behavior. Security hotfixes and the last Paypal bits are applied to all.

The problem is that I've just found out that orders processed using PayPal IPN are not recording the products. I've spent all day searching for answers and have been troubleshooting as best I can.

It's clear to me that the ipn_main_handler.php file is not doing its job or is unable to. When accessed remotely it says "Illegal Access". When accessed on the server it says "PHP Notice: Undefined index: txn_type in C:\inetpub\wwwroot\mysite\ipn_main_handler.php on line 59" and then it says that again.

When I execute the php file on the server from the command prompt I get this (domain replaced with mysite.com):

C:\php>php-cgi.exe C:\inetpub\wwwroot\mysite\ipn_main_handler.php
PHP Notice: Undefined index: txn_type in C:\inetpub\wwwroot\mysite\ipn_main_handler.php on line 59
PHP Notice: Undefined index: txn_type in C:\inetpub\wwwroot\mysite\ipn_main_handler.php on line 59
X-Powered-By: PHP/5.2.6
Set-Cookie: zenid=q2equiqu7t0auj50vqjf3up6f1; path=/; domain=mysite.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html
Nothing to process. Please return to home page.


When I run http://mysite.com/extras/ipncheck.php
I get this:
"PHP Notice: Undefined variable: headerdone in C:\inetpub\wwwroot\mysite\extras\ipncheck.php on line 100"
and that repeats several times over.


When I run http://mysite.com/extras/curltest.php
I get this:
28 Operation timed out after 15 seconds with 0 bytes received
Array
(
[url] => "http://www.zen-cart.com/testcurl.php"
[http_code] => 0

.... rest trimmed off.


I'm wondering if this might be as simple as a file security or a firewall issue - I'm on a steep learning curve setting up the new machine and am not confident I have everything set up.

Any advice on how to get this working is much appreciated.
Rob