Fatal error in indexpage

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!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Fatal error in indexpage

Beitrag von demingel »

Hello
I have a problem I don't no witch mod gives the problem.
wenn i post a new event in de calender and I go to the index pagina I gett this error
a have installed callite 1.4.7
and eventslist callite 1_5_2


Code: Alles auswählen

Fatal error: Call to undefined function: mydateformat() in /home/httpd/vhosts/carpflashes.nl/httpdocs/board/index.php on line 216 
inde.php line 216

Code: Alles auswählen

$zdesc = make_clickable($zdesc); 
      $start_date = mydateformat($row['stamp'], $userdata['user_dateformat']); 
      $end_date = mydateformat($row['eventspan'], $userdata['user_dateformat'], 1); 
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

This function is a basic part from the calendar...
Can you please attach your index.php to take a look?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

here is my indexpagina

Code: Alles auswählen

-- Deleted by Admin --
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Please attach the file (e. g. as a Zip file).
Do NOT post it!
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

this is my indexpage
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay. Find in the index.php the line

Code: Alles auswählen

include_once($phpbb_root_path . 'includes/functions.'.$phpEx);
and insert after this

Code: Alles auswählen

include_once($phpbb_root_path . 'cal_lite_functions.php');
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

I now have this error

Code: Alles auswählen

Fatal error: Cannot redeclare mydateformat() in /home/httpd/vhosts/carpflashes.nl/httpdocs/board/index.php on line 308
and users see also this error

Code: Alles auswählen

Fatal error: Call to undefined function: calendarperm() in /home/httpd/vhosts/carpflashes.nl/httpdocs/board/index.php on line 157 
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

???

If this is is now redefined, why the script will not find it without including the calendar functions???

Mysterious...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

a have paste this

Code: Alles auswählen


include_once($phpbb_root_path . 'cal_lite_functions.php');
and I have now uploaded the index page and I have now this error

Code: Alles auswählen

Fatal error: Cannot redeclare mydateformat() in /home/httpd/vhosts/carpflashes.nl/httpdocs/board/index.php on line 308
[/code]
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Yes, but this should be wrong ...
Without this you get an unknowm function, with this include the function will be redefined...

Very mysterious...
But: the eventlist for callite mod could not be inserted in the index.php, just into the calendar itself.
If you will display the next events, use this MOD: http://www.oxpus.de/downloads.php?view=detail&id=14
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

I have found the error it was this mod > http://www.phpbbhacks.com/download/1802
It has to work with the calender a have

so I deleted this mod en now it's al working fine

wath's the difference between these two mod?
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

This mod was designed for the index page and displayes only the current events for the current day.
My Eventlists are displaying all, the past or the future events on calendar itself or the future events on portal/index if you need...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

i have installed your mod butt a have this for 12 pages long all with the same time and date

Code: Alles auswählen

01 Jan 2007 12:00 am 01 Jan 2007 12:00 am Anonymous 
Anonymous 
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Can you please attach your index.php to take a look?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

this is the index page
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Hm, the code is the right one, but for the latest calendar lite! Do you use the release 1.4.7?
And can you post a link to your index to look for the "malfunction" dateformats and heavy list size?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

I use callite version 1.4.7
http://www.carpflashes.nl/board/calenda ... e=View_New
on this page you see these 'errors'

it's in dutch
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Ah, these are the birthday events...
This is not the index.php, but the cal_lite.php, I need to check...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Yes. Attach the cal_liste.php here as a ZIP File...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

I cant find any cal_liste.php
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

cal_lite.php!
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

the cal_lite page
Zuletzt geändert von demingel am So 02.Apr, 2006 11:52, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Hm, the code is correct, but do you really use the birthday mod from Niels?
This mod use 6 digits for each birthday, not an unix timestamp!
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
demingel
Beiträge: 34
Registriert: Mi 01.Mär, 2006 07:56
Wohnort: Gardner
Kontaktdaten:

Beitrag von demingel »

witch birthday mod do you mean?
a have these mods installed for callite version 1.4.7

Eventlists for Calendar lite 1.4.7
Displays Birthdays on Calendar lite 1.4.6
Events from callite 1.4.4 on ezPortal
Antworten