Just installed OpenCart, but get below error and not adding products to cart!
Error: Duplicate entry '7c6108407ee4b83c7aeef9961b1ed72d' for key 1
Error No: 1062
insert into session set session_id = '7c6108407ee4b83c7aeef9961b1ed72dc656a338', expire = '1193528514', `value` = 'language|s:2:\"en\";currency|s:3:\"USD\";', ip = '24.44.213.196', time = now(), url = '/shop/index.php?controller=category&path=24_26'
Error: Duplicate entry '7c6108407ee4b83c7aeef9961b1ed72d' for key 1
Error No: 1062
insert into session set session_id = '7c6108407ee4b83c7aeef9961b1ed72dc656a338', expire = '1193528514', `value` = 'language|s:2:\"en\";currency|s:3:\"USD\";', ip = '24.44.213.196', time = now(), url = '/shop/index.php?controller=category&path=24_26'
Last edited by FireIslandMan on Wed Nov 21, 2007 1:01 am, edited 1 time in total.
Thanks for your reply tchemis. I set IE to accept all cookies and still get error. Same with Firefox...
Did a clean reinstall of everything and still get error! Is it our shared server?
Hosting Platform: UNIX
MySQL Version: 5.0.46-enterprise-gpl
PHP Version: PHP 5.2.x
Time Zone: US/Eastern
memory_limit: 64M
max_execution_time: 300
upload_max_filesize: 16M
error_reporting: Show all errors except for notices
display_errors: On
asp_tags: Off
magic_quotes_runtime: Off
magic_quotes_gpc: On
register_globals: Off
Zend Optimizer: Version 3.2.4
Did a clean reinstall of everything and still get error! Is it our shared server?
Hosting Platform: UNIX
MySQL Version: 5.0.46-enterprise-gpl
PHP Version: PHP 5.2.x
Time Zone: US/Eastern
memory_limit: 64M
max_execution_time: 300
upload_max_filesize: 16M
error_reporting: Show all errors except for notices
display_errors: On
asp_tags: Off
magic_quotes_runtime: Off
magic_quotes_gpc: On
register_globals: Off
Zend Optimizer: Version 3.2.4
Last edited by FireIslandMan on Wed Oct 31, 2007 4:09 am, edited 1 time in total.
When you did the reinstall did you use the same database? If you did try going into your database with phpmyadmin navigate to the session table, then click on browse.. Check all the entries and delete them. You should be getting random values for each user somehow this entry fails to expire or be removed.
Have not had anyone else post about this, the above should stop the errors, not sure if they will return.
Have not had anyone else post about this, the above should stop the errors, not sure if they will return.
Yes, I also reinstalled all database tables. Deleted all entries from session table, but still get error and "Your shopping cart is empty!" when click on "Add to Cart" button. Don't get this error with the OpenCart demo store or other OpenCart shops. Is something wrong with our server or database settings?
Last edited by FireIslandMan on Tue Nov 06, 2007 2:14 am, edited 1 time in total.
RESOLVED! Error was being caused by a Doman Name Server discrepancy at our hosting company which was resolved once we set the correct DNS. Now we can appreciate the beautifully simple work of art that is OpenCart. Thank you.
Who is online
Users browsing this forum: No registered users and 4 guests