Include werkt niet na andere include

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
GerEielts
Berichten: 2
Lid geworden op: 25 okt 2004, 12:37

Include werkt niet na andere include

Bericht door GerEielts » 25 okt 2004, 12:43

Hoi experts,

Mijn probleem is het volgende: ik hou zowel een gastenboek als een forum bij. In beide index.php's heb ik de volgende include:
include("statistiek/counter.php")

In de index.php van het gastenboek wordt de include WEL uitgevoerd, maar in de index.php van het forum NIET.

Nou staat in de slotregels van de forum-index.php ook al een include, nl.
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
en daar onder dus:
include("statistiek/counter.php");

Gaat het fout omdat er 2 includes achter elkaar staan? Of omdat de eerste include een path-variable heeft ? Weet iemand de oplossing ?

Bedankt alvast, Ger.

Gesloten