Doing an upgrade to 2.3.02 and during the file compare, i came across the following in a log file (rnlogs/dblog)
Code:
August 30, 2009, 12:03 am 1062 : Duplicate entry '2009-8-30-20' for key 1
SQL was: INSERT INTO nuke_stats_hour VALUES ('2009','08','30','20','0')
remote addr: 67.218.116.132
August 30, 2009, 12:03 am 1062 : Duplicate entry '2009-8-30-18' for key 1
SQL was: INSERT INTO nuke_stats_hour VALUES ('2009','08','30','18','0')
remote addr: 67.218.116.162
August 30, 2009, 12:03 am 1062 : Duplicate entry '2009-8-30-21' for key 1
SQL was: INSERT INTO nuke_stats_hour VALUES ('2009','08','30','21','0')
remote addr: 67.218.116.132
August 30, 2009, 12:03 am 1062 : Duplicate entry '2009-8-30-19' for key 1
SQL was: INSERT INTO nuke_stats_hour VALUES ('2009','08','30','19','0')
remote addr: 67.218.116.162
August 30, 2009, 12:03 am 1062 : Duplicate entry '2009-8-30-22' for key 1
SQL was: INSERT INTO nuke_stats_hour VALUES ('2009','08','30','22','0')
remote addr: 67.218.116.132
Any ideas why the script is trying to enter duplicates?
It is only from those two IPs that you see there - strange??
I've got lines and lines of that stuff going back almost a year, but only from certain IPs, i'm guessing if it was every user that visited i would've prob consumed gigs of disk space!
/*Column Information For - raven.nuke_stats_hour*/
----------------------------------------------------------
Field Type Collation Null Key Default Extra Privileges Comment
------ ----------- --------- ------ ------ ------- ------ ------------------------------- -------
year smallint(6) (NULL) NO PRI 0 select,insert,update,references
month tinyint(4) (NULL) NO PRI 0 select,insert,update,references
date tinyint(4) (NULL) NO PRI 0 select,insert,update,references
hour tinyint(4) (NULL) NO PRI 0 select,insert,update,references
hits int(11) (NULL) NO 0 select,insert,update,references
/*Index Information For - raven.nuke_stats_hour*/
---------------------------------------------------------
Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
Posted:
Fri Sep 04, 2009 6:43 am
khaled_dxb, clear your log and track it go forward. Pretty sure we fixed that, just cannot recall if it was 2.3 or 2.4 (soon to be released). It was a PHP-Nuke bug... many such bugs...
View next topic View previous topic
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