News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Weird problem?

Started by DarkCyntax, May 03, 2007, 05:37:54 AM

Previous topic - Next topic

DarkCyntax

ERROR:
Notice: 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 /www/path/to/htdocs/forum/SSI.php on line 160

<?php require("forum/SSI.php"); 
$_SESSION['login_url'] = 'http://www.Irregular-Network.net.tf' $_SERVER['PHP_SELF'];
$_SESSION['logout_url'] = 'http://www.Irregular-Network.net.tf' $_SERVER['PHP_SELF'];
?>


echo '
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '">
<table align="center" Cellspacing="0">
<img src="img/empty.gif" /><br />
<tr>
<td><label for="user">', $txt[35], ':</label></td></tr><tr>
<td><input style="background-color: #d0d0d0; color: #000000; border: groove 2px #494949;" type="text" id="user" name="user" size="11" value="', $user_info['username'], '" /></td>
</tr><tr>
<td><label for="passwrd">', $txt[36], ':</label></td></tr><tr>
<td><input style="background-color: #d0d0d0; color: #000000; border: groove 2px #494949;" type="password" name="passwrd" id="passwrd" size="11" /></td>
</tr><tr>
<td><input type="hidden" name="cookielength" value="60" /><!-- value means how long will be logged in, set to -1 to stay logged in forever -->
<input type="image" src="img/logbutton.gif" value="', $txt[34], '" /></td>
</tr>

</table>
</form>

Sarge


    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

DarkCyntax

Well I did, asked anyways...
So I changed the code into ANSI and zipped it and then uploaded and now everything works fine.
Well I splitted the code into multiple portions so it would be easier to maintain the syte now. Thanks for your help :D

Advertisement: