Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 2004 03:25:21 +0100
From:      Jon-Eirik Pettersen <lists@jonepet.net>
To:        ecrist@adtechintegrated.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: phpBB problems with mysql? [OT?]
Message-ID:  <401F0691.90703@jonepet.net>
In-Reply-To: <200402021436.24242.ecrist@adtechintegrated.com>
References:  <200402021436.24242.ecrist@adtechintegrated.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Eric F Crist wrote:

>This may be a little off-topic, if so, I apologize.  I'm running phpBB2 on my 
>webserver.  I finally got it working, and it's been great since Friday.  This 
>afternoon, when I try to load the page, I get the following error:
>
> phpBB : Critical Error 
>
> Error creating new session
>
>DEBUG MODE
>
>SQL Error : 1062 Duplicate entry '-1' for key 2
>
>INSERT INTO phpbb_sessions (session_id, session_user_id, session_start, 
>session_time, session_ip, session_page, session_logged_in) VALUES 
>('8f431818aa903b05979098a737674ac3', -1, 1075754200, 1075754200, '3fe40ef5', 
>0, 0)
>
>Line : 152
>File : /www/seccomp/htdocs/phpBB2/includes/sessions.php 
>
>Does anyone have any suggestions?  Thanks!
>  
>
Try to empty the "phpbb_sessions"-table, (DELETE FROM phpbb_sessions). 
Remember to back it up first.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401F0691.90703>