flood protection - duplicate entry error
| Author |
Message |
SnoSheriff


Joined: Mar 27, 2005 Posts: 174
|
Post subject: flood protection - duplicate entry error Posted: Fri Mar 28, 2008 2:07 am |
|
Last night I upgraded to DF9.2.1. Today I got hundreds of emails similar to this one:
On /Your_Account.html
While executing query "INSERT INTO cpg_security_flood (flood_ip,flood_time,flood_count,log) VALUES (0x4430f21d, '1206658018', '0', DEFAULT)"
the following error occured: Duplicate entry 'D0�' for key 1
In: /home/mydomain/public_html/includes/classes/security.php on line: 308
_________________ XJBikes.com
SnoSheriff's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache=1.3.41/MySQL=5.0.87-community/PHP=5.2.6/DFCMS=9.2.1 |
|
| Back to top |
|
 |
layingback


Joined: Apr 19, 2004 Posts: 953
|
|
| Back to top |
|
 |
SnoSheriff


Joined: Mar 27, 2005 Posts: 174
|
Post subject: Re: flood protection - duplicate entry error Posted: Fri Mar 28, 2008 3:55 am |
|
I moved from 9.0.6.1
_________________ XJBikes.com
SnoSheriff's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache=1.3.41/MySQL=5.0.87-community/PHP=5.2.6/DFCMS=9.2.1 |
|
| Back to top |
|
 |
SnoSheriff


Joined: Mar 27, 2005 Posts: 174
|
Post subject: Re: flood protection - duplicate entry error Posted: Fri Mar 28, 2008 4:21 am |
|
Just got another similar email. I'm concerned that I'm blocking google bots. Is that the case here?
On /Your_Account.html
While executing query "INSERT INTO cpg_security_flood (flood_ip,flood_time,flood_count,log) VALUES (0x42f94679, '1206694750', '0', DEFAULT)"
the following error occured: Duplicate entry 'B�Fy' for key 1
In: /home/mydomain/public_html/includes/classes/security.php on line: 308
Guest information:
User id: 1
Username: Anonymous
Admin: No
IP: 66.249.70.121
Host: crawl-66-249-70-121.googlebot.com
_________________ XJBikes.com
SnoSheriff's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache=1.3.41/MySQL=5.0.87-community/PHP=5.2.6/DFCMS=9.2.1 |
|
| Back to top |
|
 |
layingback


Joined: Apr 19, 2004 Posts: 953
|
Post subject: Re: flood protection - duplicate entry error Posted: Fri Mar 28, 2008 4:38 am |
|
I also moved directly from 9.0.6.1. So I suspect that the connection. Hopefully Nano will see this.
Yes, that seems to be googlebot - or one of them. You can turn off flooding in meantime. I'm surprised that googlebot was hammering this hard - I thought it usually obeyed robots.txt. You have the correct version of robots.txt installed? (Note this bug - if indeed it is a bug - is not the issue with regard to stopping googlebot. As it had already got into your flooding list before the dup issue.)
_________________ Pro_News: The complete module for Dragonfly - now available as version 3.3
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1 |
|
| Back to top |
|
 |
SnoSheriff


Joined: Mar 27, 2005 Posts: 174
|
Post subject: Re: flood protection - duplicate entry error Posted: Fri Mar 28, 2008 4:47 am |
|
how do I verify the robots.txt?
Here is the pic of my settings:
_________________ XJBikes.com
SnoSheriff's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache=1.3.41/MySQL=5.0.87-community/PHP=5.2.6/DFCMS=9.2.1 |
|
| Back to top |
|
 |
layingback


Joined: Apr 19, 2004 Posts: 953
|
Post subject: Re: flood protection - duplicate entry error Posted: Fri Mar 28, 2008 4:57 am |
|
It should be in your top level DF folder. Make sure it matches 1 on 9.2.1 zip. Should have a crawl-delay: 20 entry.
You haven't changed it from tight to loose yet I see ...
_________________ Pro_News: The complete module for Dragonfly - now available as version 3.3
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1 |
|
| Back to top |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3677 Location: Melbourne, AU
|
Post subject: Re: flood protection - duplicate entry error Posted: Mon Mar 31, 2008 4:30 am |
|
Nothing wrong with the crawl delay, it wasnt hammering and the system did not blocked it in any way.
The duplicate keys, somehow, sometimes happen. I'm aware of this issue from few months already, i could suppress the error as a workaround but this is something that i dont want to. I want to fix it, no hide it.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MySQL 5.1 / PHP 5.3 / NextGen() |
|
| Back to top |
|
 |
kringel


Joined: Oct 20, 2008 Posts: 8 Location: Wermelskirchen, Germany
|
Post subject: Re: flood protection - duplicate entry error Posted: Mon Dec 15, 2008 8:35 am |
|
Hi, guys!
I receive this error message as well, but this error occurs everytime someone tries to log in... I can't even reach admin panel! I've changed some security rights just before this error's first appereance but I can't remember, what I've changed
Quote:
On /content/index.php
While executing query "INSERT INTO dragonfly_security_flood (flood_ip,flood_time,flood_count,log) VALUES (0x559ec410, '1229325296', '0', DEFAULT)"
the following error occured: Duplicate entry 'U��' for key 1
In: /*****/content/includes/classes/security.php on line: 308
Guest information:
User id: 2
Username: kringel
Admin: No
IP: ...
Host: ... What can I do to make my homepage accessible again?
kringel's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) osDebian/apache2.2.3/mysql5.0.75/php5.2.8/dragonfly10.0.02 |
|
| Back to top |
|
 |
kringel


Joined: Oct 20, 2008 Posts: 8 Location: Wermelskirchen, Germany
|
Post subject: Re: flood protection - duplicate entry error Posted: Wed Jan 07, 2009 6:40 pm |
|
kringel wrote:
Hi, guys!
I receive this error message as well, but this error occurs everytime someone tries to log in... I can't even reach admin panel! I've changed some security rights just before this error's first appereance but I can't remember, what I've changed  Hello, again
I've reinstalled Dragonfly and changed only flooding settings to "loose" and "15 Minutes ban" - and *booom* I'm out again. Where are these settings saved in the database?
kringel's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) osDebian/apache2.2.3/mysql5.0.75/php5.2.8/dragonfly10.0.02 |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: flood protection - duplicate entry error Posted: Thu Jan 08, 2009 12:50 am |
|
In your case, those settings are saved in the dragonfly_config_custom table.
However, remember, if you change settings directly in the database, you must also delete the cache/conbfig_MAIN_CFG.php file so that it can re-generate.
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
hadi00


Joined: Dec 01, 2004 Posts: 198 Location: Syria
|
|
| Back to top |
|
 |
hadi00


Joined: Dec 01, 2004 Posts: 198 Location: Syria
|
Post subject: Re: SQL Error:Duplicate entry 'MÓyû' for key 1? Posted: Tue Jun 30, 2009 1:56 pm |
|
Ok, got two another :
Code:
On /header/header_CBStageSh1.html
While executing query "INSERT INTO cms_security_flood (flood_ip,flood_time,flood_count,log) VALUES (0x51348f20, '1246316529', '0', DEFAULT)"
the following error occured: Duplicate entry 'Q4 ' for key 1
In: /home/_XX_/public_html/includes/classes/security.php on line: 308
Guest information:
User id: 1
Username: Anonymous.
Admin: No
IP: 81.52.143.32
Host: natcrawlbloc03-32.net.m1.fti.net
--------
Code:
On /Left/left_artists.html
While executing query "INSERT INTO cms_security_flood (flood_ip,flood_time,flood_count,log) VALUES (0x51348f20, '1246316529', '0', DEFAULT)"
the following error occured: Duplicate entry 'Q4 ' for key 1
In: /home/_XX_/public_html/includes/classes/security.php on line: 308
Guest information:
User id: 1
Username: Anonymous.
Admin: No
IP: 81.52.143.32
Host: natcrawlbloc03-32.net.m1.fti.net
_________________ The truth is to stop thinking and start living
hadi00 please enter your server specs in your user profile! |
|
| Back to top |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3677 Location: Melbourne, AU
|
Post subject: Re: flood protection - duplicate entry error Posted: Sun Jul 26, 2009 5:19 am |
|
I still believe this error only happens when the same client access your site for the first time simultaneously.
No fix at this stage but speeding up the Security class by removing all latest debug functions introduced might helps.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MySQL 5.1 / PHP 5.3 / NextGen() |
|
| Back to top |
|
 |
layingback


Joined: Apr 19, 2004 Posts: 953
|
Post subject: Re: flood protection - duplicate entry error Posted: Wed Jul 29, 2009 12:11 pm |
|
NanoCaiordo wrote:
I still believe this error only happens when the same client access your site for the first time simultaneously.
No fix at this stage but speeding up the Security class by removing all latest debug functions introduced might helps.
Looks as if I can pop that bubble. These 2 were emailed a little over 2 minutes apart, triggered by the same bot/IP address. This is an exceedingly obnoxious bot (this is the only site that I haven't blocked it on), but that said, the 2nd error can't have been the "first time".
At 04:12:42
Code:
On /CPGNuCalendar/view=day/date=20060413.html
While executing query "INSERT INTO nuke_security_flood (flood_ip,flood_time,flood_count,log) VALUES (0x43da7486, '1248891163', '0', DEFAULT)"
the following error occured: Duplicate entry 'CÚt' for key 1
In: /home/asq7092/public_html/section/includes/classes/security.php on line: 308
Guest information:
User id: 1
Username: Anonymous
Admin: No
IP: 67.218.116.134
Host: crawl-9c.cuil.com
And at 04:14:28
Code:
On /Forums/viewtopic/t=29/view=previous.html
While executing query "INSERT INTO nuke_security_flood (flood_ip,flood_time,flood_count,log) VALUES (0x43da7486, '1248891269', '0', DEFAULT)"
the following error occured: Duplicate entry 'CÚt' for key 1
In: /home/asq7092/public_html/section/includes/classes/security.php on line: 308
Guest information:
User id: 1
Username: Anonymous
Admin: No
IP: 67.218.116.134
Host: crawl-9c.cuil.com
_________________ Pro_News: The complete module for Dragonfly - now available as version 3.3
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1 |
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|