Reply
Old 11-19-2007, 03:42 PM Errors
evans123's Avatar
Ultra Talker

Posts: 271
I keep getting this error in a rank.php that doesnt contain any sessions, i found the problem in config.php but i know its correct so whats the problem. I dnt think that i have to register like $_SESSION as the browser should recognize it. ive used it on other sites and it works fine so i dnt see the problem!

Error:
PHP Code:
WarningUnknownYour script possibly relies on a session side-effect which existed until PHP 4.2.3Please be advised that the session extension does not consider global variables as a source of dataunless register_globals is enabledYou can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to offrespectivelyin Unknown on line 0 


Code I Took Out:

PHP Code:
$sql mysql_fetch_array(mysql_query("SELECT * FROM `championship__login` WHERE `username` = '" $_SESSION['loggedin'] . "'"));
$_SESSION['id'] = $sql['id'];
$_SESSION['userlevel'] = $sql['userlevel'];
$_SESSION['money'] = $sql['money'];
$_SESSION['transfers'] = $sql['transfers'];
$_SESSION['team_name'] = $sql['team_name'];
$_SESSION['date'] = $sql['date'];
$_SESSION['logo'] = $sql['logo'];
$_SESSION['monthly_points'] = $sql['monthly_points'];
$_SESSION['points'] = $sql['points'];
$_SESSION['comment'] = $sql['comment'];
$_SESSION['rank'] = $sql['rank'];
$_SESSION['last_rank'] = $sql['last_rank']; 
__________________
SoldierExteme.com - Free MMORPG - sign-up today!
Backthebulls.com - Free online games (mad_willsy's)
Msnextra.co.uk - Msn Items

Last edited by evans123 : 11-19-2007 at 03:43 PM.
evans123 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Reply     « Reply to Errors
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11814 seconds with 12 queries