Hi all
I am getting error in the php logs, when I call for the index.php that is made up of 3 inc's this is the error that I get.
[13-May-2004 14:53:29] PHP Warning: main(C:/apache2/htdocs/inc/header1.php): failed to open stream: No such file or directory in C:\apache2\htdocs\giftdealsgalore\index.php on line 2
[13-May-2004 14:53:29] PHP Warning: main(): Failed opening 'C:/apache2/htdocs/inc/header1.php' for inclusion (include_path='.;c:\apache2\php;c:\apache2\php\sma rty;c:\apache2\php\pear;c:\apache2\php\pear\pear') in C:\apache2\htdocs\giftdealsgalore\index.php on line 2
It's not that I don't understand that the inc dir. needs to be in the dir. of giftdealgalore it is according to the file structure at the command promt.
It appears to me that php looked for the inc here 'C:/apache2/htdocs/inc/header1.php' when it should have looked here
'C:/apache2/htdocs/giftdealsgalore/inc/header1.php'
everything works fine on the remote host this is on localhost.
any ideas
Mike
Submit Your Article
Forum Rules

Reply With Quote
