[PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread kronos
Hi, Would someone be kind enough to test whether these following functions work? I'm getting: PHP Fatal error: Call to undefined function easter_date() . . . easter_days on both local and production sites. ?php echo easter_days(2009); print brbr; echo date(M-d-Y,

Re: [PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread Jonathan Tapicer
What platform? If you compiled PHP yourself you need to compile with --enable-calendar. Jonathan On Fri, Oct 9, 2009 at 10:01 AM, kro...@aolohr.com wrote: Hi, Would someone be kind enough to test whether these following functions work? I'm getting: PHP Fatal error:  Call to undefined

Re: [PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread Andre Dubuc
Hi Jonathon, I'm using Mandriva 2008.0 x86_64 version (which probably didn't have that enabled).. Thanks -- will check. Be fun trying to enable it though, given Mandriva's propensity to stick stuff in weird places. Sigh . . . Andre On October 9, 2009 09:20:29 am Jonathan Tapicer wrote:

Re: [PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread Chris Streatfield
Out put on PHP 5.2.4 quote Parse error: syntax error, unexpected T_STRING in /testphp.php on line 2 /quote Line 2 is the first line of code. Output on PHP 5.2.6 and on PHP 5.3.0 local blank page. All the best Chris Streatfield Tel: +64 4 475 7846 Mob: 021 102 6018 Skype: chrisstreat On Sat,

Re: [PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread kronos
Thanks Chris. Seems like the function is a dud. I have '-enable-calendar' working on both local and production. Sigh . . I have been using another modified 'easter' function, 'pFeast', (can't for the life of me find it on the net now). It works well, but I need to set the output to a

Re: [PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread Shawn McKenzie
kro...@aolohr.com wrote: Thanks Chris. Seems like the function is a dud. I have '-enable-calendar' working on both local and production. Sigh . . I have been using another modified 'easter' function, 'pFeast', (can't for the life of me find it on the net now). It works well, but I

Re: [PHP] Fatal error on functions valid for PHP 4, 5 [RESOLVED]

2009-10-09 Thread kronos
On October 9, 2009 05:17:18 pm you wrote: kro...@aolohr.com wrote: Thanks Chris. Seems like the function is a dud. I have '-enable-calendar' working on both local and production. Sigh . . I have been using another modified 'easter' function, 'pFeast', (can't for the life of me find