Forums / Managing Customers and Orders / can anyone help me with this please

can anyone help me with this please

Views: 1,299

Results 1 to 8 of 8
14 Apr 2011, 3:32 PM
#1
homebrewkits avatar

homebrewkits

New Zenner

Join Date:
May 2009
Location:
united kingdom
Posts:
37
Plugin Contributions:
0

can anyone help me with this please

I want to know on what day the order was,
and on the invoice it puts this below.

Date Purchased: DATE_FORMAT_LONG

Many thanks
Stuart.

14 Apr 2011, 3:51 PM
#2
ebusinessman avatar

ebusinessman

Zen Follower

Join Date:
Jul 2006
Posts:
132
Plugin Contributions:
0

Re: can anyone help me with this please

you missed languages file

15 Apr 2011, 3:24 PM
#3
homebrewkits avatar

homebrewkits

New Zenner

Join Date:
May 2009
Location:
united kingdom
Posts:
37
Plugin Contributions:
0

Re: can anyone help me with this please

Sorry what do you mean. and how do I rectify this.
Manty thanks

Stuart

15 Apr 2011, 3:32 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: can anyone help me with this please

Whenever you see text like DATE_FORMAT_LONG (all caps), it most likely means that the language file where that constant is defined is missing. Search in Tools > Developers Toolkit for DATE_FORMAT_LONG to see where it is used and if there is a define for it.

15 Apr 2011, 10:12 PM
#5
ebusinessman avatar

ebusinessman

Zen Follower

Join Date:
Jul 2006
Posts:
132
Plugin Contributions:
0

Re: can anyone help me with this please

Black Belt explains the right way

16 Apr 2011, 1:20 PM
#6
homebrewkits avatar

homebrewkits

New Zenner

Join Date:
May 2009
Location:
united kingdom
Posts:
37
Plugin Contributions:
0

Re: can anyone help me with this please

Had a look nothing in there thanks anyway.

Stuart

16 Apr 2011, 1:33 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: can anyone help me with this please

If that didn't show up in the DTK, you're missing two very important files (admin/includes/languages/english.php and includes/languages/english.php). If those weren't there, your site wouldn't work at all, so I'd guess you didn't search properly.

Check both of those files to see if they've been improperly edited.

16 Apr 2011, 2:04 PM
#8
ebusinessman avatar

ebusinessman

Zen Follower

Join Date:
Jul 2006
Posts:
132
Plugin Contributions:
0

Re: can anyone help me with this please

/admin/includes/languages/english.php

Line #21 : define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

see if this has a problem. if you can't find it, add the above line