1
limecity
Smarty Date Format php5 error
  • 2008/5/4 3:28

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


My hosting upgraded my site to php5 and it causes some errors.
one of it would be this

<{$smarty.now|date_format:"%A, %B %e, %Y"}>

the date on the theme randomly outputs a inaccurate date.
like this:
Saturday, February 9, 120988

how do i fix it?
hhttp://www.mounthiking.com
all your hiking gears and gadgets


2
limecity
Re: Smarty Date Format php5 error
  • 2008/5/5 10:32

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


xoops is getting lack of support these days.
hhttp://www.mounthiking.com
all your hiking gears and gadgets


3
Marco
Re: Smarty Date Format php5 error
  • 2008/5/5 10:54

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


hello,

no one apparently had the mistake with its php5 / XOOPS environment.
it does not deal with xoops, but with smarty and php themselves, and your hosting company.
Check on smarty's forums /faq to see if someone had the same problem.
Do synergy or die.

4
zyspec
Re: Smarty Date Format php5 error
  • 2008/5/5 14:33

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I believe Marco is correct... You can see similar issues at both Issue Report 1 and Issue Report 2. Reading through some of the forums it appears that it may also depend on the 'exact' PHP version (for example I saw a forum post that claimed there were problems using this with 5.2.0) and also may depend on the specific installation of the OS (Linux - and which distribution, Windows, etc.).

5
limecity
Re: Smarty Date Format php5 error
  • 2008/5/5 17:49

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


thanks for the reply. i'll try look into it again.
appreciate the help
hhttp://www.mounthiking.com
all your hiking gears and gadgets


Login

Who's Online

369 user(s) are online (273 user(s) are browsing Support Forums)


Members: 0


Guests: 369


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits