News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SSI PROBLEM

Started by ZedPain, May 04, 2010, 10:39:19 AM

Previous topic - Next topic

ZedPain

I dont know why i have this problem
i added this at my top of my website

<?php require_once('forum/SSI.php');
$_SESSION['login_url'] = 'http://zed-rpg.com' $_SERVER['PHP_SELF'] . '?' $_SERVER['QUERY_STRING'];
$_SESSION['logout_url'] = 'http://zed-rpg.com' $_SERVER['PHP_SELF'] . '?' $_SERVER['QUERY_STRING'];
?>




And after i login one time its send me to the webside and after one logout its send me to the webside

and when im login again the second time it's send me to the forum and at the top of the site i have this error


QuoteNotice: SSI.php was unable to load a session! This may cause problems with logout and other functions - please make sure SSI.php is included before *anything* else in all your scripts! in /home/zed/domains/zed-rpg.com/public_html/forum/SSI.php on line 168

ZedPain


Arantor

Please don't bump within 24 hours, we're all volunteers.

Please *attach* (not just post) the actual file you're using.

Advertisement: