Trouble calling functions in included PHP file
Posted on 2014-01-15
I've run into a strange problem - probably compounded by my ignorance!
I'm trying to move a client web-site from their old host to my server (a VPS at WiredTree)
We will be building a new site for them but in the meanwhile I just need to make their old content work on my server - it doesn't!
In their old site each php file has an include statement like this:
and in the textblocks.php are defined a number of functions. The textblocks.php file begins and ends with <?php and ?>
In their old environment everything works fine. On my server - although the textblocks.php file is loaded (I tested that by changing the include to require) When a function form that file is called I get an undefined function error.
What could be causing that? Any ideas? Any cures?