Arrow

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

Back to the random anti-spam plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Duplicate key error
February 2, 2009
5:56 am
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-fo.....ror/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!

February 2, 2009
12:55 pm
Peter
Admin
Forum Posts: 841
Offline

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?