Installing with phpBB2.0.18

This mod will register when the user last logged in, allong with the info about how meny users have visited the board

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby NeoID on Tue 15. Nov, 2005 14:51

Sorry if it's already know, but the premodded file contains an error.


The premodded file wrote: //
// Delete expired sessions
//
$sql = "DELETE FROM " . SESSIONS_TABLE . "
WHERE UNIX_TIMESTAMP() - session_time >=172800'
AND session_id <> '$session_id'";



How it should be wrote: //
// Delete expired sessions
//
$sql = "DELETE FROM " . SESSIONS_TABLE . "
WHERE UNIX_TIMESTAMP() - session_time >=172800
AND session_id <> '$session_id'";


Remove the ' at the end of 172800'...
Hope it helps! :)
NeoID
Poster
Poster
 
Posts: 11
Joined: Wed 28. Sep, 2005 18:06

Postby J0sh on Wed 16. Nov, 2005 03:22

My sessions.php is not working properly...when I log out it comes to a page that says "General Error: invalid_session" and it doesnt log me out :?
J0sh
Poster
Poster
 
Posts: 2
Joined: Thu 30. Jun, 2005 02:13
Location: Nebraska

Previous

Return to Last visit [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron