Click to See Complete Forum and Search --> : [RESOLVED] PHP5 not inheriting functions from includes.


stevesweetland
06-15-2007, 02:17 PM
ok

/core/site.config.php has a declared function.

/siteadmin/folder.config.php calls that function.

/siteadmin/index.php calls folder.config.php.

and this happens.

*url woz ere*

REALLY REALLY annoying, i cant actually do ANY more work until this works. Only answer iv had from the host 'its something to do with the code and php5'... iv asked for more help but i wondered if it might be something glaringly obvious.

stevesweetland
06-15-2007, 02:19 PM
ALSO...

site.config.php has two outputs from it

<h1>ridiculous</h1>

and

<h1>really ridiculous</h1>

but..... they arent being output.

stevesweetland
06-15-2007, 02:26 PM
i fixed it. want to know how??????????!?!?!?!?!

i had to delete the comments from the beginning of the scripts, delete the php opener tag, retype it, and make sure i had code at the first line of each script i wanted to include.

WHY on earth, if its a tag issue, doesnt php5 generate an error for it!?!??!?!?

GRRRRRRRRRRRRRRRRRRRRRRRRRR