Jump to content

When doing cli install


Recommended Posts

Hi,

I am using prestahop 1.6.0.5 and when i try cli install i get following error : 

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000] [10
62] Duplicate entry '1-0' for key 'PRIMARY'' in :
Stack trace:
#0 /usr/share/nginx/html/classes/db/DbPDO.php(91): PDO->query()
#1 /usr/share/nginx/html/classes/db/Db.php(311): DbPDOCore->_query()
#2 /usr/share/nginx/html/classes/db/Db.php(597): DbCore->query()
#3 /usr/share/nginx/html/classes/db/Db.php(378): DbCore->q()
#4 /usr/share/nginx/html/classes/Category.php(1087): DbCore->insert(
)
#5 /usr/share/nginx/html/classes/Category.php(1153): CategoryCore->a
ddGroups()
#6 /usr/share/nginx/html/classes/Category.php(177): CategoryCore->up
dateGroup()
#7 /usr/share/nginx/html/install/classes/xmlLoader.php(442): Ca
tegoryCore->add()
#8 /usr/share/nginx/html/install/classes/xmlLoader.php(310): In
stallXmlLoader->createEntity()
#9 /usr/share/nginx/html/install/classes/xmlLoader.php(214): In
stallXmlLoader->populateEntity()
#10 /usr/share/nginx/html/install/models/install.php(214): Inst
allXmlLoader->populateFromXmlFiles()
#11 /usr/share/nginx/html/install/controllers/console/process.p
hp(175): InstallModelInstall->populateDatabase()
#12 /usr/share/nginx/html/install/controllers/console/process.p
hp(101): InstallControllerConsoleProcess->processPopulateDatabase()
#13 /usr/share/nginx/html/install/classes/controllerConsole.php
(121): InstallControllerConsoleProcess->process()
#14 /usr/share/nginx/html/install/index_cli.php(34): InstallCon
trollerConsole::execute()
#15 {main}
Link to comment
Share on other sites

×
×
  • Create New...