Date: Mon, 02 Feb 2004 19:49:43 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz> To: ecrist@adtechintegrated.com Cc: freebsd-questions@freebsd.org Subject: Re: phpBB problems with mysql? [OT?] Message-ID: <401EFE37.2020407@daleco.biz> 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: > > > Which page? > 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! > > This would probably be a great one for the folks at the phpbuilder.com forums. Before you head there, I'd suggest Googling for the error message, and also checking phpbb.org to see if this is a FAQ for PHPBB (IIRC, there is...) Obviously, some call is returning a value of negative one. This seems a tad unusual for PHP, which generally returns 1 on success, zero on failure. I doubt that PHPBB calls to system() or shell_exec(), so it's a little beyond me. On my PHPBB, line 152 is blank... but I'm not recalling what version I have, and I have multiple installations... Kevin Kinsey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401EFE37.2020407>