If this is your first visit, check our documentation. To post, register or login.
Forums / Managing Customers and Orders / orders not being shown

orders not being shown

Locked

Started by dazstanny on 5 Oct 2006, 12:07 PM · Views: 1,297

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Oct 2006, 12:07 PM
#1
dazstanny avatar

dazstanny

New Zenner

Join Date:
Oct 2006
Posts:
2
Plugin Contributions:
0

orders not being shown

:lamo: whenever i go to orders in the admin side i get taken to a page that says; Parse error: parse error, unexpected $ in /home/myphotop/public_html/shinytools/admin/orders.php on line 42 please help me fix this issue!

5 Oct 2006, 2:10 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: orders not being shown

You might try reloading the original file:
/admin/orders.php

Sounds like you either have a corrupt file or made a change to the file and have a typo in it ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Oct 2006, 8:10 PM
#3
cphilips avatar

cphilips

New Zenner

Join Date:
Jun 2005
Posts:
18
Plugin Contributions:
0

Re: orders not being shown

I am now getting this error a couple weeks after upgrading (successfully at first) from 1.25 to 1.35. All was working well. Now when I click Orders directly or through the Customers screens I get

Parse error: parse error in C:\Inetpub.....\orders.php on line 53

If line 53 means order_id=53 record, it all appears okay and isn't even a recent record.... scanning the other orders (only have 91) and I don't see any obvious jumbling of data or anything ... never ever happened to me in previous version.

7 Oct 2006, 8:34 PM
#4
cphilips avatar

cphilips

New Zenner

Join Date:
Jun 2005
Posts:
18
Plugin Contributions:
0

Re: orders not being shown

It's now working... I reloaded the original orders.php, replacing the one I had recently modified according to the instructions in the Official Buglist thread for 1.3.5. Either I entered the fix incorrectly or possibly there is an error in the fix?

8 Oct 2006, 2:27 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: orders not being shown

Most often when people encounter errors after editing a PHP file, it's because they used an editor that corrupted the file, or in some cases an FTP program that changed line-endings.

In the notice you mentioned, there were some comments at the bottom recommending some suitable editors.

When editing PHP files for your site, do not use Microsoft products such as Word or Frontpage, as they will almost always insert junk or otherwise mess up your files.

For a list of recommended / useful tools for working with sites made with Zen Cart, look here:
http://www.zen-cart.com/wiki/index.php/Useful_Tools

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