Home TheRandomizer Forum Index Log in Register FAQ Search
TheRandomizer Forum Index » Installation Help » logout error admin and users
Post new topic  Reply to topic View previous topic :: View next topic 
logout error admin and users
PostPosted: Sun Jan 04, 2004 4:01 pm Reply with quote
tim
Newbie
Joined: 31 Dec 2003
Posts: 3




In the admin and user area I keep getting the following error when I try to log out It was working fine until today. I have reuploaded the logout.php in the admin and users area But Still keep gettin these errors.

Parse error: parse error in /home/pay/public_html/rusers/logout.php on line 4

Parse error: parse error in /home/pay/public_html/radmin/logout.php on line 4


Apache Version 1.3.29 (Unix)
PHP Version 4.3.3

Any Suggestions?


Tim
PostPosted: Sun Jan 04, 2004 4:59 pm Reply with quote
daniel
Addict
Joined: 19 Sep 2004
Posts: 177




Hi Tim!
Please PMB me with the server details.I want to take a closer look.
PostPosted: Tue Jan 06, 2004 4:26 pm Reply with quote
tim
Newbie
Joined: 31 Dec 2003
Posts: 3




Quote:
Parse error: parse error in /home/pay/public_html/radmin/logout.php on line 4
Changed line 4 from
unset($ADMIN["admin"]);

Changed Line 4 to

session_unset($ADMIN["admin"]);
Quote:
Parse error: parse error in /home/pay/public_html/rusers/logout.php on line 4

Changed Line 4 from
unset($_SESSION["user"]["firstname"]);

to
$_SESSION["user"]["firstname"];

I foung this http://www.php.net/manual/en/function.session-destroy.php


Tim
 logout error admin and users 
 TheRandomizer Forum Index » Installation Help
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Powered by phpBB© 2001-2006 phpBB Group |Randomizer Script | Web Hosting | phpBB Skin by Vjacheslav Trushkin