Duplicate entry for key PRIMARY

  • andrew
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 months 2 weeks ago #9684 by andrew
Duplicate entry for key PRIMARY was created by andrew
Hello, I updated Securitycheck Pro to the latest version and had to restore the website from the backup later. Now every time I try to update it again, I get the error: "Duplicate entry '(IP address)' for key 'PRIMARY'". What should I do? Can I delete that entry from the database?

Please Log in or Create an account to join the conversation.

More
9 months 2 weeks ago #9685 by Jose
Replied by Jose on topic Duplicate entry for key PRIMARY
Hi Andrew,

It's odd; that means there is a duplicated entry, but updates doesn't touch table content.

Yes, try deleting the entry from database.

Regards,
Jose

Please Log in or Create an account to join the conversation.

  • andrew
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 months 2 weeks ago #9686 by andrew
Replied by andrew on topic Duplicate entry for key PRIMARY
Hi Jose,

OK, but where can I find it, which table?

Please Log in or Create an account to join the conversation.

More
9 months 2 weeks ago - 9 months 2 weeks ago #9687 by Jose
Replied by Jose on topic Duplicate entry for key PRIMARY
Ups, I thought you cut the message.
If there is no info about the table, you can try truncating the securitycheckpro_whitelist, securitycheckpro_blacklist and securitycheckpro_dynamic_blacklist tables. If that doesn't work then export extesion's config (using the Tasks -> Export config button), unistall the extension, install the latest version and import the config ( Tasks -> Import config).

Regards,
Jose
Last edit: 9 months 2 weeks ago by Jose.

Please Log in or Create an account to join the conversation.

Time to create page: 0.141 seconds