<?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>Oh Drupal... sigh</title>
	<atom:link href="http://ohdrupalsigh.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ohdrupalsigh.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 23 Feb 2009 23:32:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ohdrupalsigh.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Oh Drupal... sigh</title>
		<link>http://ohdrupalsigh.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ohdrupalsigh.wordpress.com/osd.xml" title="Oh Drupal... sigh" />
	<atom:link rel='hub' href='http://ohdrupalsigh.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Max Allowed Packets Insanity</title>
		<link>http://ohdrupalsigh.wordpress.com/2009/02/23/max-allowed-packets-insanity/</link>
		<comments>http://ohdrupalsigh.wordpress.com/2009/02/23/max-allowed-packets-insanity/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 23:32:47 +0000</pubDate>
		<dc:creator>chrisyakimov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[Max Allowed Packets]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHPMyAdmin]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[troubleshoot]]></category>

		<guid isPermaLink="false">http://ohdrupalsigh.wordpress.com/?p=62</guid>
		<description><![CDATA[Been having issues trying to use PHPMyAdmin to re-import my whole Drupal installation. Was running into the Max Allowed Packets error. It is a MySQL configuration that you can&#8217;t edit through PHPMyAdmin. Could find no help on the MySQL site (no surprise there &#8211; horribly indexed in my opinion). Then I stumbled across this nugget [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=62&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Been having issues trying to use PHPMyAdmin to re-import my whole Drupal installation. Was running into the Max Allowed Packets error. It is a MySQL configuration that you can&#8217;t edit through PHPMyAdmin. Could find no help on the MySQL site (no surprise there &#8211; horribly indexed in my opinion). Then I stumbled across this nugget of pure gold:</p>
<p><a href="http://smokinggoat.wordpress.com/2008/12/09/max-allowed-packet-problem-with-mamp/">http://smokinggoat.wordpress.com/2008/12/09/max-allowed-packet-problem-with-mamp/</a></p>
<p>Go there to read the solution (give him the traffic he deserves) <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>In case it&#8217;s down&#8230;</p>
<p>1. Find &#8220;my-small.cnf&#8221; in Applications/MAMP/LIbrary/Share/MySQL/</p>
<p>2. Copy it to the regular MySQL folder in MAMP: Applications/MAMP/db/mysql/</p>
<p>3. Rename it to: &#8220;my.cnf&#8221;</p>
<p>4. Open it with a text editor and go hunting for Max Allowed Packets (Edit&gt;&gt;Find etc.)</p>
<p>5. Bump the 1M default a bit higher. My drupal sql file was 18MB (mostly taken up by huge node and user tables), and Max Allowed Packets at 2M was sufficient.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ohdrupalsigh.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ohdrupalsigh.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ohdrupalsigh.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ohdrupalsigh.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ohdrupalsigh.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ohdrupalsigh.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ohdrupalsigh.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ohdrupalsigh.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ohdrupalsigh.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ohdrupalsigh.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ohdrupalsigh.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ohdrupalsigh.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ohdrupalsigh.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ohdrupalsigh.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=62&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ohdrupalsigh.wordpress.com/2009/02/23/max-allowed-packets-insanity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c6dcaebee6e270c6b658f58fdf54d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrisyakimov</media:title>
		</media:content>
	</item>
		<item>
		<title>PhpMyAdmin export quirk?</title>
		<link>http://ohdrupalsigh.wordpress.com/2009/02/12/phpmyadmin-export-quirk/</link>
		<comments>http://ohdrupalsigh.wordpress.com/2009/02/12/phpmyadmin-export-quirk/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 16:24:12 +0000</pubDate>
		<dc:creator>chrisyakimov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ohdrupalsigh.wordpress.com/?p=60</guid>
		<description><![CDATA[Not sure if this is an issue wtih PhpMyAdmin, or MySQL, but I discovered today that I can no longer export my whole Drupal database in one shot (for backup purposes). Specifically: I can&#8217;t export to a zipped file. PhpMyAdmin gives me a warning: &#8220;cannot file http://localhost/phpmyadmin/export.php&#8221; I fiddled around in Apache&#8217;s confg file and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=60&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Not sure if this is an issue wtih <a href="http://www.phpmyadmin.net">PhpMyAdmin</a>, or <a href="http://http://dev.mysql.com/">MySQL</a>, but I discovered today that I can no longer export my whole Drupal database in one shot (for backup purposes). Specifically: I can&#8217;t export to a zipped file. PhpMyAdmin gives me a warning:</p>
<p>&#8220;cannot file http://localhost/phpmyadmin/export.php&#8221;</p>
<p>I fiddled around in Apache&#8217;s confg file and discovered that the paths and aliases were all good. Tested a different db and it all worked fine. So I figured this error may not be what the error said it was. Tried changing the max queries way up &#8211; didn&#8217;t help.</p>
<p><strong>Solution?</strong></p>
<p>Selected tables from A-&gt;M and exported as one file. No probs.<br />
Did N-&gt;Z (which I thought would be problematic since Node and Users are in that half). No probs.</p>
<p>Strange&#8230; But hey, it worked. Got my backup. *yay :S</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ohdrupalsigh.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ohdrupalsigh.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ohdrupalsigh.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ohdrupalsigh.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ohdrupalsigh.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ohdrupalsigh.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ohdrupalsigh.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ohdrupalsigh.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ohdrupalsigh.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ohdrupalsigh.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ohdrupalsigh.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ohdrupalsigh.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ohdrupalsigh.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ohdrupalsigh.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=60&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ohdrupalsigh.wordpress.com/2009/02/12/phpmyadmin-export-quirk/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c6dcaebee6e270c6b658f58fdf54d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrisyakimov</media:title>
		</media:content>
	</item>
		<item>
		<title>Web typography and style</title>
		<link>http://ohdrupalsigh.wordpress.com/2009/02/04/web-typography-and-style/</link>
		<comments>http://ohdrupalsigh.wordpress.com/2009/02/04/web-typography-and-style/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 17:54:59 +0000</pubDate>
		<dc:creator>chrisyakimov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ohdrupalsigh.wordpress.com/?p=58</guid>
		<description><![CDATA[Just reading an awesome summary about web typography design standards. Don&#8217;t wanna forget it! http://www.alistapart.com/articles/howtosizetextincss<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=58&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just reading an awesome summary about web typography design standards. Don&#8217;t wanna forget it!</p>
<p><a href="http://www.alistapart.com/articles/howtosizetextincss">http://www.alistapart.com/articles/howtosizetextincss</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ohdrupalsigh.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ohdrupalsigh.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ohdrupalsigh.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ohdrupalsigh.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ohdrupalsigh.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ohdrupalsigh.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ohdrupalsigh.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ohdrupalsigh.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ohdrupalsigh.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ohdrupalsigh.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ohdrupalsigh.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ohdrupalsigh.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ohdrupalsigh.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ohdrupalsigh.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=58&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ohdrupalsigh.wordpress.com/2009/02/04/web-typography-and-style/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c6dcaebee6e270c6b658f58fdf54d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrisyakimov</media:title>
		</media:content>
	</item>
		<item>
		<title>Input Filters and CCK</title>
		<link>http://ohdrupalsigh.wordpress.com/2009/02/04/input-filters-and-cck/</link>
		<comments>http://ohdrupalsigh.wordpress.com/2009/02/04/input-filters-and-cck/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 00:33:30 +0000</pubDate>
		<dc:creator>chrisyakimov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ohdrupalsigh.wordpress.com/?p=55</guid>
		<description><![CDATA[So it seems that input filters only intelligently work with information being extracted from the body column of node_revisions. Any information extracted from a CCK generated data table is strictly escaped. :s<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=55&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So it seems that input filters only intelligently work with information being extracted from the body column of node_revisions. Any information extracted from a CCK generated data table is strictly escaped. :s</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ohdrupalsigh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ohdrupalsigh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ohdrupalsigh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ohdrupalsigh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ohdrupalsigh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ohdrupalsigh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ohdrupalsigh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ohdrupalsigh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ohdrupalsigh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ohdrupalsigh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ohdrupalsigh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ohdrupalsigh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ohdrupalsigh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ohdrupalsigh.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=55&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ohdrupalsigh.wordpress.com/2009/02/04/input-filters-and-cck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c6dcaebee6e270c6b658f58fdf54d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrisyakimov</media:title>
		</media:content>
	</item>
		<item>
		<title>Housekeeping</title>
		<link>http://ohdrupalsigh.wordpress.com/2009/02/03/housekeeping/</link>
		<comments>http://ohdrupalsigh.wordpress.com/2009/02/03/housekeeping/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 21:23:48 +0000</pubDate>
		<dc:creator>chrisyakimov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ohdrupalsigh.wordpress.com/2009/02/03/housekeeping/</guid>
		<description><![CDATA[Wow &#8211; all the data is migrated. Gotta remember that when I created the new profile fields, I did not ensure that certain &#8220;options&#8221; on lists conformed to available options in the sagro database. So where exisitng customers will have an &#8220;e&#8221; in their database, new ones will have &#8220;email.&#8221; I have to go change [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=53&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Wow &#8211; all the data is migrated.</p>
<p>Gotta remember that when I created the new profile fields, I did not ensure that certain &#8220;options&#8221; on lists conformed to available options in the sagro database. So where exisitng customers will have an &#8220;e&#8221; in their database, new ones will have &#8220;email.&#8221; I have to go change that.. Kay, and more&#8217;s coming back tome, so here&#8217;s a list:</p>
<ol>
<li>Clean up E&#8217;s to &#8220;email&#8221; etc. in profile_values.</li>
<li>Make sure all nodes have teasers in node_revision</li>
<li>All nodes in node have content types and &#8220;&#8221; for language.</li>
<li>user PASSWORDS&#8230; temporary measure of some sort &#8211; php script? &#8211; find out where Drupal does this.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ohdrupalsigh.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ohdrupalsigh.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ohdrupalsigh.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ohdrupalsigh.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ohdrupalsigh.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ohdrupalsigh.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ohdrupalsigh.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ohdrupalsigh.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ohdrupalsigh.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ohdrupalsigh.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ohdrupalsigh.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ohdrupalsigh.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ohdrupalsigh.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ohdrupalsigh.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=53&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ohdrupalsigh.wordpress.com/2009/02/03/housekeeping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c6dcaebee6e270c6b658f58fdf54d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrisyakimov</media:title>
		</media:content>
	</item>
		<item>
		<title>UREKA!</title>
		<link>http://ohdrupalsigh.wordpress.com/2009/02/02/ureka/</link>
		<comments>http://ohdrupalsigh.wordpress.com/2009/02/02/ureka/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 19:13:01 +0000</pubDate>
		<dc:creator>chrisyakimov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ohdrupalsigh.wordpress.com/?p=51</guid>
		<description><![CDATA[Thanks to this post: http://drupal.org/node/213714 I have discovered that migrating time information will be a breeze. In a nutshell: MySQL timestamp is of the format yyyy-mm-dd hh:mm:ss MySQL unix_timestamp() is of the form: xxxxxxxxxx where x is an integer (there are 10&#8230; currently). I believe this is a reference to the amount of seconds from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=51&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thanks to this post: <a title="Time Formats in Drupal Database" href="http://drupal.org/node/213714">http://drupal.org/node/213714</a></p>
<p>I have discovered that migrating time information will be a breeze. In a nutshell:</p>
<p>MySQL timestamp is of the format yyyy-mm-dd hh:mm:ss</p>
<p>MySQL unix_timestamp() is of the form: xxxxxxxxxx where x is an integer (there are 10&#8230; currently). I believe this is a reference to the amount of seconds from the epoch time, which is some time in 1970. Drupal likes to store time in this format.</p>
<p>Converting from one to the other is as simple as these two rules (and functions &#8211; all in MySQL).</p>
<ol>
<li>unix_timestamp(MySQL timestamp) = xxxxxxxxxx</li>
<li>from_unixtime(unix_timestamp()) = yyyy-mm-dd hh:mm:ss</li>
</ol>
<p>If you have a date in the format of 2009-01-21 11:39:14 and you need that to be a 10 digit integer, just update the MySQL database with <strong>unix_timestamp(&#8217;2009-01-02 11:39:14&#8242;)</strong>. And if you have a 10 digit integer representing time, and you need a regular timestamp, wrap it in the function, from_unixtime(), like this: <strong>from_unixtime(&#8217;1232566754&#8242;)</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ohdrupalsigh.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ohdrupalsigh.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ohdrupalsigh.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ohdrupalsigh.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ohdrupalsigh.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ohdrupalsigh.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ohdrupalsigh.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ohdrupalsigh.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ohdrupalsigh.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ohdrupalsigh.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ohdrupalsigh.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ohdrupalsigh.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ohdrupalsigh.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ohdrupalsigh.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=51&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ohdrupalsigh.wordpress.com/2009/02/02/ureka/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c6dcaebee6e270c6b658f58fdf54d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrisyakimov</media:title>
		</media:content>
	</item>
		<item>
		<title>Node Import&#8230;</title>
		<link>http://ohdrupalsigh.wordpress.com/2009/02/02/node-import/</link>
		<comments>http://ohdrupalsigh.wordpress.com/2009/02/02/node-import/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 18:34:49 +0000</pubDate>
		<dc:creator>chrisyakimov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ohdrupalsigh.wordpress.com/?p=49</guid>
		<description><![CDATA[Don&#8217;t know why I thought that the current release DID support CCK content types when the project page makes it very clear that it doesn&#8217;t. So&#8230; looks like I need to delve into the way Drupal sets dates in order to harness that into a PHP based database import. Youch. Big project for me, being [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=49&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t know why I thought that the current release DID support CCK content types when the project page makes it very clear that it doesn&#8217;t. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>So&#8230; looks like I need to delve into the way Drupal sets dates in order to harness that into a PHP based database import. Youch. Big project for me, being pretty NEW to PHP. My hunch is that I need to:</p>
<ol>
<li>Make a db mysqli connection</li>
<li>Write queries to draw from the correct tables, put the data into variables, and insert them into the destination tables, but with&#8230;</li>
<li>.. .something that intercepts the date-based information and converts it to Drupal-happy date infor</li>
</ol>
<p><strong>What is Drupal-happy date info?</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ohdrupalsigh.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ohdrupalsigh.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ohdrupalsigh.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ohdrupalsigh.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ohdrupalsigh.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ohdrupalsigh.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ohdrupalsigh.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ohdrupalsigh.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ohdrupalsigh.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ohdrupalsigh.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ohdrupalsigh.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ohdrupalsigh.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ohdrupalsigh.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ohdrupalsigh.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=49&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ohdrupalsigh.wordpress.com/2009/02/02/node-import/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c6dcaebee6e270c6b658f58fdf54d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrisyakimov</media:title>
		</media:content>
	</item>
		<item>
		<title>Profile</title>
		<link>http://ohdrupalsigh.wordpress.com/2009/01/28/profile/</link>
		<comments>http://ohdrupalsigh.wordpress.com/2009/01/28/profile/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 00:32:21 +0000</pubDate>
		<dc:creator>chrisyakimov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ohdrupalsigh.wordpress.com/?p=46</guid>
		<description><![CDATA[After much effort, I&#8217;ve managed to port over most of the necessary content from the old site into the Drupal one. Profiles really does make it a bit more&#8230; challenging. End of the day and I&#8217;ve stumbled across two very promising modules: Content Profile. Creates profiles as nodes, opening them up to modules that work [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=46&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After much effort, I&#8217;ve managed to port over most of the necessary content from the old site into the Drupal one. Profiles really does make it a bit more&#8230; challenging.</p>
<p>End of the day and I&#8217;ve stumbled across two very promising modules:</p>
<p><a title="Content Proflie" href="http://drupal.org/project/content_profile"><strong>Content Profile.</strong></a></p>
<p>Creates profiles as nodes, opening them up to modules that work on nodes, including the CCK.</p>
<p><em>Issues:</em></p>
<ul>
<li>It&#8217;s beta, and I&#8217;m not sure if it will be rc before we need to get our first iteration live.</li>
<li>It may require a completely different migration of data.</li>
</ul>
<p><a title="Profile Roles" href="http://drupal.org/project/profile_role"><strong>Profile Roles.</strong></a></p>
<p>Allows me to specify which profile fields are exposed to which roles, which is the primary reason I&#8217;d want to enhance what Profiles currently does. I need to have Instructors filling out the additional details only when they are instructors! It&#8217;s smaller, but it&#8217;s ready now.</p>
<p><em>Issues</em></p>
<ul>
<li>This continues to use the problematic Profile module (in terms of data storage)</li>
</ul>
<p>Gotta figure out what to do when I get back: I need to go check out the status of Content Profile, then make my decision.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ohdrupalsigh.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ohdrupalsigh.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ohdrupalsigh.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ohdrupalsigh.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ohdrupalsigh.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ohdrupalsigh.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ohdrupalsigh.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ohdrupalsigh.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ohdrupalsigh.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ohdrupalsigh.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ohdrupalsigh.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ohdrupalsigh.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ohdrupalsigh.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ohdrupalsigh.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=46&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ohdrupalsigh.wordpress.com/2009/01/28/profile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c6dcaebee6e270c6b658f58fdf54d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrisyakimov</media:title>
		</media:content>
	</item>
		<item>
		<title>More cleanup notes</title>
		<link>http://ohdrupalsigh.wordpress.com/2009/01/27/more-cleanup-notes/</link>
		<comments>http://ohdrupalsigh.wordpress.com/2009/01/27/more-cleanup-notes/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 18:11:53 +0000</pubDate>
		<dc:creator>chrisyakimov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ohdrupalsigh.wordpress.com/?p=44</guid>
		<description><![CDATA[So it looks like Drupal uses the users.created field to determine how long a user has been with the site. I would like to migrate that information from the old site; however, at the old site, the information was stored in MySQL as datetime, whereas Drupal uses scripting to convert date information into an 11 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=44&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So it looks like Drupal uses the users.created field to determine how long a user has been with the site. I would like to migrate that information from the old site; however, at the old site, the information was stored in MySQL as datetime, whereas Drupal uses scripting to convert date information into an 11 character numeric string. It looks like I&#8217;m going to have to write a PHP script to do the translation. So I might as well roll all the SQL into one executable import script (and make sure to build in a check to see if the script has been executed so you can&#8217;t do it more than once).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ohdrupalsigh.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ohdrupalsigh.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ohdrupalsigh.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ohdrupalsigh.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ohdrupalsigh.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ohdrupalsigh.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ohdrupalsigh.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ohdrupalsigh.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ohdrupalsigh.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ohdrupalsigh.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ohdrupalsigh.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ohdrupalsigh.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ohdrupalsigh.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ohdrupalsigh.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=44&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ohdrupalsigh.wordpress.com/2009/01/27/more-cleanup-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c6dcaebee6e270c6b658f58fdf54d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrisyakimov</media:title>
		</media:content>
	</item>
		<item>
		<title>Drupal Diary, January 2009</title>
		<link>http://ohdrupalsigh.wordpress.com/2009/01/27/drupal-diary-january-2009/</link>
		<comments>http://ohdrupalsigh.wordpress.com/2009/01/27/drupal-diary-january-2009/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 17:39:31 +0000</pubDate>
		<dc:creator>chrisyakimov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ohdrupalsigh.wordpress.com/?p=42</guid>
		<description><![CDATA[Just some housekeeping so I don&#8217;t lose track of what I need to do. If any of you are reading this, and you&#8217;re not me, please forgive me singularly ego-centric writing: this blog is primarily designed to be a notepad for me to keep myself in check. If any information here helps you out &#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=42&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just some housekeeping so I don&#8217;t lose track of what I need to do. If any of you are reading this, and you&#8217;re not me, please forgive me singularly ego-centric writing: this blog is primarily designed to be a notepad for me to keep myself in check. If any information here helps you out &#8211; awesome (and I&#8217;m happy to respond to questions/comments etc.).</p>
<p>Rad, here we go.</p>
<p>Importing Users has become rather complicated. I considered the User Import module, but it isn&#8217;t built for Drupal 6. Node import might work, but I had memory issues configuring it. It&#8217;s working now, but in the interm, I have mapped the database to database migration that needs to take place, and am executing SQL to make that happen.</p>
<p>User Profile Module is just&#8230; non-conformist! I wish there were some code out there integrating User Profile with CCK. I guess I could experiment with a Profile content type, but I wonder how to limit each user to only one&#8230; Wishlist content.</p>
<p>So:</p>
<p><strong>My Current Isse</strong>: Sending old users a new drupal login string with a new temp password.</p>
<p>Options:</p>
<p>1. MD5(&#8220;temp&#8221;) for all of them &#8211; send list generated email with that info.  Very insecure.</p>
<p>2. Employ Drupal&#8217;s &#8220;forgot password&#8221; functionality &#8211; provide instructions on the first page to log in to generate a temp password for themselves. This actually sounds like a fantastic option as I have all the emails and login information, and have managed to migrate that into the users database. But I gotta test it and my development environment is not setup to send mail.  So I have to get this live.</p>
<p><strong>REMINDER</strong></p>
<p>Set one of the imported accounts to &#8220;active&#8221; once the migration has ocurred flawlessly. Test that account to see if a live installation will functionally send a temp password for the imported account and get everything running.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ohdrupalsigh.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ohdrupalsigh.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ohdrupalsigh.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ohdrupalsigh.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ohdrupalsigh.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ohdrupalsigh.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ohdrupalsigh.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ohdrupalsigh.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ohdrupalsigh.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ohdrupalsigh.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ohdrupalsigh.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ohdrupalsigh.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ohdrupalsigh.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ohdrupalsigh.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ohdrupalsigh.wordpress.com&amp;blog=5237711&amp;post=42&amp;subd=ohdrupalsigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ohdrupalsigh.wordpress.com/2009/01/27/drupal-diary-january-2009/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c6dcaebee6e270c6b658f58fdf54d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrisyakimov</media:title>
		</media:content>
	</item>
	</channel>
</rss>
