Forums / Upgrading from 1.3.x to 1.3.9 / Error admin activity log

Error admin activity log

Locked

Views: 2,332

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
31 Oct 2006, 4:33 AM
#1
cuda avatar

cuda

Zen Follower

Join Date:
Jul 2006
Posts:
119
Plugin Contributions:
0

Error admin activity log

I had an issue that said I had a duplicate entry in my admin activity log and could not access anything in the admin except the main page...

The solution was to go into phpmyadmin and manualy delete all admin activity records in the admin_activity_log table.

How no one has the same issue but if you do hope this works.


Barracuda Productions pure instincts

31 Oct 2006, 4:38 AM
#2
cuda avatar

cuda

Zen Follower

Join Date:
Jul 2006
Posts:
119
Plugin Contributions:
0

Re: Error admin activity log

actually it only solved the problem for one click now I am still getting the message:

1062 Duplicate entry '0' for key 1
in:
[insert into admin_activity_log (access_date, admin_id, page_accessed, page_parameters, ip_address) values (now(), '1', 'categories.php', 'cPath=&action=new_category&', '68.105.9.151')]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

any ideas?


Barracuda Productions pure instincts

31 Oct 2006, 4:54 AM
#4
cuda avatar

cuda

Zen Follower

Join Date:
Jul 2006
Posts:
119
Plugin Contributions:
0

Re: Error admin activity log

Thanks the prob was with saving for compatablility needed to add auto_increment to log_id field.

I am assuming this is the only table effected or are there more?


Barracuda Productions pure instincts

31 Oct 2006, 5:00 AM
#5
cuda avatar

cuda

Zen Follower

Join Date:
Jul 2006
Posts:
119
Plugin Contributions:
0

Re: Error admin activity log

ok enough stupid questions use the update script mentioned in wiki....


Barracuda Productions pure instincts

31 Oct 2006, 5:02 AM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,870
Plugin Contributions:
19

Re: Error admin activity log

That should be the only table and I hope you used the statement in the link to change auto_increment.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

31 Oct 2006, 5:24 AM
#7
cuda avatar

cuda

Zen Follower

Join Date:
Jul 2006
Posts:
119
Plugin Contributions:
0

Re: Error admin activity log

this affects categories and other table just use the auto_increment update sql in install folder


Barracuda Productions pure instincts