Topic: Updating signature: php-warning "duplicate entry"

Fluxbb 1.3 beta 2: when updating the signature, I get a php warning "Duplicate entry". Are you doing a database INSERT instead of an UPDATE?

Re: Updating signature: php-warning "duplicate entry"

Posting the actuall error message could prove to be useful. smile

Re: Updating signature: php-warning "duplicate entry"

Error message actually pops up when creatin signature as well:

An error was encountered

The error occurred on line 13 in [path]/profile.php(1142) : eval()'d code

Database reported: Duplicate entry '[userid]-0' for key 1 (Errno: 1062).

Re: Updating signature: php-warning "duplicate entry"

I think this is caused by an extension wink

"You take the blue pill, the story ends, you wake up in your bed, and believe whatever you want to believe. You take the red pill, you stay in Wonderland, and I show you just how deep the rabbit hole goes." Morpheus

Re: Updating signature: php-warning "duplicate entry"

Yeah, if it says eval() in the error message, it's caused by an extension.

Ben
SVN repository for my extensions - The thread
Quickmarks 0.5
“Question: How does a large software project get to be one year late? Answer: One day at a time!” - Fred Brooks

Re: Updating signature: php-warning "duplicate entry"

elbekko wrote:

Yeah, if it says eval() in the error message, it's caused by an extension.

You are right - error is caused by automatic email updates. Bug report filed there.