New Zenner
- Join Date:
- Dec 2007
- Posts:
- 28
- Plugin Contributions:
- 0
Yes, Another "1062 Duplicate entry '0' for key 1" thread!
1062 Duplicate entry '0' for key 1
in:
[update fast_whos_online set customer_id = '0', full_name = '¥Guest', ip_address = '78.151.199.57', time_last_click = '1199876169', last_page_url = '/cart/index.php?main_page=page&id=16&chapter=0&zenid=5fca194f09b3d02d1cb79a978103c731', host_address = 'OFFICE_IP_TO_HOST_ADDRESS', user_agent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11' where session_id = '5fca194f09b3d02d1cb79a978103c731' and ip_address='78.151.199.57']
^^^ Is the error I'm getting a LOT of the time.
I'm running:
Zen Cart 1.3.7.1
PHP 4.4.7
MySQL 4.0.27
The problem seems to occur (during testing) because I am accessing a lot of the page from the same I.P address. I think it may be due to me browsing as a ''guest' and the 'whos_online' table not correctly handling the fact that I'm accessing many pages as different 'guests' in a short period of time.
I've tried a few of the SQL patches to reinstate the auto_increment function but they are of no avail.
Any help would be appreciated as my cart is ready to go public soon.
www fastcardirect co uk/cart