p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: RE: Unknown warning message


Message #1 by "Fernando Sotano Camilo" <fcamilo@u...> on Tue, 3 Sep 2002 18:35:58
First of all, thanks for your help. Actually, there wasn't this command
"include" in my script, the problem was about permissions. It has to be at
least 755 (it was 751). My php isn't running in safe mode also.
Anyway, your message gave me an idea of what should I try, and everything
is fine now. Thank you again.

Fernando.


> Warning: Failed opening '/home/fcamilo/public_html/index2.php' for
> inclusion (include_path='.:/usr/share/pear') in Unknown on line 0


It looks like one of your php files is trying to

  include('/home/fcamilo/public_html/index2.php');

but the file isn't accessible; i.e.  it doesn't exist or the webserver user
doesn't have read permissions set for the file.


What's really strange is that "in Unknown on line 0" part.  I've never
experienced that error before.

Are you running PHP in safe mode?  Does a simple <?php phpinfo(); ?> script
work?


nik


  Return to Index