Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.0.0 beta Error with add category #5514

Closed
PeterAR opened this issue Jun 13, 2017 · 2 comments
Closed

3.0.0.0 beta Error with add category #5514

PeterAR opened this issue Jun 13, 2017 · 2 comments

Comments

@PeterAR
Copy link

PeterAR commented Jun 13, 2017

Hi,
i tried to add a new category. After click to the save-Button i became a "fatal error"-Message:

Notice: Undefined index: keyword in C:\xampp\htdocs\opencart\admin\controller\catalog\category.php on line 590
Fatal error: Uncaught Exception: Error: Duplicate entry '31-1' for key 'PRIMARY'
Error No: 1062
INSERT INTO oc_category_description SET category_id = '31', language_id = '1', name = 'Sandalen', description = '', meta_title = 'Sandalen', meta_description = '', meta_keyword = '' in C:\xampp\htdocs\opencart\system\library\db\mysqli.php:40 Stack trace: #0 C:\xampp\htdocs\opencart\system\library\db.php(16): DB\MySQLi->query('INSERT INTO oc_...', Array) #1 C:\xampp\htdocs\opencart\admin\model\catalog\category.php(13): DB->query('INSERT INTO oc_...') #2 C:\xampp\htdocs\opencart\system\engine\loader.php(185): ModelCatalogCategory->addCategory(Array) #3 C:\xampp\htdocs\opencart\system\engine\proxy.php(25): Loader->{closure}(Array, Array) #4 C:\xampp\htdocs\opencart\admin\controller\catalog\category.php(23): Proxy->__call('addCategory', Array) #5 C:\xampp\htdocs\opencart\system\engine\action.php(51): ControllerCatalogCategory->add() #6 C:\xampp\htdocs\opencart\admin\controller\startup\router.php(26): Action->execute(Objec in C:\xampp\htdocs\opencart\system\library\db\mysqli.php on line 40

Thanks for your help!

@danielkerr
Copy link
Member

im not here to fix stuff im still working for you

@PeterAR
Copy link
Author

PeterAR commented Jun 13, 2017

Excuse me if I have angered you!

Now I have opencart again completely new installed and thus folds again the creation of the categories. It was probably my database.

And apology for my not so good english and the partial translation with Google. Normally, I speak better hessian = dialect of my german home town ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants