In my previous post on setting up Simple Twitter Connect (STC) I got an error message
ERROR: Twitter user not recognized
So far, I’ve been unable to overcome this problem. But I have done some poking about on forums and my investigation.
I’ve now managed to get a 406 Not acceptable message. I don’t yet know why but thought I’d document it anyway.Steps to get the 406 message
- Install Simple Twitter Connect and activate the Base plugin
- Go to settings and follow instructions to create the Twitter application
- Go to Your profile and click on Sign in to Twitter
- The 406 message is displayed as below.
406 Not acceptable
The address bar showed up as:
http://www.lalumieredrome.co.uk/?stc_oauth_start=1&stcaction=login_connect&loc=http://www.lalumieredrome.co.uk/wp-admin/profile.php&type=authenticate
And the page body was:
Not Acceptable
An appropriate representation of the requested resource / could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
In the comments to this post from Otto’s blog
http://ottopress.com/2010/simple-twitter-connect-0-5/
it says
Before you can log in with Twitter, you have to connect your WordPress account to the Twitter account.
Log in normally, then go to the Users->Your Profile section. Click the new button there.
I’m still trying to find out how to connect the accounts.
Problem with mod_security
Otto has been in touch and suggested there could be a problem with mod_security (an Apache server module that is used to reduce spamming). I have been in touch with my web hosting company, they have made some changes and this have got better.
The change needs to be done for each site. Once done you can make more progress. I am going to create a summary table of my sites to see which are working, then I’ll udpate the relevant posts.





A 406 error is unusual. It means that something is screwy with your server. Maybe you have something like mod_security interfering.