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

Adding / Editing / Deleting error #37

Open
Oliwer-Budnik opened this issue Oct 15, 2024 · 1 comment
Open

Adding / Editing / Deleting error #37

Oliwer-Budnik opened this issue Oct 15, 2024 · 1 comment

Comments

@Oliwer-Budnik
Copy link

One year ago this module worked fine, but today I wanted to add new post and I got following error:

Wystąpił błąd podczas tworzenia obiektu (Error exist while creating object). xipposts (Duplicate entry '0' for key 'PRIMARY').

I have tryied some options, but nothing work:

  • Deleting database data,
  • Deleting Module ( Module could not be deleted, but it was deleted without database clear) Tabs, data, posts was still at database.
    I think, that those should be deleted after module uninstalation.
  • Reinstaling module.

Nothing above helped. I Know, that this module is for free, but maybe someone can help with this?

Prestashop version: 1.7.8.8
Module version: 2.0.1
PHP version: 7.4.33
Database: 10.5.26-MariaDB-0+deb11u2
Server: Apache and Docker ( means two versions not work )

Post should be added.

@Oliwer-Budnik
Copy link
Author

I Repaired this error, after changing 'ps_xipposts` table structure at phpmyadmin.

I changed table ID to autoincrement, cause it was'not set. I don't know is it Module error, or my database, cause Module can't Uninstall database tables.

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

1 participant