|
|
| |
Forums ⇒ DragonflyCMS ⇒ Problems AFTER Install/Upgrade ⇒ flood protection - duplicate entry error
flood protection - duplicate entry errorIssues that happen after DragonflyCMS upgrade/install. DO NOT post module installation issues here!
Go to page 1, 2 Next
|
View previous topic :: View next topic |
| Author |
Message |
SnoSheriff Heavy poster


Offline Joined: Mar 27, 2005 Posts: 174
|
Posted: Fri Mar 28, 2008 2:07 am Post subject: flood protection - duplicate entry error |
|
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 Forum Admin


Offline Joined: Apr 19, 2004 Posts: 1040
|
|
| Back to top |
|
 |
SnoSheriff Heavy poster


Offline Joined: Mar 27, 2005 Posts: 174
|
Posted: Fri Mar 28, 2008 3:55 am Post subject: Re: flood protection - duplicate entry error |
|
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 Heavy poster


Offline Joined: Mar 27, 2005 Posts: 174
|
Posted: Fri Mar 28, 2008 4:21 am Post subject: Re: flood protection - duplicate entry error |
|
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 Forum Admin


Offline Joined: Apr 19, 2004 Posts: 1040
|
Posted: Fri Mar 28, 2008 4:38 am Post subject: Re: flood protection - duplicate entry error |
|
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 Heavy poster


Offline Joined: Mar 27, 2005 Posts: 174
|
Posted: Fri Mar 28, 2008 4:47 am Post subject: Re: flood protection - duplicate entry error |
|
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 Forum Admin


Offline Joined: Apr 19, 2004 Posts: 1040
|
Posted: Fri Mar 28, 2008 4:57 am Post subject: Re: flood protection - duplicate entry error |
|
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 Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Mon Mar 31, 2008 4:30 am Post subject: Re: flood protection - duplicate entry error |
|
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! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
kringel Newbie


Offline Joined: Oct 20, 2008 Posts: 8 Location: Wermelskirchen, Germany
|
Posted: Mon Dec 15, 2008 8:35 am Post subject: Re: flood protection - duplicate entry error |
|
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 Newbie


Offline Joined: Oct 20, 2008 Posts: 8 Location: Wermelskirchen, Germany
|
Posted: Wed Jan 07, 2009 6:40 pm Post subject: Re: flood protection - duplicate entry error |
|
| 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 • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Thu Jan 08, 2009 12:50 am Post subject: Re: flood protection - duplicate entry error |
|
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 Translator


Offline Joined: Dec 01, 2004 Posts: 198 Location: Syria
|
Posted: Tue Jun 30, 2009 1:52 pm Post subject: SQL Error:Duplicate entry 'MÓyû' for key 1? |
|
hello, i just got this, what do u think ? should I worry about something?
thnx every one..
| Code:: |
While executing query "INSERT INTO cms_security_flood (flood_ip,flood_time,flood_count,log) VALUES (0x4dd379fb, '1246311596', '0', DEFAULT)"
the following error occured: Duplicate entry 'MÓyû' for key 1
In: /home/_XX_/public_html/includes/classes/security.php on line: 308
Guest information:
User id: 1
Username: Anonymous.
Admin: No |
_________________ The truth is to stop thinking and start living
hadi00 please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
hadi00 Translator


Offline Joined: Dec 01, 2004 Posts: 198 Location: Syria
|
Posted: Tue Jun 30, 2009 1:56 pm Post subject: Re: SQL Error:Duplicate entry 'MÓyû' for key 1? |
|
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 Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Sun Jul 26, 2009 5:19 am Post subject: Re: flood protection - duplicate entry error |
|
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! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
layingback Forum Admin


Offline Joined: Apr 19, 2004 Posts: 1040
|
Posted: Wed Jul 29, 2009 12:11 pm Post subject: Re: flood protection - duplicate entry error |
|
| 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 |
|
 |
|
|
All times are GMTGo to page 1, 2 Next
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
|
| |
 |
 Welcome Anonymous
|
|
|
|