Reasons for error message: Warning: Failed opening '/www/servers/webGNOM/test.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on
line 0
| From: | Lee P. Reilly | Date: | Fri, 15 Nov 2002 19:49:17 +0000 |
| Subject: | Reasons for error message: Warning: Failed opening '/www/servers/webGNOM/test.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 |
||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124646@lists.php.net to get a copy of this message | ||
Hi there,
Can someone suggest a reason for the following? I am trying to INCLUDE
the JPGraph libraries in my PHP script as follows:
BEGIN CODE
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
<?
/*
_______ ______ __ ___
/ ____/ | / / __ \/ |/ /
/ / __/ |/ / / / / /|_/ /
/ /_/ / /| / /_/ / / / /
\____/_/ |_/\____/_/ /_/ sasdap version
,----------------------------------------+
| Comments to go here.
`-----------------------------------------------------------------
*/
// Include the PGraph libraries
include ("jpgraph.php");
include ("jpgraph_log.php");
include ("jpgraph_scatter.php");
include ("jpgraph_error.php");
include ("jpgraph_line.php");
$xData = array(); // holding the R (X) data
$yData = array(); // holding the P(R) (Y) data
$eData = array(); // holding the error margin data
..
..
..
<snip>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
END CODE
My INCLUDE_PATH is set to /usr/local/lib/php, so the 5 INCLUDED scripts
are in there. However, this code results in the following error message:
Warning: Failed opening '/www/servers/webGNOM/test.php' for inclusion
(include_path='.:/usr/local/lib/php') in Unknown on line 0
I also tried changing the include line to
../../../www/server/webGNOM/JpGraph_1.9.2/ blah blah... but that gave me
the same error. Any ideas anyone?
Cheers,
Lee