Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Posts
    4
    Plugin Contributions
    0

    application error Parse error: syntax error, unexpected $end in

    Hi, I have seen that a number of people getting a similar error. can someone help me resolve it?
    When I click create an account in my check-out screen, the following message appears:
    Parse error: syntax error, unexpected $end in /home3/holster1/public_html/includes/templates/template_default/templates/tpl_modules_create_account.php on line 177

    I do have "Checkout Without Account" option, but still would love to get it fixed.

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

    Default Re: Parse error: syntax error, unexpected $end in

    That error means there are syntax problems in the code. Usually a result of missing closing braces such as } in if/else or for/while loops. Not uncommon if someone is changing files and deleting or relocating things without keeping entire sections together, or removing things without knowing the bigger picture.

    So, the first and most important thing to do is to go back to the backup copy of the code you were using *before* the problem started, and compare that with the code you're using *now* where the problem is happening. And fix all the differences that are contributing to your current symptoms.

    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    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. Replies: 10
    Last Post: 4 Nov 2010, 09:40 PM
  2. Parse error: syntax error, unexpected $end
    By technicallynorth in forum General Questions
    Replies: 14
    Last Post: 15 Nov 2009, 08:08 AM
  3. Replies: 4
    Last Post: 30 Aug 2009, 09:26 PM
  4. Parse error: syntax error, unexpected $end
    By Jameslawrence in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 24 Aug 2008, 02:30 PM
  5. Parse error: syntax error, unexpected $end in
    By paulhilton74 in forum General Questions
    Replies: 3
    Last Post: 1 Mar 2008, 10:42 AM

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