Jump to content

Sessions & include problems...


xyn

Recommended Posts

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. when
i include the "session.php" to the index file i get the following
errors:

[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 2

Warning: main(includes/config.php): failed to open stream: No such file or directory in ...public_html/en/includes/nav1.php on line 2

Warning: 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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.