<?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>Dr Alan Howard &#187; Wordpress</title>
	<atom:link href="http://www.alanhoward.info/ah/index.php/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alanhoward.info/ah</link>
	<description>Just another personal home page and blog</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:28:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WordPress &#8211; headers already sent error</title>
		<link>http://www.alanhoward.info/ah/index.php/2009/03/13/wordpress-headers-already-sent-error/</link>
		<comments>http://www.alanhoward.info/ah/index.php/2009/03/13/wordpress-headers-already-sent-error/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 18:48:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[header]]></category>

		<guid isPermaLink="false">http://www.alanhoward.info/ah/?p=605</guid>
		<description><![CDATA[Annoying problem sometimes encountered when installing WordPress software and running the installation routine: "Warning: Cannot modify header information - headers already sent by (output started at…" Means there is a blank line at the start or end of a php file but this is highly unlikely with a fresh WordPress install. So I think your [...]]]></description>
			<content:encoded><![CDATA[<p>Annoying problem sometimes encountered when installing WordPress software and running the installation routine:</p>
<p><code>"Warning: Cannot modify header information - headers already sent by (output started at…"</code></p>
<p>Means there is a blank line at the start or end of a php file but this is highly unlikely with a fresh WordPress install. So I think your files were corrupted when uploaded to the server. Try uploading them all again &#8211; filezilla always seems to work well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alanhoward.info/ah/index.php/2009/03/13/wordpress-headers-already-sent-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress blog posts &#8211; pre 1970</title>
		<link>http://www.alanhoward.info/ah/index.php/2008/04/01/wordpress-blog-posts-pre-1970/</link>
		<comments>http://www.alanhoward.info/ah/index.php/2008/04/01/wordpress-blog-posts-pre-1970/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 11:09:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.gis.rdg.ac.uk/blog/?p=9</guid>
		<description><![CDATA[Bloggers date stamping posts prior to 1970 will encounter an error using WordPress as the script processes dates in Unix format. The solution is found here and works well: http://wordpress.org/support/topic/27367?replies=23#post-194153]]></description>
			<content:encoded><![CDATA[<p>Bloggers date stamping posts prior to 1970 will encounter an error using WordPress as the script processes dates in Unix format. The solution is found here and works well:</p>
<p><a href="http://wordpress.org/support/topic/27367?replies=23#post-194153">http://wordpress.org/support/topic/27367?replies=23#post-194153</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alanhoward.info/ah/index.php/2008/04/01/wordpress-blog-posts-pre-1970/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using wordpress through a proxy server</title>
		<link>http://www.alanhoward.info/ah/index.php/2008/02/18/using-wordpress-through-a-proxy-server/</link>
		<comments>http://www.alanhoward.info/ah/index.php/2008/02/18/using-wordpress-through-a-proxy-server/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 10:37:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.gis.rdg.ac.uk/blog/?p=5</guid>
		<description><![CDATA[Where the web server hosting the WordPress site is located behind a proxy server, the WordPress admin and user may experience technical problems. Symptoms include: - very slow loading of the dashboard - askimet not working These can be resolved by first setting proxy credentials in wp-includes/class-snoopy.php and then editing the akismet_http_post function in wp-content/plugins/askimet/askimet.php [...]]]></description>
			<content:encoded><![CDATA[<p>Where the web server hosting the WordPress site is located behind a proxy server, the WordPress admin and user may experience technical problems. Symptoms include:</p>
<p>- very slow loading of the dashboard<br />
- askimet not working</p>
<p>These can be resolved by first setting proxy credentials in wp-includes/class-snoopy.php and then editing the akismet_http_post function in wp-content/plugins/askimet/askimet.php along the lines suggested at:</p>
<p><a href="http://comox.textdrive.com/pipermail/wp-trac/2006-August/003435.html">http://comox.textdrive.com/pipermail/wp-trac/2006-August/003435.html</a></p>
<p>Where your proxy server requires authentication you will need to provide this in askimet.php using the line:</p>
<p><code>
<pre>
$http_request .= 'Proxy-Authorization: ' . 'Basic ' . base64_encode _
('username:password')."\r\n";</pre>
<p></code></p>
<p>remembering to substitute in your actual username and password.</p>
<p>The new akismet_http_post function should therefore be:</p>
<p><code></p>
<pre>function akismet_http_post($request, $host, $path, $port = 80) { _
 global $wp_version;

// $http_request  = "POST $path HTTP/1.0\r\n";
// $http_request .= "Host: $host\r\n";
 $http_request  = "POST <a href="http://$host$path/">http://$host$path</a> HTTP/1.0\r\n";
 $http_request .= "Host: <a href="http://$host/r/n">http://$host\r\n</a>";

$http_request .= "Content-Type: application/x-www-form-urlencoded; _
charset=" . get_option('blog_charset') . "\r\n";
 $http_request .= "Content-Length: " . strlen($request) . "\r\n";
$http_request .= 'Proxy-Authorization: ' . 'Basic ' . base64_encode_
 'username:password')."\r\n";

 $http_request .= "User-Agent: WordPress/$wp_version | Akismet/2.0\r\n";
 $http_request .= "\r\n";
 $http_request .= $request;

 $response = '';
// if( false != ( $fs = @fsockopen($host, $port, $errno, $errstr, 10) ) ) {
 if( false !== ( $fs = @fsockopen('your_proxy_address', your_proxy_port, _
$errno, $errstr, 10) ) ) {

  fwrite($fs, $http_request);

  while ( !feof($fs) )
   $response .= fgets($fs, 1160); // One TCP-IP packet
  fclose($fs);
  $response = explode("\r\n\r\n", $response, 2);
 }
 return $response;
}</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alanhoward.info/ah/index.php/2008/02/18/using-wordpress-through-a-proxy-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
