Fatal error: Call to undefined function: realdate()

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Fatal error: Call to undefined function: realdate()

Beitrag von demingel »

hello I have this error

Code: Alles auswählen

Fatal error: Call to undefined function: realdate() in /home/httpd/vhosts/carpflashes.nl/httpdocs/board/cal_lite.php on line 936 



and this is line 936


[/code]
$birthday = ( realdate("m d", $row['user_birthday']) >= $current_day_month ) ? $cl_y . ' ' . realdate("m d", $row['user_birthday']) : ($cl_y + 1) . ' ' . realdate("m d", $row['user_birthday']);
[/code]
modbo
Beiträge: 1344
Registriert: Mo 13.Dez, 2004 11:18
Kontaktdaten:

Beitrag von modbo »

There have to be 2 functions in your includes/functions.php.
They are a little bit too long, to post in this thread, so I put them into an attachment.
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

ok and were do I have to place these codes in functions.php
modbo
Beiträge: 1344
Registriert: Mo 13.Dez, 2004 11:18
Kontaktdaten:

Beitrag von modbo »

It doesn`t matter where. Sure it must be between <?php and ?>

As an example you can add it before

Code: Alles auswählen

function read_cookies($userdata)
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

Ok well my error is gone butt now a have a other problem
wenn a view all of my events
I see al kind of usersname's

Code: Alles auswählen

 
  
 01 Jan 2007 12:00 am 01 Jan 2007 12:00 am Anonymous 
Anonymous 

and this 12 pages long ^q all with the same date and time
all the other functions are working fine
Antworten