<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ioni2 - Free Premium Wordpress Theme &#187; OpenID</title>
	<atom:link href="http://ioni2.com/meta/openid/feed/" rel="self" type="application/rss+xml" />
	<link>http://ioni2.com</link>
	<description>Free Premium Wordpress Theme &#124; Премиум шаблон Wordpress</description>
	<lastBuildDate>Mon, 21 Jun 2010 15:52:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress OpenID login failed: Invalid openid.mode &#8216;&#8216;. Solved for both Wordpress and Drupal</title>
		<link>http://ioni2.com/2009/wordpress-openid-login-failed-invalid-openid-mode-no-mode-set-solved-for-both-wordpress-and-drupal/</link>
		<comments>http://ioni2.com/2009/wordpress-openid-login-failed-invalid-openid-mode-no-mode-set-solved-for-both-wordpress-and-drupal/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 20:30:17 +0000</pubDate>
		<dc:creator>ioni2.com</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[ioni2]]></category>
		<category><![CDATA[OpenID]]></category>
		<category><![CDATA[plugin for Wordpress]]></category>

		<guid isPermaLink="false">http://ioni2.com/?p=146</guid>
		<description><![CDATA[Upon upgrade for Wordpress 2.8 and sometimes even without it I have encountered an interesting problem: when trying to login using OpenID (or add OpenID via admin panel) I was getting this peculiar message: <b>OpenID login failed: Invalid openid.mode '&#60;No mode set&#62;'</b>.]]></description>
			<content:encoded><![CDATA[<div id="attachment_147" class="wp-caption alignright" style="width: 320px"><img class="size-full wp-image-147" title="OpenID" src="http://ioni2.com/wp-content/uploads/2009/08/openid.gif" alt="OpenID logo" width="310" height="110" /><p class="wp-caption-text">OpenID logo</p></div>
<p>Upon upgrade for Wordpress 2.8 and sometimes even without it I have encountered an interesting problem: when trying to login using OpenID (or add OpenID via admin panel) I was getting this peculiar message: <strong>OpenID login failed: Invalid openid.mode &#8216;&lt;No mode set&gt;&#8217;</strong>.</p>
<p>As you know, my Wordpress theme <a title="Wordpress theme ioni2" rel="bookmark" href="http://ioni2.com/">ioni2</a> is highly customized so I though at some stage that this would be a problem within the code, but the solution was just a few clicks away, really.</p>
<h3>What happened?</h3>
<p>I would input any OpenID (http or https), be redirected to the OpenID provider site (say, blogspot), confirm my identity and then be redirected back. This is where the blog would give me the error so it was clearly the plugins fault.</p>
<p>Interestingly enough, any similar OpenID plugin would produce the same results. Yadis, Another OpenID plugin – all of them. So I figured out – the problem was not with the ioni2 theme but rather with the underlying server configuration!</p>
<p>Moreover I have seen this problem only and exclusively with Hostgator. For instance Bluehost, where my other projects are hosted, does not seem to have it. Line by line comparison showed that their configurations although difference, are more or less alike. So.. support call!</p>
<h3>Solution:</h3>
<p>It appears that OpenID was triggering a mod_security rule set by the hosting company:</p>
<blockquote><p>[*] Rule ID: 340163<br />
[*] URLS Affected: /openid/consumer<br />
[*] Description: <strong>Remote File Injection attempt in ARGS (MM)</strong></p></blockquote>
<p>So the solution was to whitelist the domain within this serverrule. Just request your hosting support something like:</p>
<blockquote><p>I am running Wordpress and OpenID plugins. OpenID is a well-known standard (you can check it at openid.net) and very secure open-source project, same as Wordpress. However it seems to trigger mod_security as it considers is as a intrusion.</p>
<p>Please whitelist my domain</p></blockquote>
<p>This should solve the problem of <strong>No+mode+Set in OpenID</strong>.</p>
<p>Moreover, I believe that the same goes for any server configuration with Drupal, Joomla and any other CMS which relies on this absolutely wonderful DiSO plugin</p>
<img src="http://ioni2.com/wp-content/themes/ioni3/images/sunshine-by.gif" alt="End of article" style="vertical-align:text-bottom;" />]]></content:encoded>
			<wfw:commentRss>http://ioni2.com/2009/wordpress-openid-login-failed-invalid-openid-mode-no-mode-set-solved-for-both-wordpress-and-drupal/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
