phpBB problems with mysql? [OT?]

Jon-Eirik Pettersen lists at jonepet.net
Mon Feb 2 18:25:27 PST 2004


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.


More information about the freebsd-questions mailing list