Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2007
    Posts
    132
    Plugin Contributions
    0

    Default Strange PARSE error viewing orders, please help

    When I am on Admin and click on any of the "orders" links I get

    HTML Code:
    Parse error: syntax error, unexpected T_CASE in orders.php on line 195
    I check line 195 and it's this

    PHP Code:
          case 'doRefund'
    Any ideas what is goign on here ?

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

    Default Re: Strange PARSE error viewing orders, please help

    What version of Zen Cart are you using?
    What addons/contributions have you installed?
    I might suggest renaming /admin/orders.php and re-uploading the original.
    .

    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
    Nov 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Strange PARSE error viewing orders, please help

    I'm having the same porblem using 1.3.7 and I just added the How did you hear about us Mod. Please help!!!

    -Lio

  4. #4
    Join Date
    Nov 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Strange PARSE error viewing orders, please help

    I tried putting my old file back in a it's still not working. Ughhhh! I have 15 orders since I added this mod and I can't go back to my backup now!

  5. #5
    Join Date
    Jan 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Strange PARSE error viewing orders, please help

    I was having this problem too, I think it was caused by the 'How did you hear about us' module. I was able to solve the problem by using the solution suggested at http://www.zen-cart.com/forum/showpo...&postcount=183

    Just replace the orders.php file with the new one. (It will remove any mods that show in the orders page though.)

  6. #6
    Join Date
    Nov 2004
    Posts
    5
    Plugin Contributions
    0

    Default Re: Strange PARSE error viewing orders, please help

    I was receiving the same error during testing of a move of data from server to server. I removed the 'How did you hear about us' module, and all seems well.

    We tested pretty well with the module in, but it all of a sudden appeared. Why? I'm not real sure, but as soon as I removed it - going back to the 1.3.7 code - whalla fixed.

 

 

Similar Threads

  1. Strange Issue when Viewing Orders
    By ksoup in forum Bug Reports
    Replies: 3
    Last Post: 2 Oct 2010, 03:04 AM
  2. PLEASE HELP, I did something DUMB -- Parse error: syntax error, unexpected ')'
    By mfsuchta in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Aug 2008, 02:16 AM
  3. Parse error PLEASE HELP!!
    By laurieudy in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Nov 2007, 09:40 PM
  4. Error in page viewing(layout) Help Please
    By sizz in forum General Questions
    Replies: 1
    Last Post: 9 Mar 2007, 11:48 PM
  5. parse error-please help
    By infinite1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Oct 2006, 01: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