Jump to content

Archived

This topic is now archived and is closed to further replies.

xyn

Sessions & include problems...

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]

Share this post


Link to post
Share on other sites
Someone pointed my problem sorry!
- as their in the same directory i forgotte to remove the "includes" :/
sorry to waste time.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×

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.