Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    May 2010
    Location
    Texas
    Posts
    508
    Plugin Contributions
    0

    red flag CHeckout Page Special Characters cause HTTP 500 Server error

    Our international customers are seeing
    "HTTP 500 Server Error" when they try to get past the checkout page
    index.php?main_page=checkout_shipping

    We have found that the issue is because they are using special characters which are common for their country or language.

    For example, Germans use the umlaut (double dots over the u ).

    When they bring it to our attention, we ask them to avoid using special characters and the problem is resolved. And not all special characters cause the issue, as we get some crazy characters from countries north of Europe. Often there are so many odd characters that the address is not recognizable and we must contact the customer for clarification.

    I don't understand why the Zen-cart text validation is not flagging this or why a server error occurs.

  2. #2
    Join Date
    May 2010
    Location
    Texas
    Posts
    508
    Plugin Contributions
    0

    Default Re: CHeckout Page Special Characters cause HTTP 500 Server error

    A customer sent the actual error that they see:

    Server error
    The website encountered an error while retrieving .../index.php?main_page=checkout_shipping. It may be down for maintenance or configured incorrectly.
    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.



    .

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CHeckout Page Special Characters cause HTTP 500 Server error

    500 errors are triggered by your SERVER, before Zen Cart even has a chance to do anything.

    Thus, you need to investigate the problem with your hosting company.

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

    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.

  4. #4
    Join Date
    May 2010
    Location
    Texas
    Posts
    508
    Plugin Contributions
    0

    Default Re: CHeckout Page Special Characters cause HTTP 500 Server error

    The link points out that bad PHP and bad configure.php contents can cause this.

    Enter bad symbols into PHP code ---> crash
    Enter good symbols in php code --> does not crash.


    That ain't a server problem

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CHeckout Page Special Characters cause HTTP 500 Server error

    Apparently you're the expert. Let us know the solution to your unique problem when you're ready to share.
    .

    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.

  6. #6
    Join Date
    May 2010
    Location
    Texas
    Posts
    508
    Plugin Contributions
    0

    red flag Re: CHeckout Page Special Characters cause HTTP 500 Server error

    This bug, though rare, keeps showing up.

    Here is a checkout page that when submitted resulted in
    HTTP Error 500 (Internal Server Error)






    I had the customer then use his South African address only and check the box "Same address for Shipping/Billing".
    This worked. He then went into his account and changed the shipping address to the Texas address. No errors occurred.

    When the error happens, it is always with a international billing and US shipping address. We thought it was related to special characters, but perhaps not based on this screen capture

    V1.3.9e


    Last edited by split63; 10 Apr 2012 at 01:51 PM.

  7. #7
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: CHeckout Page Special Characters cause HTTP 500 Server error

    Quote Originally Posted by DrByte View Post
    Apparently you're the expert. Let us know the solution to your unique problem when you're ready to share.
    From this very site....

    PHP errors Sometimes when a PHP script encounters an error, either due to a timeout or a syntax problem, or something worse like a logic problem, it *might* trigger a 500 Internal Server Error. It may not always do so, but it may.
    In such cases, if you use the Zen Cart debug logs to review PHP errors, you might discover the cause of the problem there.

 

 

Similar Threads

  1. v150 HTTP 500 internal server error during checkout
    By valvoj in forum General Questions
    Replies: 1
    Last Post: 1 Nov 2012, 03:56 PM
  2. v139h HTTP 500 Internal Server Error
    By racinjason in forum General Questions
    Replies: 12
    Last Post: 27 Jan 2012, 11:39 PM
  3. HTTP 500 Internal Server Error
    By goalsurfer in forum General Questions
    Replies: 7
    Last Post: 12 Aug 2011, 07:29 PM
  4. Http 500 internal server error
    By LILIAN in forum Basic Configuration
    Replies: 1
    Last Post: 26 Mar 2011, 07:41 PM
  5. HTTP 500 Internal Server Error
    By stoyka in forum Installing on a Windows Server
    Replies: 3
    Last Post: 23 Dec 2010, 04:58 PM

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