<?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>tony spencer &#187; CMS</title>
	<atom:link href="http://www.tonyspencer.com/category/cms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tonyspencer.com</link>
	<description>It&#039;s Just Links</description>
	<lastBuildDate>Thu, 09 Apr 2009 13:19:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Problems Installing Drupal</title>
		<link>http://www.tonyspencer.com/2006/03/10/problems-installing-drupal/</link>
		<comments>http://www.tonyspencer.com/2006/03/10/problems-installing-drupal/#comments</comments>
		<pubDate>Fri, 10 Mar 2006 21:09:47 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[CMS]]></category>

		<guid isPermaLink="false">http://www.tonyspencer.com/2006/03/10/problems-installing-drupal/</guid>
		<description><![CDATA[
I was setting up Drupal 4.6.5 on a new employee&#8217;s machine today which also required a fresh install of Apache, PHP and mySql.  Unfortunately Drupal has done a lousy job of testing their new releases on the latest stable versions of the apps it depends on.  Here are the two issues I ran [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Drupal" src="http://www.tonyspencer.com/mt/archives/drupal.png" width="224" height="71" align="right" /><br />
I was setting up <a href="http://www.drupal.org">Drupal</a> 4.6.5 on a new employee&#8217;s machine today which also required a fresh install of <a href="http://httpd.apache.org/">Apache</a>, <a href="http://www.php.net">PHP</a> and <a href="http://www.mysql.com">mySql</a>.  Unfortunately Drupal has done a lousy job of testing their new releases on the latest stable versions of the apps it depends on.  Here are the two issues I ran into and their solutions:</p>
<p>1. Attempting to import the database script (database/database.mysql) results in an error: </p>
<blockquote><p>
REPLACE blocks SET module = &#8216;user&#8217;, delta = &#8216;0&#8242;, status = &#8216;1&#8242;</p>
<p>Line no.:803<br />
Error Code: 1364 &#8211; Field &#8216;pages&#8217; doesn&#8217;t have a default value
</p></blockquote>
<p><strong>BLEH!</strong></p>
<p>Come on <a href="http://drupal.org/project/developers/3060">guys</a>.   Test before you release!  The issue is something to do with mySql 5.0 so you need to instruct mysql to behave as 4.0.  Go to your mysql.ini file and edit this line:</p>
<blockquote><p>SET GLOBAL sql_mode=&#8217;MYSQL40&#8242;</p></blockquote>
<p>2.  You finish installing Drupal and load up localhost in the browser and are disappointed to see junk like this in your page:</p>
<blockquote><p>{head} {styles} {_BLOCK_.header.logo} {_BLOCK_.header.site_name} {secondary_links}<br />
{primary_links}<br />
{_BLOCK_.header.blocks}</p></blockquote>
<p>The old XTemplate themes are not compatible with the latest version of <a href="http://www.php.net">PHP5</a>.  <strong>BLEH!</strong></p>
<p>Solution:  Install <a href="http://drupal.org/project/phptemplate">phptemplate engine</a> and choose a phptemplate theme to get rid of the junk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonyspencer.com/2006/03/10/problems-installing-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

