包含在包含文件中不起作用[重复]

Possible Duplicate:
How to get useful error messages in PHP?

I have the following html list:

<ul id="ulGroups">
<?php
include('organizer_picturearchive_groups.php');
?>
</ul>

I am trying to include this file, which also includes another file:

<?php
include('lib/organizer_functions/picture_archive.php');
    echo select_all_picture_category_groups();
?>

Basically, what I am trying to do is to call a function that is in the picture_archive.php file. I do that in the organizer_picturearchive_groups.php file. I am including this file in the first file where the html list is. I am not pasting the whole code from there, because it is a lot, but it works.

However the include thing doesn't, because when I tried to make a test echo statement in the "organizer_picturearchive_groups.php" file it works and I can see the text I am printing.

Do you have ideas what may cause this problem ?

Double check the path. If organizer_picturearchive_groups.php is in the same directory as the code, then try configuring the path as relative:

<?php
include('./organizer_picturearchive_groups.php');
?>