Home > Technical Support > FAQ > SQL Duplicate entry error in /scritps/track_visit.php

SQL Duplicate entry error in /scritps/track_visit.php

It is possible that script track_visit.php in LiveAgent subdirectory scripts would cause SQL error "Duplicate entry ... for key PRIMARY".

Even though it might appear as error, it is an expected situation and it is correctly handled in the PHP code. To speed up execution for most visitors the code attempts to insert a new record without first checking existence of identical record, and in case of failure (if such record already exists) it updates the existing record.

Ready to try LiveAgent?

It's free for the first 14 days! No credit card required.

Get Started
We work well with others...
Magento Joomla Wordpress Mailchimp
Contact us

support@ladesk.com

+1-800-811-6590 (Toll Free in USA & Canada)

+421 2 33 456 826 (European Union & Worldwide)

Quality Unit, LLC 616 Corporate Way, Suite 2-3278 Valley Cottage, NY 10989

Stay in touch
Blog Google+
© 2004-2015 QualityUnit.com, All rights reserved