Forums / Built-in Shipping and Payment Modules / ipn_main_handler file missing error but file present

ipn_main_handler file missing error but file present

Locked
Results 1 to 8 of 8
This thread is locked. New replies are disabled.
07 Dec 2007, 23:55
#1
bryony avatar

bryony

Zen Follower

Join Date:
Dec 2005
Posts:
137
Plugin Contributions:
0

ipn_main_handler file missing error but file present

This is a bit odd - I'm suffering from the oft reported problem with Paypal IPN where the cart does not log an order but the payment goes through properly.

I've read loads of other posts and I've checked the settings as advised. All initially appear correct but here's the thing...

If I visit the url to see if the www.mydomain/ipn_main_handler.php file works, I get a server error telling me the file isn't there.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


However, it is as I can see it on the server. I've tried overwriting the file to see if some essential part was missing but the problem remains. My error log also reflects this. How can this be?
07 Dec 2007, 23:58
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: ipn_main_handler file missing error but file present

What does your errorlog say about the "500 Internal Server" error?

Or is it only telling you about its secondary 404 problem in not finding a custom error page for the original error?



500 Internal Server errors are usually a result of overly strict security settings on the server, or violation attempts, or significant syntax errors perhaps from incorrectly uploaded files, or from misconfigured settings somewhere.
08 Dec 2007, 00:03
#3
bryony avatar

bryony

Zen Follower

Join Date:
Dec 2005
Posts:
137
Plugin Contributions:
0

Re: ipn_main_handler file missing error but file present

[Fri Dec 7 18:50:08 2007] [error] [client 66.211.170.66] File does not exist: /home/bryony74/public_html/500.shtml
[Fri Dec 7 18:50:08 2007] [error] [client 66.211.170.66] Premature end of script headers: /home/bryony74/public_html/ipn_main_handler.php
SoftException in Application.cpp:231: File "/home/bryony74/public_html/ipn_main_handler.php" is writeable by group
[Fri Dec 7 18:41:59 2007] [error] [client 85.210.49.181] File does not exist: /home/bryony74/public_html/500.shtml
[Fri Dec 7 18:41:59 2007] [error] [client 85.210.49.181] Premature end of script headers: /home/bryony74/public_html/ipn_main_handler.php
SoftException in Application.cpp:231: File "/home/bryony74/public_html/ipn_main_handler.php" is writeable by group

I'm not really sure what to make of this - it all looks a bit jumbled to me! :blush:
08 Dec 2007, 05:29
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: ipn_main_handler file missing error but file present

What version of Zen Cart?
10 Dec 2007, 19:40
#5
bryony avatar

bryony

Zen Follower

Join Date:
Dec 2005
Posts:
137
Plugin Contributions:
0

Re: ipn_main_handler file missing error but file present

1.3.7 :smile:
10 Dec 2007, 21:06
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: ipn_main_handler file missing error but file present

Did you ever install the PayPal patch for 1.3.7 (specifically, the latest one)?
http://www.zen-cart.com/forum/showthread.php?t=56216
10 Dec 2007, 22:54
#7
bryony avatar

bryony

Zen Follower

Join Date:
Dec 2005
Posts:
137
Plugin Contributions:
0

Re: ipn_main_handler file missing error but file present

Hi Dr Byte, thanks for helping.

I didn't install the upgrade, I must have missed it. I have now installed 1.3.8 and have even more problems!

I can't log in at all as a customer without a red message "There was a security error when trying to login." - My database still exists but I also cannot access the admin:customers:customers menu as I get an error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I also still cannot access the ipn_main_handler through my browser. :wacko:

My online store says I need to upgrade my database but I've already been through the process twice - it doesn't seem to change anything.

What can I do?

Bryony
11 Dec 2007, 01:08
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: ipn_main_handler file missing error but file present

Bryony:

I didn't install the upgrade, I must have missed it. I have now installed 1.3.8 and have even more problems!
You did your upgrade in a test area first, right?