how to fix CDbException php version 7.0

Im getting Error setp 2: CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘1’ for key ‘PRIMARY’. The SQL statement executed was: INSERT INTO `store_website` (`sort_order`, `default_group_id`, `is_default`, `website_id`, `code`, `name`) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4, :yp5)
my php version is 7.0 im install sqlite in my ubuntu machine .
 
Let me know what steps i follow to solve above issue
 

1 answer

Profile photo of ubdev Staff 98150.00 $tone April 21, 2018
Public

Hi there,
Thanks for spending time checking out our migration tool. 
We wonder which Lite version you’re using? If you use the old script on Github, we’re afraid we no longer maintain such version.
We have another Lite version at Ubertheme here, but the codebase was outdated as well. 
So, we highly recommend you consider our newer Pro version, which is fully compatible with PHP 7.
PS. We’re biased while referring you to the Pro version, but it definitely saves you pretty much time. 
Regards,
Ubertheme team

#1

Please login or Register to Submit Answer

Written By

Comments