<?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>NULL.in &#187; wordpress</title>
	<atom:link href="http://www.nullin.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nullin.com</link>
	<description>Nalin's Labyrinth</description>
	<lastBuildDate>Mon, 04 Jul 2011 16:45:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>HemingwayEx v1.8 released</title>
		<link>http://www.nullin.com/2010/08/29/hemingwayex-v1-8-released/</link>
		<comments>http://www.nullin.com/2010/08/29/hemingwayex-v1-8-released/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 19:59:21 +0000</pubDate>
		<dc:creator>Nalin</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[hemingwayex]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.nalinmakar.com/?p=728</guid>
		<description><![CDATA[I played around a bit with WP 3.0 Menus and was able to incorporate it into HemingwayEx. Also, with this theme, users can decide to have a single column homepage instead of have the two columns. Setting up WP Menus was quite straightforward actually, based on information in Nicholas&#8217;s article. Then there was some work [...]]]></description>
			<content:encoded><![CDATA[<p>I played around a bit with WP 3.0 Menus and was able to incorporate it into HemingwayEx. Also, with this theme, users can decide to have a single column homepage instead of have the two columns.</p>
<p>Setting up WP Menus was quite straightforward actually, based on information in <a href="http://www.nkuttler.de/2010/06/08/wp_nav_menu-wordpress-3-0/">Nicholas&#8217;s article</a>. Then there was some work needed to show drop down menus and for that I chose to use the <a href="http://users.tpg.com.au/j_birch/plugins/superfish/">Superfish JQuery Plugin</a>. The site&#8217;s got everything you need to get the Superfish menus working. I just needed to make a few tweaks to the arrow images to change the color from white to black and had to fix the CSS.</p>
<p>One thing that caused me considerable amount of headache was invoking the superfish js using jQuery when document loads. Because other parts of the theme were also using jQuery and other JavaScripts, I had to use the <a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries">JQuery NoConfict mode</a>. I had to change the following:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script  type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span> 
    $<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul.sf-menu&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">superfish</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script  type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>  
    $j <span style="color: #339933;">=</span> jQuery.<span style="color: #660066;">noConflict</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    $j<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
        $j<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ul.sf-menu'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">superfish</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>And then everything worked perfectly. Hope you enjoy this release. </p>
<p>I have started hosting <a href="http://github.com/nullin/hemingwayex">HemingwayEx code and downloads on Github</a> now. <a href="http://github.com/downloads/nullin/hemingwayex/hemingwayEx_1.8.zip">v1.8</a> is available for download right now.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.nullin.com/2010/07/19/hemingwayex-v1-7-released/" title="HemingwayEx v1.7 released">HemingwayEx v1.7 released</a></li><li><a href="http://www.nullin.com/2008/09/02/hemingwayex-15-final/" title="HemingwayEx 1.5 Final">HemingwayEx 1.5 Final</a></li><li><a href="http://www.nullin.com/2008/04/29/hemingwayex-11-is-finally-here/" title="Hemingwayex 1.1 is finally here">Hemingwayex 1.1 is finally here</a></li><li><a href="http://www.nullin.com/2007/12/02/hemingwayex-11-on-its-way/" title="HemingwayEx 1.1 on it&#8217;s way">HemingwayEx 1.1 on it&#8217;s way</a></li><li><a href="http://www.nullin.com/2007/07/15/say-hello-to-hemingwayex-10/" title="Say Hello to HemingwayEx 1.0">Say Hello to HemingwayEx 1.0</a></li><li><a href="http://www.nullin.com/hemingwayex/" title="HemingwayEx">HemingwayEx</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.nullin.com/2010/08/29/hemingwayex-v1-8-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HemingwayEx v1.7 released</title>
		<link>http://www.nullin.com/2010/07/19/hemingwayex-v1-7-released/</link>
		<comments>http://www.nullin.com/2010/07/19/hemingwayex-v1-7-released/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 05:37:05 +0000</pubDate>
		<dc:creator>Nalin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[hemingwayex]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.nalinmakar.com/?p=712</guid>
		<description><![CDATA[I finally found some time yesterday to fix a bug and made HemingwayEx compatible with WP3.0. It&#8217;s been a long time since the last official release. A lot of work has gone into this theme between the last few revisions and most of it was done by db0. He spent a great amount of time [...]]]></description>
			<content:encoded><![CDATA[<p>I finally found some time yesterday to fix a bug and made HemingwayEx compatible with WP3.0. It&#8217;s been a long time since the last official release. A lot of work has gone into this theme between the last few revisions and most of it was done by <a href="http://github.com/db0">db0</a>. He spent a great amount of time enhancing the theme and adding support for many plugins.</p>
<p>I have moved the source of <a href="http://github.com/nullin/hemingwayex">HemingwayEx</a> to Github. It&#8217;s a great place to code socially because it makes it very easy for anyone to create a patch and submit it for addition to the main project.</p>
<p>Anyways, you can get the <a href="http://github.com/nullin/hemingwayex/downloads">latest version of HemingwayEx at github</a>.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.nullin.com/2010/08/29/hemingwayex-v1-8-released/" title="HemingwayEx v1.8 released">HemingwayEx v1.8 released</a></li><li><a href="http://www.nullin.com/2008/09/02/hemingwayex-15-final/" title="HemingwayEx 1.5 Final">HemingwayEx 1.5 Final</a></li><li><a href="http://www.nullin.com/2008/04/29/hemingwayex-11-is-finally-here/" title="Hemingwayex 1.1 is finally here">Hemingwayex 1.1 is finally here</a></li><li><a href="http://www.nullin.com/2007/12/02/hemingwayex-11-on-its-way/" title="HemingwayEx 1.1 on it&#8217;s way">HemingwayEx 1.1 on it&#8217;s way</a></li><li><a href="http://www.nullin.com/2007/07/15/say-hello-to-hemingwayex-10/" title="Say Hello to HemingwayEx 1.0">Say Hello to HemingwayEx 1.0</a></li><li><a href="http://www.nullin.com/hemingwayex/" title="HemingwayEx">HemingwayEx</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.nullin.com/2010/07/19/hemingwayex-v1-7-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fix &#8220;500 Internal Error&#8221; in WordPress</title>
		<link>http://www.nullin.com/2009/11/30/fix-500-internal-error-in-wordpress/</link>
		<comments>http://www.nullin.com/2009/11/30/fix-500-internal-error-in-wordpress/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 00:59:54 +0000</pubDate>
		<dc:creator>Nalin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[internal]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://www.nalinmakar.com/?p=645</guid>
		<description><![CDATA[I recently upgraded my WordPress installation to the latest version (2.8.6) and started running into issues with uploading images. Every time I tried using the Flash Uploader I would see HTTP Error. On trying to use the non-flash browser based uploader, I saw the following: Error 500 &#8211; Internal server error An internal server error [...]]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded my WordPress installation to the latest version (2.8.6) and started running into issues with uploading images. Every time I tried using the Flash Uploader I would see</p>
<blockquote><p><span style="color: #ff0000;">HTTP Error.</span></p></blockquote>
<p>On trying to use the non-flash browser based uploader, I saw the following:</p>
<blockquote><p><strong><span style="color: #000080;">Error 500 &#8211; Internal server error</span></strong><br />
An internal server error has occured!<br />
Please try again later.</p></blockquote>
<p>I googled quite a bit and finally found a solution. This error can happen because of quite a few different reasons:</p>
<ol>
<li>Incompatible plugins</li>
<li>Incorrect .htaccess file contents</li>
<li>PHP running out of memory</li>
<li>Incorrect file permissions</li>
<li>Not using PHP5</li>
</ol>
<h4>Incompatible plugins</h4>
<p>Easiest way to find if this is the issue is to deactivate all plug-ins and see if the issue still persists. If it goes away you can activate each plug-in one by one to find the culprit. You can read more on managing plug-ins <a href="http://codex.wordpress.org/Managing_Plugins">here</a>.</p>
<h4>Incorrect .htaccess file contents</h4>
<p>For some people, the issue went away after fixing the <code>.htaccess</code> file contents. You need to ensure that the .htaccess file at root of your website has the following contents:</p>
<pre># BEGIN WordPress
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&lt;/IfModule&gt;
# END WordPress</pre>
<p>You can read more about it <a href="http://edwardkhoo.com/internal-server-error-500-for-wordpress-blog/">here</a>.</p>
<h4>PHP running out of Memory</h4>
<p>This can happen if you are using some memory hungry plug-ins. You can fix this issue by adding a <code>php.ini</code> file in <code>&lt;wordpresss_root&gt;/wp-admin</code> folder with the following contents:</p>
<pre>memory=20MB</pre>
<p>You can read more about this at <a href="http://www.codedifferent.com/2009/01/12/solution-for-500-internal-server-error-after-upgrading-to-wordpress-27-at-1and1-server/">codedifferent.com</a>, where this is explained in more details.</p>
<h4>Incorrect file permissions</h4>
<p>WordPress can start acting up if the permissions on directories and files in WordPress installation aren&#8217;t set up properly. You can ensure that this is fixed by logging into your hosting provider and making sure all files and directories have permissions set to <strong>755</strong>.</p>
<p>Another issue that might lead to errors while uploading is certain security issues with files used for uploading. This can be fixed by using <a href="http://wordpress.org/extend/plugins/image-upload-http-error-fix/">Image Upload HTTP Error Fix</a> plug-in. Otherwise, you could edit .htaccess to add the following lines:</p>
<pre>#BEGIN Image Upload HTTP Error Fix
&lt;IfModule mod_security.c&gt;
&lt;Files async-upload.php&gt;
SecFilterEngine Off
SecFilterScanPOST Off
&lt;/Files&gt;
&lt;/IfModule&gt;
&lt;IfModule security_module&gt;
&lt;Files async-upload.php&gt;
SecFilterEngine Off
SecFilterScanPOST Off
&lt;/Files&gt;
&lt;/IfModule&gt;
&lt;IfModule security2_module&gt;
&lt;Files async-upload.php&gt;
SecFilterEngine Off
SecFilterScanPOST Off
&lt;/Files&gt;
&lt;/IfModule&gt;
#END Image Upload HTTP Error Fix</pre>
<h4>Not using PHP5</h4>
<p>Even after doing all the above, things weren&#8217;t working for me. That is when I came across <a href="http://wordpress.org/support/topic/274197">this post</a>, which explains that the issue could be because PHP5 wasn&#8217;t enabled. According to a <a href="http://faq.1and1.com/scripting_languages_supported/php/upgrade/6.html">help article on 1and1.com</a>, fix is to just add the following line in <code>.htaccess</code> file:</p>
<pre>#enable php5
AddType x-mapp-php5 .php</pre>
<p>This fixed the issue for me!</p>
<p>Hope this helps.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.nullin.com/2008/12/06/removing-tags-from-posts-contents-in-wordpress/" title="Removing tags from Wordpress posts content">Removing tags from Wordpress posts content</a></li><li><a href="http://www.nullin.com/2008/09/02/hemingwayex-15-final/" title="HemingwayEx 1.5 Final">HemingwayEx 1.5 Final</a></li><li><a href="http://www.nullin.com/2008/04/29/hemingwayex-11-is-finally-here/" title="Hemingwayex 1.1 is finally here">Hemingwayex 1.1 is finally here</a></li><li><a href="http://www.nullin.com/2007/12/02/hemingwayex-11-on-its-way/" title="HemingwayEx 1.1 on it&#8217;s way">HemingwayEx 1.1 on it&#8217;s way</a></li><li><a href="http://www.nullin.com/2007/11/20/long-long-time-ago/" title="Long long time ago&#8230;">Long long time ago&#8230;</a></li><li><a href="http://www.nullin.com/2007/07/15/say-hello-to-hemingwayex-10/" title="Say Hello to HemingwayEx 1.0">Say Hello to HemingwayEx 1.0</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.nullin.com/2009/11/30/fix-500-internal-error-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

