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

Speichern einer FAQ führt zu Fatal error #2680

Closed
git-tec opened this issue Oct 13, 2023 · 4 comments
Closed

Speichern einer FAQ führt zu Fatal error #2680

git-tec opened this issue Oct 13, 2023 · 4 comments
Assignees
Milestone

Comments

@git-tec
Copy link

git-tec commented Oct 13, 2023

Beim Speichern einer FAQ kommt folgende Fehlermeldung:

phpMyFAQ Fatal error

Uncaught exception: 'mysqli_sql_exception'

Message: 'Duplicate entry '78-de-1077-22' for key 'PRIMARY''

Stack trace:

#0 /var/www/web4/htdocs/src/phpMyFAQ/Database/Mysqli.php(308): mysqli->query('\n IN...')
#1 /var/www/web4/htdocs/src/phpMyFAQ/Revision.php(55): phpMyFAQ\Database\Mysqli->query('\n IN...')
#2 /var/www/web4/htdocs/admin/record.save.php(114): phpMyFAQ\Revision->create(78, 'de')
#3 /var/www/web4/htdocs/admin/index.php(358): require('/var/www/web4/h...')
#4 {main}

Thrown in '/var/www/web4/htdocs/src/phpMyFAQ/Database/Mysqli.php' on line 308

Eingesetzte Version phpMyFAQ 3.2.1

@thorsten thorsten self-assigned this Oct 13, 2023
@thorsten thorsten added the Bug label Oct 13, 2023
@thorsten thorsten added this to the 3.2.2 milestone Oct 13, 2023
@thorsten
Copy link
Owner

Ich kann das leider nicht reproduzieren, hast du ein paar mehr Infos für mich?

@git-tec
Copy link
Author

git-tec commented Oct 13, 2023

Gibt es eine eMail-Adresse mit PGP, wohin ich Daten verschlüsselt übermitteln kann?

@thorsten
Copy link
Owner

thorsten AT phpmyfaq DOT de

@thorsten
Copy link
Owner

Anscheinend gibt es die neu zu speichernde Revision schon, bitte lösche die letzte Revision aus der DB und es sollte wieder gehen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants