Looks to me like the page index.php is probably using the "require_once"
function on the first line of the page. It's failing because it can't
find the file "Connections/CascoIntranet.php". I'm not sure about the
configurations on an Linux/Apache environment ( I'm Windows 2000 ), but
in my case I would need to check the php.ini configuration file and put
in the include_path directive the location to
"Connections/CascoIntranet.php". Then reinitialize PHP with the new
configurations and I think that should do it for you. Either that or in
the "require_once" function, put the full path to the file. For example:
require_once("d:\database\Connections\CascoIntrane t.php");
If that works, then you can probably do as I mentioned and just update
the PHP config to defaultly look in that location.
I have a similar situation where I put in the include_path the location
of a bunch of DB connection files. That way in my code all I have to do
is reference the file name in the "require_once" function and it's all set.
HTH,
Gabe
KeepersCastle wrote:
Quote:
Getting an error message saying "Fatal error: Failed opening required
'Connections/CascoIntranet.php' (include_path='.:/usr/share/pear') in
/var/www/html/test.cascoproducts.com/index.php on line 1"
As near as I can tell I need to configure something to open the MySQL database
but I am a little out of my realm. Any help/direction would be appreciated.
Additional Info: Web Server: Red Hat 9, Apache 2.0.4, PHP 4.2.2, MySQL 3.23
Thanks for taking a look. |