Why does my API Key not work?
-
Hello,
i am running a wordpress blog (current stable version) on phpnet.us (free hosting). To use akismet, i just registered here. I now tried to use the “API-Key” i got in the welcome Email to make Akismet working. Akismet got me the error that my api-key seems to be wrong. I exactly copy&paste’ed this Key from my welcome Email like also from my wordpress.com profile. What am i doing wrong? -
Depends. What’s the specific error?
You may also want to search the forums for that error as it’s probably been covered before.
-
The error is just that akismet tells me that my api-key seems to be wrong. No sql-error or something.
Also, i dindt found anything alike using the search -
-
Ok, take a look buddie:
http://img521.imageshack.us/img521/9671/19330874qr1.png
http://img238.imageshack.us/img238/1447/28859592bg4.pngThx in advance :)
-
Excuse me but sometimes simple things work. Have you tried typing in the key instead of copying and pasting? This is what the Akismet FAQs says to do.
-
Copied from elsewhere in the forum – and also mainly in the Akismet faq:
Your key will be correct.
The error message is because Akismet cannot access the Akismet server. The problem is one of three things:
– either Akismet is being denied access to the internet if you are hosted locally behind a firewall, or
– the server you are on lacks the ‘fopen’ function which Akismet needs or
– your host might need to know that the default-installed SELinux security precautions (on Fedora4) causes this problem. With SELinux disabled, it works.
Talk to your host.
-
-
I recently had trouble with my akismet API Key on http://www.omino.com/blog. I debugged it by adding a display line during the verification request:
//!!! dvb print "<h1> dvb akismet_http_post( key=$key&blog=$blog , rest.akismet.com , /1.1/verify-key , $akismet_api_port) </h1>"; //!!! dvb $response = akismet_http_post("key=$key&blog=$blog", 'rest.akismet.com', '/1.1/verify-key', $akismet_api_port);And I saw — in great big h1 text during “save options” — that my $blog variable was a broken URL. I’d manually changed the database to be just /blog instead of the full URL at some point, in wp_options table, and forgotten about it.
Anyway, perhaps the debug-by-displaying tactic will prove helpful for someone else, someday, so it is here posted for posterity.
- The topic ‘Why does my API Key not work?’ is closed to new replies.