PHP won't see one include
Posted: Thu Jan 25, 2007 9:32 pm
Hello,
Mac OSX 4.8 PPC
PHP 5.2 http://www.entropy.ch Release 3 (using his php.ini)
MySQL 5.0.27-max via socket
My system won't see my db connection function.
I use a 'require_once' to call a file with just one function in it, my db connection function.
It tells me:
It must not even be seeing that file, because if I used the same function twice I get an error for doing that.
This is the second site I've tried to reinstall from backup since I rebuilt my entire OS last weekend with Tiger.
I forgot to mention that this install of PHP is a fresh one this week.
Can someone tell me what's up?
Thanks,
- dstefani
Mac OSX 4.8 PPC
PHP 5.2 http://www.entropy.ch Release 3 (using his php.ini)
MySQL 5.0.27-max via socket
My system won't see my db connection function.
I use a 'require_once' to call a file with just one function in it, my db connection function.
It tells me:
If I leave everything as it is, and just copy and paste the function into the page that has the require in it, all the other required page are called just fine.Fatal error: Call to undefined function db_connect() in...
It must not even be seeing that file, because if I used the same function twice I get an error for doing that.
This is the second site I've tried to reinstall from backup since I rebuilt my entire OS last weekend with Tiger.
I forgot to mention that this install of PHP is a fresh one this week.
Can someone tell me what's up?
Thanks,
- dstefani