Arrow

Duplicate key error | Peter's Random Anti-Spam for WordPress | Forum

Back to the random anti-spam plugin page
 
Current User: Guest
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Duplicate key error

Reply to Post Add a New Topic
UserPost

5:56 am
February 2, 2009


Juanjo

Guest

Hi!

I have been using this plugin for a long time without any problem but an error have started to appear now.

The problem is a "duplicate key" when showing the captcha. This problem was reported in the Custom Antispam forum (http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/wordpress-database-error/page-1)
but it seems to be also happening in the Random plugin.

I have the 1.0.1 version which I think is newer than the 2.9.2 version of the Custom Antispam Plugin (this version solved the problem). I'm using it with wordpress 2.2.

The 1.0.1 version of the RAS plugin contains the sentence:
$ras_rowid = $wpdb->get_var('SELECT last_insert_id()');
which is said to be the solution on the forum thread, but it doesn't seem to work.

Is it a known issue? Has anybody the same problem?

Thanks for the great work done!

12:55 pm
February 2, 2009


Peter

Admin

posts 710

Hi Juanjo,

First, try upgrading to version 1.0.5 of the RAS plugin.

Do you use any caching programs?

Can you paste a link to your site?

Reply to Post

Reply to Topic:
Duplicate key error

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
11 + 12