Ut oh! SQL Error

This forum is for technical questions related to the message board. Now for registered users only.

Ut oh! SQL Error

Postby shivers » Thu Aug 16, 2007 1:41 am

Hey Kurt, when I click on "View posts since last visit" I get this:

General Error

Could not insert search results

DEBUG MODE

SQL Error : 1062 Duplicate entry '1193951034' for key 1

INSERT INTO phpbb_search_results (search_id, session_id, search_time, search_array) VALUES(1193951034, 'f66074096595d63c8beef4a7a7a5a99c', 1187228324, 'a:7:{s:14:"search_results";s:82:"29465, 29548, 29557, 29560, 29566, 29567, 29571, 29574, 29575, 29576, 29577, 29578";s:17:"total_match_count";i:12;s:12:"split_search";N;s:7:"sort_by";i:0;s:8:"sort_dir";s:4:"DESC";s:12:"show_results";s:6:"topics";s:12:"return_chars";i:200;}')

Line : 706
File : search.php
User avatar
shivers
BFCus Regularus
 
Posts: 5080
Joined: Sat Jun 26, 2004 7:23 pm
Location: eating refried beans

Postby Kurt » Thu Aug 16, 2007 9:16 pm

Hmmmm...I could not reproduce it.

But we have an odd sql setup here that was leftover from when we switched servers almost three years ago,
User avatar
Kurt
In Manus Manus
 
Posts: 22023
Joined: Mon Mar 08, 2004 6:29 am
Location: New York City

Postby shivers » Thu Aug 16, 2007 9:19 pm

I guess it fixed itself. I no longer have that problem.
User avatar
shivers
BFCus Regularus
 
Posts: 5080
Joined: Sat Jun 26, 2004 7:23 pm
Location: eating refried beans

Postby Kurt » Sat Aug 18, 2007 9:10 am

It was probably spambots making too many automated requests for the search function. They do that to check if their registrations have made it on the board and into google.
User avatar
Kurt
In Manus Manus
 
Posts: 22023
Joined: Mon Mar 08, 2004 6:29 am
Location: New York City


Return to Technical Questions

Who is online

Users browsing this forum: No registered users and 8 guests