xyn Posted August 7, 2006 Share Posted August 7, 2006 Hey guys.I have a index and session script in the SAME directory.basically session.php => check user logged in or not.index.php => the users area index.I have linked a config file from another directory,this worked PERFECT with the session.php. wheni include the "session.php" to the index file i get the followingerrors:[color=red]Warning: main(includes/config.php): failed to open stream: No such file or directory in ...public_html/en/includes/nav1.php on line 2Warning: main(includes/config.php): failed to open stream: No such file or directory in ...public_html/en/includes/nav1.php on line 2Warning: main(): Failed opening 'includes/config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in ...public_html/en/includes/nav1.php on line 2[/color] Link to comment Share on other sites More sharing options...
xyn Posted August 7, 2006 Author Share Posted August 7, 2006 Someone pointed my problem sorry!- as their in the same directory i forgotte to remove the "includes" :/sorry to waste time. Link to comment Share on other sites More sharing options...
Recommended Posts