Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2005
    Posts
    152
    Plugin Contributions
    0

    help question 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?
    Last edited by Bryony; 8 Dec 2007 at 12:58 AM. Reason: typo - why can't I ever spot them before sending??

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2005
    Posts
    152
    Plugin Contributions
    0

    Default 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!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: ipn_main_handler file missing error but file present

    What version of Zen Cart?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Dec 2005
    Posts
    152
    Plugin Contributions
    0

    Default Re: ipn_main_handler file missing error but file present

    1.3.7

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Dec 2005
    Posts
    152
    Plugin Contributions
    0

    Default 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.

    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

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: ipn_main_handler file missing error but file present

    Quote Originally Posted by Bryony View Post
    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?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Configure file not present
    By bobanct in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 13 Oct 2010, 06:02 PM
  2. Checkout error (I am missing a file I believe)
    By sports guy in forum General Questions
    Replies: 2
    Last Post: 2 Sep 2010, 05:46 PM
  3. Error with tpl_header.php file. FILE ATTACHED PLEASE SOMEONE SPOT ERROR
    By Canvas101 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 May 2008, 08:58 AM
  4. Installed, Error Says "No Such File" but file is there!
    By plumloopy in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 30 Aug 2006, 01:34 AM
  5. Fatal error required language file is missing
    By baba in forum Addon Language Packs
    Replies: 2
    Last Post: 12 Aug 2006, 10:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR