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

Duplicate entry error on updating Geo data on clickthrough #1177

Open
dickmo opened this issue Jan 30, 2024 · 1 comment
Open

Duplicate entry error on updating Geo data on clickthrough #1177

dickmo opened this issue Jan 30, 2024 · 1 comment

Comments

@dickmo
Copy link

dickmo commented Jan 30, 2024

This has been happening for a log time. I replaces in your code "Insert into" with "Replace into" to eliminate errors. Using MYsql DB
in file profile/fields.pm line 190.

DBD::mysql::st execute failed: Duplicate entry '[email protected]' for key 'email' at DADA/Profile/Fields.pm line 201.
problems updating fields with geo ip data: cannot do statement (at insert)! Duplicate entry '[email protected]' for key 'email'
at DADA/Logging/Clickthrough.pm line 1682.
at DADA/Logging/Clickthrough.pm line 1967.
DBD::mysql::st execute failed: Duplicate entry '[email protected]' for key 'email' at DADA/Profile/Fields.pm line 201.
DBD::mysql::st execute failed: Duplicate entry '[email protected]' for key 'email' at DADA/Profile/Fields.pm line 201.

@justingit
Copy link
Owner

I'll have to look at this bug (and fix) a little more closely - REPLACE INTO isn't supported for PostgreSQL, so I may be looking for a different solution.

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