<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>paul bennett</title>
	<atom:link href="http://thingsilearn.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thingsilearn.wordpress.com</link>
	<description>professional, open-source web development</description>
	<lastBuildDate>Sun, 22 Jan 2012 02:27:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='thingsilearn.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>paul bennett</title>
		<link>http://thingsilearn.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://thingsilearn.wordpress.com/osd.xml" title="paul bennett" />
	<atom:link rel='hub' href='http://thingsilearn.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Setting and updating svn:ignore</title>
		<link>http://thingsilearn.wordpress.com/2010/04/21/setting-and-updating-svnignore/</link>
		<comments>http://thingsilearn.wordpress.com/2010/04/21/setting-and-updating-svnignore/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 02:56:35 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[general web]]></category>

		<guid isPermaLink="false">http://thingsilearn.wordpress.com/?p=246</guid>
		<description><![CDATA[I&#8217;ve found the command line to be the most reliable and simplest way of managing subversion repositories, but also found the svn:ignore property a little more esoteric to set up than I&#8217;d like. svn:ignore is used to specifiy files and folders you don&#8217;t want to be part of the version controlled repository for your site [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=246&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve found the command line to be the most reliable and simplest way of managing subversion repositories, but also found the svn:ignore property a little more esoteric to set up than I&#8217;d like.</p>
<p><code>svn:ignore</code> is used to specifiy files and folders you don&#8217;t want to be part of the version controlled repository for your site or application build. These often include location specific settings files, development or debugging files etc.</p>
<p>For the benefit of others, here&#8217;s my run down to getting this working for my user account on a CentOS server.</p>
<h3>1. Set up your default text editor for SVN</h3>
<p>First, make sure you have a default text editor set up for subversion. The first time svn runs it builds a config directory, which on a linux server, is a directory named &#8216;<code>.subversion</code>&#8216; in your home directory.</p>
<p>Navigate into the .subversion directory (<code>/home/youruseraccount/.subversion</code>) and edit the <code>config</code> file. Uncomment the <code>editor-cmd</code> line and add in the name of the editor you&#8217;ll be using (in CentOS it&#8217;s nano).</p>
<p>Save your changes and then navigate to the directory where your repository resides.</p>
<h3>2. Check which files and folders currently aren&#8217;t under version control</h3>
<p>You can easily see what files aren&#8217;t under version control by running</p>
<p><code>svn status</code></p>
<p>and looking for the lines prefixed with a &#8216;<code>?</code>&#8216;.</p>
<h3>3. Add exclusion patterns for files and folders</h3>
<p>Add <code>svn:ignore</code> properties for the files and / or folders you want subversion to ignore by running the folling command:</p>
<p><code>svn propedit svn:ignore directory-name</code></p>
<p>where <code>directory-name</code> is the directory you want to apply the changes to.</p>
<p>This should open the <code>:ignore</code> properties file in the text editor you specified. You can then enter file and folder names and / or patterns you want ignored. Once you&#8217;ve saved the changes, run</p>
<p><code>svn ci</code></p>
<p>to check in the property changes.</p>
<p>Now if you run</p>
<p><code>svn status</code></p>
<p>the file and folders you specified to ignore won&#8217;t be listed and won&#8217;t be under version control. Voila!</p>
<p>Further resources:</p>
<ul>
<li><a href="http://svnbook.red-bean.com/en/1.1/ch07s02.html">Properties: SVN Book</a></li>
<li><a href="http://www.petefreitag.com/item/662.cfm">Ignore files and directories in Subversion &#8211; Pete Freitag</a></li>
</ul>
<br />Filed under: <a href='http://thingsilearn.wordpress.com/category/general-web/'>general web</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thingsilearn.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thingsilearn.wordpress.com/246/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=246&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thingsilearn.wordpress.com/2010/04/21/setting-and-updating-svnignore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f02e1ed0977f9690a7d806dedafd188?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bennettpr</media:title>
		</media:content>
	</item>
		<item>
		<title>Drupal: what to do when tables won&#8217;t install during module development</title>
		<link>http://thingsilearn.wordpress.com/2009/11/10/drupal-what-to-do-when-tables-wont-install-during-module-development/</link>
		<comments>http://thingsilearn.wordpress.com/2009/11/10/drupal-what-to-do-when-tables-wont-install-during-module-development/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 22:12:19 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[content management]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[modules]]></category>

		<guid isPermaLink="false">http://thingsilearn.wordpress.com/?p=238</guid>
		<description><![CDATA[Drupal&#8217;s module installation system makes it very easy to extend and customise Drupal sites and to disable and re-enable modules quickly and non-destructively. However, the default way Drupal&#8217;s treats modules can get in the way during development. When building your own modules, it&#8217;s common for database table structure to change as project needs become clearer, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=238&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Drupal&#8217;s module installation system makes it very easy to extend and customise Drupal sites and to disable and re-enable modules quickly and non-destructively. However, the default way Drupal&#8217;s treats modules can get in the way during development.</p>
<p>When building your own modules, it&#8217;s common for database table structure to change as project needs become clearer, or even for modules to be built in a &#8220;front to back&#8221; fashion &#8211; where the admin screens and the UI interaction skeleton is built before the underlying processing and data storage code is developed (or finalised).</p>
<p>If this is the case, you may find yourself building an install file late in module development and then wondering why Drupal seems to dutifully ignore it.</p>
<p>Despite being counter-intuitive, this behaviour has some clear benefits. Previously installed modules may have attached database tables, and these tables may still hold valid application data. Drupal&#8217;s behaviour ensures that these tables aren&#8217;t destroyed when the module is disabled. The module can then be re-enabled later without any data destruction.</p>
<p>To get a module to run an install file, or to re-install successfully, you need to do more than just disable and re-enable the module on the module list screen (<code>/admin/build/modules</code>). This is beacuse  Drupal keeps a record of previously installed modules and won&#8217;t reinstall them if they are merely disabled and re-enabled.</p>
<p>The trick to getting your new / updated install file to run is to remove the modules entry from the <code>system</code> database tables. If your module has already created one or more tables, and you want the table structure to be altered or rebuilt, you may also need to remove these tables before re-enabling the module.</p>
<p>Once you&#8217;ve disabled your module, removed the related entry from the <code>system </code>table and removed any module-related tables, you can re-enable the module and your install file will be run correctly.</p>
<br />Posted in content management, drupal, PHP Tagged: development, modules <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thingsilearn.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thingsilearn.wordpress.com/238/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=238&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thingsilearn.wordpress.com/2009/11/10/drupal-what-to-do-when-tables-wont-install-during-module-development/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f02e1ed0977f9690a7d806dedafd188?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bennettpr</media:title>
		</media:content>
	</item>
		<item>
		<title>18 months on &#8211; stats for this site</title>
		<link>http://thingsilearn.wordpress.com/2009/09/16/18-months-on-stats-for-this-site/</link>
		<comments>http://thingsilearn.wordpress.com/2009/09/16/18-months-on-stats-for-this-site/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 04:01:44 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[general web]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[traffic]]></category>

		<guid isPermaLink="false">http://thingsilearn.wordpress.com/?p=189</guid>
		<description><![CDATA[In the interests of the entire internets (ie: me) I now post some stats from this site, which has been &#8220;active&#8221; (in the very loosest sense of the word) for about 18 months. First up, top 17 posts: Javascript: checking if a function exist 6,074 Internet Explorer 7 CSS filter 5,707 Javascript: testing whether elements [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=189&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In the interests of the entire internets (ie: me) I now post some stats from this site, which has been &#8220;active&#8221; (in the very loosest sense of the word) for about 18 months.</p>
<h3>First up, <strong>top 17 posts</strong>:</h3>
<table border="0">
<tbody>
<tr>
<td><a href="../2007/03/20/javascript-checking-if-a-function-exists/">Javascript: checking if a function exist</a></td>
<td>6,074</td>
</tr>
<tr>
<td><a href="../2007/01/31/hello-world/">Internet Explorer 7 CSS filter</a></td>
<td>5,707</td>
</tr>
<tr>
<td><a href="../2007/02/08/javascript-testing-whether-elements-or-properties-exist-the-redux/">Javascript: testing whether elements or </a></td>
<td>3,123</td>
</tr>
<tr>
<td><a href="../2008/02/28/mysql-query-speed-regexp-vs-like/">MySQL query speed: REGEXP vs. LIKE</a></td>
<td>2,459</td>
</tr>
<tr>
<td><a href="../2009/05/28/drupal-creating-custom-node-templates/">Drupal: Creating custom node templates</a></td>
<td>2,014</td>
</tr>
<tr>
<td><a href="../2007/10/29/mysql-insert-or-update-in-one-query/">MySQL insert or update in one query</a></td>
<td>1,128</td>
</tr>
<tr>
<td><a href="../2007/02/19/print_r-into-a-variable/">print_r into a variable</a></td>
<td>1,117</td>
</tr>
<tr>
<td><a href="../2008/03/17/the-password-function-mysql-4-vs-mysql-5/">the password() function &#8211; mysql 4 vs. my</a></td>
<td>1,005</td>
</tr>
<tr>
<td><a href="../2008/02/15/a-really-short-tumblr-review/">a really short tumblr review</a></td>
<td>937</td>
</tr>
<tr>
<td><a href="../2007/02/01/javascript-testing-whether-elements-or-properties-exist/">Javascript: testing whether elements or </a></td>
<td>794</td>
</tr>
<tr>
<td><a href="../2008/09/11/yui-ee-a-full-rich-text-editor-plugin-for-expression-engine/">EE-YUI: A *full* Rich text editor plugin</a></td>
<td>741</td>
</tr>
<tr>
<td><a href="../2008/08/04/mysqldump-to-text-file/">mysqldump to text file</a></td>
<td>660</td>
</tr>
<tr>
<td><a href="../2008/03/05/notes-on-creating-your-first-adobe-air-application/">Notes on creating your first Adobe Air a</a></td>
<td>535</td>
</tr>
<tr>
<td><a href="../2008/08/27/eeyui-a-yui-rich-text-editor-for-expression-engine/">eeyui &#8211; a YUI rich text editor for Expre</a></td>
<td>477</td>
</tr>
<tr>
<td><a href="../2008/06/27/opera-95-css-filter/">Opera 9.5 CSS filter</a></td>
<td>396</td>
</tr>
<tr>
<td><a href="../2009/04/29/solving-the-drupal-white-screen-of-death-error/">Solving the Drupal &#8216;White Screen of Deat</a></td>
<td>386</td>
</tr>
<tr>
<td><a href="../2007/10/29/mysql-multi-insert/">MySQL multi insert</a></td>
<td>378</td>
</tr>
</tbody>
</table>
<p>So, basically people are coming here looking for answers to coding problems. Much like what I do with 90% of the blogs I visit. (Note to self: write more of these)</p>
<h3>Now &#8211; <strong>top 11 search terms</strong></h3>
<table class="statsDay" border="0">
<tbody>
<tr class="alternate">
<td class="label">ie7 css filter</td>
<td class="views">547</td>
</tr>
<tr>
<td class="label">javascript function exists</td>
<td class="views">512</td>
</tr>
<tr class="alternate">
<td class="label">ie7 specific css</td>
<td class="views">476</td>
</tr>
<tr>
<td class="label">tumblr review</td>
<td class="views">399</td>
</tr>
<tr class="alternate">
<td class="label">javascript check if function exists</td>
<td class="views">386</td>
</tr>
<tr>
<td class="label">mysql insert or update</td>
<td class="views">188</td>
</tr>
<tr class="alternate">
<td class="label">css filter</td>
<td class="views">183</td>
</tr>
<tr>
<td class="label">javascript check function exists</td>
<td class="views">178</td>
</tr>
<tr class="alternate">
<td class="label">javascript if function exists</td>
<td class="views">176</td>
</tr>
<tr>
<td class="label">print_r to variable</td>
<td class="views">150</td>
</tr>
<tr class="alternate">
<td class="label">javascript object property exists</td>
<td class="views">137</td>
</tr>
</tbody>
</table>
<p>Basically lining up with the top 5 posts. No prizes for guessing where most of my traffic comes from.</p>
<p>I&#8217;m surprised at how much interest my short review of Tumblr has produced.</p>
<p><strong>Top 15 referrers</strong></p>
<table border="0">
<tbody>
<tr>
<td><a href="http://ruzee.com/blog/2007/05/align-list-items-horizontally-with-css/">ruzee.com/blog/2007/05/align-list-ite…</a></td>
<td>251</td>
</tr>
<tr>
<td><a href="http://blog.techsaints.com/2007/07/12/javascript-checking-if-variable-is-defined-typeof-operator/">blog.techsaints.com/2007/07/12/javasc…</a></td>
<td>77</td>
</tr>
<tr>
<td><a href="http://code.google.com/p/ee-yui/">code.google.com/p/ee-yui</a></td>
<td>47</td>
</tr>
<tr>
<td><a href="http://stumbleupon.com/refer.php?url=http%3A%2F%2Fthingsilearn.wordpress.com%2F">stumbleupon.com/refer.php?url=http%3A…</a></td>
<td>38</td>
</tr>
<tr>
<td><a href="http://drupalsightings.com/">drupalsightings.com</a></td>
<td>31</td>
</tr>
<tr>
<td><a href="http://leonardofranca.com.br/index.php/2009/03/24/usando-insert-ou-update-em-uma-query-no-mysql/">leonardofranca.com.br/index.php/2009/…</a></td>
<td>29</td>
</tr>
<tr>
<td><a href="http://acsummer.wordpress.com/2008/01/02/join-tables-across-different-databases/">acsummer.wordpress.com/2008/01/02/joi…</a></td>
<td>28</td>
</tr>
<tr>
<td><a href="http://google.com/reader/view/">google.com/reader/view</a></td>
<td>27</td>
</tr>
<tr>
<td><a href="http://twitter.com/bennettpr">twitter.com/bennettpr</a></td>
<td>26</td>
</tr>
<tr>
<td><a href="http://eeclub.ru/forum/viewthread/84/P45/">eeclub.ru/forum/viewthread/84/P45</a></td>
<td>23</td>
</tr>
<tr>
<td><a href="http://aaronrussell.co.uk/blog/cross-browser-support-for-inline-block/">aaronrussell.co.uk/blog/cross-browser…</a></td>
<td>23</td>
</tr>
<tr>
<td><a href="http://newshutch.com/blog/2007/09/30/downtime-2/">newshutch.com/blog/2007/09/30/downtim…</a></td>
<td>22</td>
</tr>
<tr>
<td><a href="http://fatihhayrioglu.com/">fatihhayrioglu.com</a></td>
<td>22</td>
</tr>
<tr>
<td><a href="http://readwriteweb.com/archives/do_you_want_a_cloud_desktop_gladinets_release_cand.php">readwriteweb.com/archives/do_you_want…</a></td>
<td>21</td>
</tr>
</tbody>
</table>
<p>Some blogs, a Google Code project I administer, my Twitter account,  some comments I&#8217;ve left and a few extra bits floating about.</p>
<h3>Weirdest Referrer</h3>
<p><a href="http://cnn.com/2008/CRIME/04/24/polygamy.raid/index.html">http://cnn.com/2008/CRIME/04/24/polygamy.raid/index.html</a></p>
<p>Um, OK.</p>
<h3>Next &#8211; traffic summary</h3>
<p>This really is something I should use to convince some clients of the value of frequently updating content and doing <em>something</em> (anything!) to promote their sites &#8211; and the traffic to this site is tiny.</p>
<p><img class="alignnone size-full wp-image-230" title="stats" src="http://thingsilearn.files.wordpress.com/2009/09/stats.jpg?w=480&#038;h=198" alt="stats" width="480" height="198" /></p>
<p>As you can see &#8211; for the first year I didn&#8217;t even do anything with the site and since then I&#8217;d be lucky if I average one post a month. Despite this, traffic rises &#8211; which goes to show the power of writing things that at least a few people are interested in.</p>
<p>Any stats you care to share? Link them up in the comments.</p>
<br />Posted in general web Tagged: analytics, stats, traffic <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thingsilearn.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thingsilearn.wordpress.com/189/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=189&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thingsilearn.wordpress.com/2009/09/16/18-months-on-stats-for-this-site/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f02e1ed0977f9690a7d806dedafd188?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bennettpr</media:title>
		</media:content>

		<media:content url="http://thingsilearn.files.wordpress.com/2009/09/stats.jpg" medium="image">
			<media:title type="html">stats</media:title>
		</media:content>
	</item>
		<item>
		<title>5 MySQL tricks you may not know</title>
		<link>http://thingsilearn.wordpress.com/2009/09/16/5-mysql-tricks-you-may-not-know/</link>
		<comments>http://thingsilearn.wordpress.com/2009/09/16/5-mysql-tricks-you-may-not-know/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 02:55:56 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[databases]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://thingsilearn.wordpress.com/?p=218</guid>
		<description><![CDATA[1. Produce terminal-friendly output Occasionally you may be using the command line and find yourself limited by the size of either the table you&#8217;re getting results from or by the size of the terminal window you&#8217;re using. (I find the DPS window particularly resistant to resizing. You can get results in this format column1_name: data [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=218&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<h3>1. Produce terminal-friendly output</h3>
<p>Occasionally you may be using the command line and find yourself limited by the size of either the table you&#8217;re getting results from or by the size of the terminal window you&#8217;re using. (I find the DPS window particularly resistant to resizing.</p>
<p>You can get results in this format<br />
<code>column1_name: data<br />
column2_name: data</code><br />
instead of the default tabular layout by using the <code>\G</code> flag at the end of your select statement:</p>
<p><code>select * from my_table where id = "3"\G</code></p>
<h3>2. Better, more flexible result ordering</h3>
<p>Recently I found myself a bit hamstrung by the way a table had been designed. I wanted chronological ordering, but the default ordering by date wasn&#8217;t ordering the results exactly chronologically.</p>
<p>I found that I could use functions in the &#8216;order by&#8217; component of my selects to get better ordering</p>
<p><code>select * from my_table order by concat(entry_date, entry_time);</code></p>
<p>(<code>group by</code> could also be used to similar effect)</p>
<h3>3. Logging your command line session</h3>
<p>Occasionally you may end a command line MySQL session and then think &#8220;Argh &#8211; I wish I&#8217;d saved that query!&#8221;. MySQL has a handy logging feature which writes your session (input and output) to a file so you can pull out those tricky queries and keep them for future reference. To do so, log in using the <code>-tee</code> flag:</p>
<p><code>mysql -u username -p -tee=/path/to/your/log.file</code></p>
<p>Obviously you need write access to the folder you&#8217;re writing to. If the file doesn&#8217;t exist, MySQL will create it for you.</p>
<p><strong>Beware:</strong> if the file already exists, MySQL will overwrite it with the new session data.</p>
<h3>4.  Loading .CSV file data into a table using the command line</h3>
<p>MySQL has a very simple way to load .csv file data into tables. Once you have the syntax down, I find this a lot easier and ess error-prne than commonly used web-based or GUI tools.</p>
<p>Syntax I&#8217;ve used is:</p>
<p><code>load data infile '/path/to/your.csv' into table my_tables fields terminated by ',' optionally enclosed by '"' lines terminated by '\n';</code></p>
<p>Works a treat.</p>
<h3>5. Cloning tables</h3>
<p>This is really simple, but is something I use a lot to create development tables with live data (when necessary).</p>
<p><code>create table my_new_table as select * from my_old_table;</code></p>
<p>This does exactly what it looks like &#8211; creates an exact renamed copy of the original table (my_old_table in this instance).</p>
<p><strong>Beware:</strong> keys and indexes aren&#8217;t recreated &#8211; you&#8217;ll need to add these back in manually.</p>
<p>What about you  &#8211; any handy MySQL tricks to share?</p>
<br />Posted in databases, SQL  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thingsilearn.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thingsilearn.wordpress.com/218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=218&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thingsilearn.wordpress.com/2009/09/16/5-mysql-tricks-you-may-not-know/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f02e1ed0977f9690a7d806dedafd188?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bennettpr</media:title>
		</media:content>
	</item>
		<item>
		<title>Drupal: Creating custom node templates</title>
		<link>http://thingsilearn.wordpress.com/2009/05/28/drupal-creating-custom-node-templates/</link>
		<comments>http://thingsilearn.wordpress.com/2009/05/28/drupal-creating-custom-node-templates/#comments</comments>
		<pubDate>Thu, 28 May 2009 02:34:31 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[content management]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://thingsilearn.wordpress.com/?p=194</guid>
		<description><![CDATA[It has somewhat of a steep learning curve, but Drupal is amazing for allowing you to build flexible, complex websites with lots of functionality in very little time. For a site I&#8217;m working on, we had several custom content types coming through the default node template (node.tpl.php) in our customised theme. This was fine and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=194&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It has somewhat of a steep learning curve, but <a href="http://www.drupal.org">Drupal</a> is <em>amazing </em>for allowing you to build flexible, complex websites with lots of functionality in very little time.</p>
<p>For a site I&#8217;m working on, we had several custom content types coming through the default node template (<code>node.tpl.php</code>) in our customised theme.</p>
<p>This was fine and dandy for quick development, but then the time came to customise the node page for each content type.</p>
<p>First things first, you need a custom node template. Save the <code>node.tpl.php</code> file as <code>node-[your node name].tpl.php</code> and you&#8217;ve created a custom node template. (This means if your node type is &#8216;audio&#8217;, you&#8217;d save the file as <code>node-audio.tpl.php</code>)</p>
<p>Now we need to customise the template to suit our needs.</p>
<p>If you dive into a standard node template you&#8217;ll see something (unhelpful) like this where the content goes:</p>
<p>&lt;div class=&#8221;content&#8221;&gt;<br />
print($content)<br />
&lt;/div&gt;</p>
<p>Um, OK. So how do you get at the functions which compile the content before it gets to this stage? Well, you probably <em>can</em>, but the <em>easier </em>way is to avoid this step and just access the default <code>$node</code> object which drupal gives you access to with each &#8216;page&#8217;.</p>
<p>To find out what&#8217;s hiding inside the $node object, simply do something like this:</p>
<p><code>print_r($node);</code></p>
<p>(Yes,<a href="http://thingsilearn.wordpress.com/2007/02/19/print_r-into-a-variable/"> I like print_r()</a>)</p>
<p>The resulting cacophony in your page source will show you all the node attributes and properties you have access to. Chances are you&#8217;ll be able to access these directly to create the customised node template you need.</p>
<br />Posted in content management, frameworks, PHP Tagged: cms, drupal, template <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thingsilearn.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thingsilearn.wordpress.com/194/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=194&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thingsilearn.wordpress.com/2009/05/28/drupal-creating-custom-node-templates/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f02e1ed0977f9690a7d806dedafd188?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bennettpr</media:title>
		</media:content>
	</item>
		<item>
		<title>Safari / Google Chrome / webkit CSS filter</title>
		<link>http://thingsilearn.wordpress.com/2009/05/27/safari-google-chrome-webkit-css-filter/</link>
		<comments>http://thingsilearn.wordpress.com/2009/05/27/safari-google-chrome-webkit-css-filter/#comments</comments>
		<pubDate>Wed, 27 May 2009 03:30:35 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://thingsilearn.wordpress.com/?p=192</guid>
		<description><![CDATA[Firefox, Opera, and webkit based browsers (Safari, Chrome) are all purported to be the shizzle when it comes to standards support, but that doesn&#8217;t mean they all render the same. This following CSS chestnut will allow you to address any tweaks you need to make for webkit based browsers without affecting any others: @media screen [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=192&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Firefox, Opera, and webkit based browsers (Safari, Chrome) are all purported to be the shizzle when it comes to standards support, but that doesn&#8217;t mean they all <em>render </em>the same.</p>
<p>This following CSS chestnut will allow you to address any tweaks you need to make for webkit based browsers without affecting any others:</p>
<p><code>@media screen and (-webkit-min-device-pixel-ratio:0){<br />
/* webkit rules go here */<br />
}</code></p>
<br />Posted in browsers, CSS  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thingsilearn.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thingsilearn.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=192&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thingsilearn.wordpress.com/2009/05/27/safari-google-chrome-webkit-css-filter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f02e1ed0977f9690a7d806dedafd188?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bennettpr</media:title>
		</media:content>
	</item>
		<item>
		<title>Subversion &amp; Samba &#8211; &#8220;Error bumping revisions post-commit&#8221;</title>
		<link>http://thingsilearn.wordpress.com/2009/05/22/subversion-samba-error-post-commit/</link>
		<comments>http://thingsilearn.wordpress.com/2009/05/22/subversion-samba-error-post-commit/#comments</comments>
		<pubDate>Fri, 22 May 2009 02:56:16 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[(x)HTML]]></category>

		<guid isPermaLink="false">http://thingsilearn.wordpress.com/?p=184</guid>
		<description><![CDATA[I ran across some odd Subversion / Samba errors lately. It seemed whenever we added an image or non-text file to the repository, we were getting the error: Commit succeeded, but other errors follow: Error bumping revisions post-commit (details follow): In directory '[dir name]' Error processing command 'committed' in '[dir name]' Can't move '[dir name]\.svn\props\[image [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=184&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I ran across some odd Subversion / Samba errors lately. It seemed whenever we added an image or non-text file to the repository, we were getting the error:</p>
<p><code>Commit succeeded, but other errors follow:<br />
Error bumping revisions post-commit (details follow):<br />
In directory '[dir name]'<br />
Error processing command 'committed' in '[dir name]'<br />
Can't move<br />
'[dir name]\.svn\props\[image name].gif.svn-work' to<br />
'</code><code>[dir name]</code><code>\.svn\prop-base\</code><code>[image name]</code><code>.gif.svn-b...\<br />
Access is denied.</code></p>
<p>It looked like a subversion issue at first &#8211; but actually it&#8217;s not, it&#8217;s a <em>Samba permissions issue</em>. I share this to possibly spare someone else the pain of chasing this down.</p>
<p>Short answer &#8211; make some small edits to smb.conf, restart samba and the problem goes away.<br />
The full solution is <a href="http://www.nabble.com/TSVN-errors---Commit-Sccessful,-but-I-can%27t-commit-again-without-delete-entire-folder.-And-Can%27t-clean-up.-td19496872.html">here</a>.</p>
<br />Posted in (x)HTML  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thingsilearn.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thingsilearn.wordpress.com/184/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=184&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thingsilearn.wordpress.com/2009/05/22/subversion-samba-error-post-commit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f02e1ed0977f9690a7d806dedafd188?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bennettpr</media:title>
		</media:content>
	</item>
		<item>
		<title>Thoughts on an open messaging platform</title>
		<link>http://thingsilearn.wordpress.com/2009/05/08/thoughts-on-an-open-messaging-platform/</link>
		<comments>http://thingsilearn.wordpress.com/2009/05/08/thoughts-on-an-open-messaging-platform/#comments</comments>
		<pubDate>Fri, 08 May 2009 02:57:08 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[API's]]></category>
		<category><![CDATA[general web]]></category>
		<category><![CDATA[social networks]]></category>
		<category><![CDATA[the industry]]></category>
		<category><![CDATA[the uncertain future]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[microblogging]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://thingsilearn.wordpress.com/?p=175</guid>
		<description><![CDATA[Twitter in the microblogging world now has the pull of Google in the search world &#8211; if you&#8217;re not &#8216;on Twitter&#8217; you&#8217;re nowhere inn terms of being able to connect, share and promote via microblogging (surmising that Twitter now gets 80 &#8211; 90% of microblogging traffic / use.) This effectively locks the market into one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=175&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Twitter in the microblogging world now has the pull of Google in the search world &#8211; if you&#8217;re not &#8216;on Twitter&#8217; you&#8217;re nowhere inn terms of being able to connect, share and promote via microblogging (surmising that Twitter now gets 80 &#8211; 90% of microblogging traffic / use.)<br />
This effectively locks the market into one monopoly platform &#8211; Twitter.</p>
<p>Imagine this applied to blogging or web publishing. Say there were many publishing services, you could only use one publishing service at a time and publishing service A had 90% of the total traffic and users.</p>
<p>If you weren&#8217;t using publishing service A, regardless of the quality of your content, you&#8217;d miss out on 90% of the traffic, connection or exposure just by being on a less popular service. Not a nice thought.</p>
<p><img class="alignnone size-full wp-image-176" title="omp-diagram" src="http://thingsilearn.files.wordpress.com/2009/05/omp-diagram.jpg?w=480&#038;h=480" alt="omp-diagram" width="480" height="480" /><br />
Would an open messaging platform &#8211; essentially a server application which allows you to create a master account and associate &#8216;child&#8217; accounts to it for other microblogging services (Twitter, Jaiku et al) make any difference in leveling the microblogging playing field?</p>
<p>The idea is that the platform would broadcast your posts or &#8216;tweets&#8217; to all your subscribed services, but would also aggregate posts from the users you&#8217;re following and stream them back to your &#8216;open messaging&#8217; client.</p>
<p>Rather than &#8216;a twitter client&#8217;, you could have a general micro blogging client offering not only the power to broadcast your posts to multiple services, but to also aggregate the incoming messages regardless of what service they came from.</p>
<p>It wouldn&#8217;t matter what service someone you follow was using (surmising that you also had an account on that service), because in your microblogging client, you&#8217;d see one unified stream of updates regardless of the API they were built on.</p>
<p>Microblogging would become a standardised platform in its own right.  Rather than having disparate API&#8217;s, an open messaging platform could seek and serve to unify microblogging API&#8217;s and REST-based services, or at least provide a simple bridging framework between them.</p>
<br />Posted in API's, general web, social networks, the industry, the uncertain future, web applications Tagged: api, microblogging, social, twitter <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thingsilearn.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thingsilearn.wordpress.com/175/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=175&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thingsilearn.wordpress.com/2009/05/08/thoughts-on-an-open-messaging-platform/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f02e1ed0977f9690a7d806dedafd188?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bennettpr</media:title>
		</media:content>

		<media:content url="http://thingsilearn.files.wordpress.com/2009/05/omp-diagram.jpg" medium="image">
			<media:title type="html">omp-diagram</media:title>
		</media:content>
	</item>
		<item>
		<title>Why cloud-computing is the future (or: &#8216;How the cloud ate my laptop&#8217;)</title>
		<link>http://thingsilearn.wordpress.com/2009/05/06/why-cloud-computing-is-the-future-or-how-the-cloud-ate-my-laptop/</link>
		<comments>http://thingsilearn.wordpress.com/2009/05/06/why-cloud-computing-is-the-future-or-how-the-cloud-ate-my-laptop/#comments</comments>
		<pubDate>Wed, 06 May 2009 03:05:47 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[(x)HTML]]></category>

		<guid isPermaLink="false">http://thingsilearn.wordpress.com/?p=168</guid>
		<description><![CDATA[The Present Netbooks have been a game changer in the connected world. The arrival and staggering popularity of Netbooks has turned the PC manufacturing world on it&#8217;s collective head. This is not an article about Netbooks &#8211; this is an article about the age that they herald &#8211; the age of cloud computing. Netbooks have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=168&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="size-full wp-image-173 alignright" title="cloud" src="http://thingsilearn.files.wordpress.com/2009/05/cloud.jpg?w=480" alt="cloud"   /></p>
<h3>The Present</h3>
<p><a href="http://en.wikipedia.org/wiki/Netbook">Netbooks</a> have been a game changer in the connected world. The arrival and staggering popularity of Netbooks has turned the PC manufacturing world on it&#8217;s collective head.</p>
<p>This is not an article about Netbooks &#8211; this is an article about the age that they herald &#8211; the age of <a href="http://en.wikipedia.org/wiki/Cloud_Computing">cloud computing</a>.</p>
<p>Netbooks have filled a latent demand &#8211; the demand for practical, truly portable computing. They offer &#8216;enough&#8217; processing power mixed with a small form factor, light weight and long battery life for maximum portability &#8211; but that&#8217;s not all. Netbooks have been the market force which has seen the adoption of cloud computing as the clear contender for the future of computing worldwide.</p>
<p>The Netbook revolution has highlighted one thing very clearly: <em></em></p>
<p><em>the majority of our time and activities while on a computer are spent online</em>.</p>
<p>Email, socialising, image manipulation, video, image sharing and even software development are all examples of activities once tied to the desktop which are now easily and freely available via online websites and applications.</p>
<p>Netbook popularity centres around one key thing &#8211; the near ubiquitous avaiability of internet connectivity. Internet connectivity shifts the processing and storage burden <em>away</em> from the client machine and into the cloud, hence the machine can cut weight and costs and increase battery life by running cheaper, slower and more efficient hardware.</p>
<h3>The Near Future</h3>
<p>The pent-up demand for a decent, truly mobile internet experience (phone, pda, laptop / desktop) has been unleashed with the growth of devices such as the iPhone and other 3G devices. Netbooks have filled the void between tiny phone screen and large home / work machine by providing a comfortable in-between.<br />
Companies such as <a href="https://www.photoshop.com/express/landing.html">Adobe </a>and <a href="http://aws.amazon.com/">Amazon </a>are banking on the demand for services in the cloud by building infrastructure and applications native to cloud computing. Microsoft even has a <a href="http://www.microsoft.com/azure/windowsazure.mspx">development cloud-OS in the works</a>. As online activity increases and lower powered computing becomes the new norm, demand for software will decrease and demand for online services and application will increase proportionately.</p>
<p>A recent Wired article hinted at the next stage of this (r)evolution by stating that a gaming company is building hardware and software to run <a href="http://en.wikipedia.org/wiki/Mmorpg">MMPORG</a> games on their servers and streaming only the needed vectors to the client machine.</p>
<p>The ultimate thin-client world approaches.</p>
<h3>The Not-So-Distant future</h3>
<p>Let me paint a picture of where I think this is all heading.</p>
<p>In the cloud-future, hardware specs will become largely irrelevant for anything other than servers, as all client machines (phones, PDA&#8217;s, tablets, laptops, desktops (if they still exist)) are based around four things:</p>
<ul>
<li>a screen</li>
<li>a basic processor</li>
<li>ubiquitous internet connectivity (wireless, 3G)</li>
<li>an RDP client (or similar)</li>
</ul>
<p>I didn&#8217;t include an operating system &#8211; one will still be required, but it&#8217;s function will be just to switch on and run the RDP client &#8211; your data, your apps and even your OS will live in the cloud. Your cloud space will adjust visually according to the device your using to access it.</p>
<p>Your &#8216;machine&#8217; will be an allocated chunk of secure, virtualised server space running whatever OS you like (or more than one if you like). You run your machine/s the same way a network admin does who needs to connect to remote servers. Connectivity is everywhere and speeds are high, so lag is mostly a non-issue.</p>
<p>Due to its simplicity, your client hardware becomes easily replacable &#8211; and everywhere. People own multiple variants of devices which can access your cloud computing &#8216;home&#8217; and use whatever is most convenient at the time.</p>
<p>Client power consumption plummets as devices are far less power hungry. Server farms increase exponentially to meet the huge demand for cloud storage.</p>
<p>Privacy issues are potentailly huge as &#8216;offline&#8217; no longer really exists and cloud-hosted personal spaces are far easier for hackers and government to browse. Forget ISP&#8217;s relaesing your browsing data to the authorities, server based spaces may offer Big Brother the ability to take a long gaze at not only your documents, files and past activity, but whatever you&#8217;re doing <em>right now. </em></p>
<p>Encryption will become a bigger issue (an issue that&#8217;s largely been forgotten in the web 2.0  world outside of the banking sector)<em> </em>as people move to the ubiquity and convenience of the cloud but still want the perception of security that haviong all their data at home gives them.<em> Most apps (even those in eternal beta) </em>will move to https or relevant encryption. Transparent storage-based encryption and private keys will become commonplace.</p>
<p>Hardware is commoditised &#8211; the data plan will be the real money spinner. This is already happening now, with some countries offering a <a href="http://www.vodafone.co.nz/shop/mobileInternetDetails.jsp?skuId=sku3910016&amp;hardwareSkuId=&amp;menuKey=&amp;selectedView=&amp;selectedTab=&amp;selectedPlanSkuId=sku3910017">free Netbook with a fixed data plan</a>.</p>
<p>Online archiving &#8216;warehouses&#8217; will spring up &#8211; offering ongoing archiving and storage of your old data to free up your working space.</p>
<p>You live in the cloud.</p>
<p>Thoughts?</p>
<br />Posted in (x)HTML  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thingsilearn.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thingsilearn.wordpress.com/168/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=168&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thingsilearn.wordpress.com/2009/05/06/why-cloud-computing-is-the-future-or-how-the-cloud-ate-my-laptop/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f02e1ed0977f9690a7d806dedafd188?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bennettpr</media:title>
		</media:content>

		<media:content url="http://thingsilearn.files.wordpress.com/2009/05/cloud.jpg" medium="image">
			<media:title type="html">cloud</media:title>
		</media:content>
	</item>
		<item>
		<title>Solving the Drupal &#8216;White Screen of Death&#8217; error</title>
		<link>http://thingsilearn.wordpress.com/2009/04/29/solving-the-drupal-white-screen-of-death-error/</link>
		<comments>http://thingsilearn.wordpress.com/2009/04/29/solving-the-drupal-white-screen-of-death-error/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 03:41:10 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[(x)HTML]]></category>
		<category><![CDATA[?]]></category>
		<category><![CDATA[blank]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[WSOD]]></category>

		<guid isPermaLink="false">http://thingsilearn.wordpress.com/?p=162</guid>
		<description><![CDATA[There&#8217;s a great run-down on Drupal.org on how to troubleshoot the dreaded Drupal &#8216;White Screen of Death&#8217; (WSOD). This seems to happen every time I add a site to our test server &#8211; I find increasing the PHP memory limit to be the fastest way to solve it. To increase the memory limit assigned to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=162&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>There&#8217;s <a href="http://drupal.org/node/158043">a great run-down on Drupal.org</a> on how to troubleshoot the dreaded Drupal &#8216;White Screen of Death&#8217; (WSOD).</p>
<p>This seems to happen every time I add a site to our test server &#8211; I find increasing the PHP memory limit to be the fastest way to solve it.</p>
<p>To increase the memory limit assigned to your Drupla install, add this to your <code>/sites/default/settings.php </code>file:</p>
<p><code>ini_set('memory_limit', '32M');</code></p>
<br />Posted in (x)HTML Tagged: ?, blank, drupal, WSOD <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thingsilearn.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thingsilearn.wordpress.com/162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thingsilearn.wordpress.com&#038;blog=737492&#038;post=162&#038;subd=thingsilearn&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thingsilearn.wordpress.com/2009/04/29/solving-the-drupal-white-screen-of-death-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f02e1ed0977f9690a7d806dedafd188?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bennettpr</media:title>
		</media:content>
	</item>
	</channel>
</rss>
