Re: include not working properly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



robert mena wrote:
Hi,

I am facing a strange problem.  One of my classes uses a include("Log.php")
to enable to to use the Log class that comes with pear.

*Fatal error*: require_once()
[function.require<http://www.manaushoteis.tur.br/function.require>]:
Failed opening required 'Log.php'
(include_path='.:/usr/local/lib/php/:/home/httpd/html/php/:/home/httpd/html/include/php/')
in */var/www/html/domain/php/Conexion.inc* on line *14*
**
*I do have the Log.php*
**
*ls -lsa /usr/local/lib/php/Log.php
20 -rw-r--r--  1 root root 18563 Mai 25  2005 /usr/local/lib/php/Log.php*

The only difference I can see is that I don't have the / on the end of my include paths:

include_path = ".:/usr/share/pear:/usr/local/php/lib/php"

Try removing the / from the end of each folder and see what happens ?

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux