PHP help?

Anyone good at PHP?

I’m redoing my site and ran into a problem with coppermine’s fetch-all.
I have an index structure that calls it’s parts by php includes.
Most of those parts call other parts by php includes.

If I look at the 2nd part module A that has the fetch-all it works fine.
If I look at the index page that calls module A, the fetch-all errors out.
…/…/…/talk/extension.inc not found. That is the correct path.

I fixed all other PHP errors by using only the direct paths eg: /var/www/site/includes/page.php

but this remains. I am wondering if it has to do with the call function being

<? php_include_once ???