Arrow


Forum : Duplicate key error

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


 




Duplicate key error

Add a New Topic Reply to Post
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 518

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?

Add a New Topic Reply to Post


Reply to Topic: Duplicate key error

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 9 + 5        (Required)

Topic Reply:


 
© Simple:Press Forum – Version 3.1.4 (Build 357)