Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2011
    Posts
    21
    Plugin Contributions
    0

    red flag Getting 500 error

    i am having problems with my ipn_main_handler.php with paypal express a would really like some help, just last night my paypal orders are not being sent but i am receiving the money, so i have tried to change over to express paypal and keep getting HTTP 500 error. http://gunandsurplus.com/ipn_main_handler.php

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Getting 500 error

    500 errors are mostly the server not liking something

    https://www.zen-cart.com/tutorials/index.php?article=63
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2011
    Posts
    21
    Plugin Contributions
    0

    Default Re: Getting 500 error

    thank-you i did just that though yahoo has automated thing and this is my error
    [01-Mar-2011 00:38:38] PHP Parse error: syntax error, unexpected T_STRING in /ipn_main_handler.php on line 1

    whats it mean? sorry i am not that great at PHP or even zen
    my php file for line 1 of /ipn_main_handler.php
    <?xml version="1.0"?>

    thanks again for your time

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

    Default Re: Getting 500 error

    The ipn_main_handler.php file that comes with Zen Cart does NOT start with "<?xml ..... "
    It's a PHP file and starts with very different code.

    Evidently your copy of that file has been tampered with.
    .

    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
    Feb 2011
    Posts
    21
    Plugin Contributions
    0

    Default Re: Getting 500 error

    Quote Originally Posted by DrByte View Post
    Evidently your copy of that file has been tampered with.
    i checked my back-up from jan 18th and that too has
    <?xml version="1.0"?>
    <!--TransferQueueItems-->
    <Items><Version>1</Version><Item><Version>2</Version><Id>{E0AD9C0D-E4A5-4F6C-81F1-1A3223CC22FE}</Id><Type>1</Type><Size>6437</Size><Time>129361927443069756</Time><TimePrecision>1</TimePrecision><Operation>0</Operation><Synchronization>1</Synchronization><Source><Type>1</Type><Path>C:\Work\zen-cart-v1.3.9h-full

    and so forth, the site seems to be working just fine until last night when none of my paypal standard payments would not post in admin,thats why i was trying to change to express, i did place in odesk but no answers either, would appreciate someones input

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

    Default Re: Getting 500 error

    That's absolutely not the correct content for that file.
    Download the original files (from the home page here) and unzip and upload the correct version of that file.
    .

    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
    Feb 2011
    Posts
    21
    Plugin Contributions
    0

    Default Re: Getting 500 error

    Thank-you very much for that I thought was screwed, I replaced the file and is working 100% though i don't know how the file got changed, i thought i had permissions set to read only should i set it to 644 or 444 what would you do?

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

    Default Re: Getting 500 error

    I'd leave it at the regular permissions setting as you would for any other file, usually 644.
    .

    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. v150 suddenly getting 500 error: lost connection to Mysql
    By nicksab in forum General Questions
    Replies: 17
    Last Post: 1 Mar 2013, 07:20 AM
  2. getting http 500 error
    By warroyo90 in forum Upgrading to 1.5.x
    Replies: 7
    Last Post: 24 May 2012, 05:19 AM
  3. Getting Error 500
    By VelvetTree in forum General Questions
    Replies: 2
    Last Post: 28 Apr 2010, 03:47 PM
  4. Create User account - Getting 500 Error
    By zpyder in forum Managing Customers and Orders
    Replies: 22
    Last Post: 29 May 2009, 06:16 PM
  5. Getting 500 Internal Error trying to install
    By garthwm in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 28 Mar 2008, 08:03 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