<?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>the fish epic &#187; coldfusion</title>
	<atom:link href="http://thefishepic.ca/tag/coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://thefishepic.ca</link>
	<description>story of the fish</description>
	<lastBuildDate>Sat, 04 Feb 2012 00:03:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MySQL coldfusion connector and null dates</title>
		<link>http://thefishepic.ca/2010/09/mysql-coldfusion-connector-and-null-dates/</link>
		<comments>http://thefishepic.ca/2010/09/mysql-coldfusion-connector-and-null-dates/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 18:50:31 +0000</pubDate>
		<dc:creator>Lois CP</dc:creator>
				<category><![CDATA[mundane]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.thefishepic.ca/2010/09/mysql-coldfusion-connector-and-null-dates/</guid>
		<description><![CDATA[I copied some databases from MS SQL Server to MySQL and this came up: `MySQL Cannot Convert Value &#8217;0000-00-00 00:00:00&#8242; From Column XX To TIMESTAMP` [The fix](http://www.bennadel.com/blog/1434-MySQL-Cannot-Convert-Value-0000-00-00-00-00-00-From-Column-XX-To-TIMESTAMP.htm) is to put this in the cf data source connection string: zeroDateTimeBehavior=convertToNull]]></description>
			<content:encoded><![CDATA[<p>I copied some databases from MS SQL Server to MySQL and this came up:</p>

<p>`MySQL Cannot Convert Value &#8217;0000-00-00 00:00:00&#8242; From Column XX To TIMESTAMP`</p>

<p>[The fix](http://www.bennadel.com/blog/1434-MySQL-Cannot-Convert-Value-0000-00-00-00-00-00-From-Column-XX-To-TIMESTAMP.htm) is to put this in the cf data source connection string:</p>

<p>zeroDateTimeBehavior=convertToNull</p>
]]></content:encoded>
			<wfw:commentRss>http://thefishepic.ca/2010/09/mysql-coldfusion-connector-and-null-dates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache with Coldfusion, PHP, and ruby on Ubuntu</title>
		<link>http://thefishepic.ca/2010/08/apache-with-coldfusion-php-and-ruby-on-ubuntu/</link>
		<comments>http://thefishepic.ca/2010/08/apache-with-coldfusion-php-and-ruby-on-ubuntu/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 19:35:48 +0000</pubDate>
		<dc:creator>Lois CP</dc:creator>
				<category><![CDATA[mundane]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://www.thefishepic.ca/?p=553</guid>
		<description><![CDATA[This is for setting up everything to appear under http://localhost/, i.e. http://localhost/phpmyadmin and http://localhost/redmine. I did it &#8220;properly&#8221; with aliases (mostly) and stuff. I don&#8217;t know if anyone else would want this crazy set up, but here it is for posterity. First install apache2 with sudo apt-get install apache2. Test it out in http://localhost/. If [...]]]></description>
			<content:encoded><![CDATA[<p>This is for setting up everything to appear under http://localhost/, i.e. http://localhost/phpmyadmin and http://localhost/redmine. I did it &#8220;properly&#8221; with aliases (mostly) and stuff.</p>

<p>I don&#8217;t know if anyone else would want this crazy set up, but here it is for posterity.</p>

<p>First install apache2 with <code>sudo apt-get install apache2</code>. Test it out in http://localhost/. If it says it works, it works.</p>

<p>Download Coldfusion from the Adobe site. MX7 supposedly has kinks with installing on Linux, so get 8 or 9. I&#8217;m using 8. <code>chmod u+x</code> the binary and then run it. Follow the prompts and let it configure apache for you; don&#8217;t use the standalone server. The standalone server probably eats resources like mad, though I eschewed it mainly for sanity since I wanted apache to do it all. Feels less dirty.</p>

<p><code>sudo apt-get install php5</code>. Then <code>aptitude search php | grep apache</code> to get the necessary mods if it&#8217;s not installed already.</p>

<p><code>sudo apt-get install ruby rubygems ruby-dev</code> and also look through aptitude for the necessary mod. You need the ruby-dev to install stuff later with gems.</p>

<p>I&#8217;ve stuck my project files in my homedir because I prefer easy access from my homedir. Some peeps say this is not as safe, but for local sandboxy development it&#8217;s grood.</p>

<p>Now lets install us some gems. <code>sudo gems install passenger</code> come to mind, and install whatever else it says you need. If it installs stuff to your <code>~/.gem</code> folder because you didn&#8217;t call it with sudo, <code>rm -rf .gems</code> and redo it properly this time, you nonce.</p>

<p>Now to put it all together in your <code>/etc/apache2/</code> confs:</p>

<p>The CF installer should have written something to the httpd.conf. Again, for sanity&#8217;s sake, I moved this into its own file in <code>conf-available</code> then symlinked it in <code>conf-enable</code>.</p>

<p>In the now-blank <code>httpd.conf</code>, put in:
<pre>LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-2.2.15/ext/apache2/mod_passenger.so
PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.15
PassengerRuby /usr/bin/ruby
DirectoryIndex index.phtml index.php index.php3 index.shtml index.html index.htm index.cfm</pre></p>

<p>And rig up the necessary aliases in <code>sites-available/default</code>:</p>

<p><pre>RailsBaseURI /redmine
&lt;Directory "/var/www/redmine/"&gt;
        Options Indexes ExecCGI FollowSymLinks
        Options -MultiViews
        AllowOverride all
        Order allow,deny
        Allow from all
&lt;/Directory&gt;</pre></p>

<p>Redmine was the only one that I couldn&#8217;t get to go just with an alias, so I cheated and symlinked to its &#8216;public&#8217; directory in /var/www/. I&#8217;m not sure why. Ruby had some other fussiness as well. I can&#8217;t remember what exactly, though. Just pushed it around until it worked. Look around on google if it gives you error messages; ruby&#8217;s good for that. Check stuff inside <code>/var/logs/apache2/error.log</code> to see if you can get more details.</p>

<p>Alias <code>/cf/</code> and <code>/cf</code> to your coldfusion apps directory. Same goes for your php apps, like my phpmyadmin, which can be symlinked from <code>/etc/phpmyadmin/apache.conf</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://thefishepic.ca/2010/08/apache-with-coldfusion-php-and-ruby-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server woes no mo&#8217;! Also, horses and bikes, words and diaspora</title>
		<link>http://thefishepic.ca/2010/07/server-woes-no-mo-also-horses-and-bikes-words-and-diaspora/</link>
		<comments>http://thefishepic.ca/2010/07/server-woes-no-mo-also-horses-and-bikes-words-and-diaspora/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 05:30:01 +0000</pubDate>
		<dc:creator>Lois CP</dc:creator>
				<category><![CDATA[101 things in 1001 days]]></category>
		<category><![CDATA[mundane]]></category>
		<category><![CDATA[Ride a bike]]></category>
		<category><![CDATA[Ride a horse]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[horsies]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.thefishepic.ca/?p=547</guid>
		<description><![CDATA[Just finished porting over the last of the stuff that was locked in facebook-neverland. &#60;smacks lips&#62; Brief synopsis: after upgrading to Lucid, my slicehost server went kaput and couldn&#8217;t get up for some time. I tried all the pills I could, but finally declared it unrevivable and nuked it. I thought I could export my [...]]]></description>
			<content:encoded><![CDATA[<p>Just finished porting over the last of the stuff that was locked in facebook-neverland. &lt;smacks lips&gt;</p>

<p>Brief synopsis: after upgrading to Lucid, my slicehost server went kaput and couldn&#8217;t get up for some time. I tried all the pills I could, but finally declared it unrevivable and nuked it. I thought I could export my blog posts from facebook afterwards but noooo&#8230; The RSS feed was broken and there was no guarantee that it would ever come back for the handful of us who care enough to want it. So it was manual copy+paste for the 40 or so posts stuck in facebook neverland.</p>

<p>BUT NOW</p>

<p>WordPress is up running this blog, <a title="Tracks GTD" href="http://www.getontracks.org" target="_blank">tracks</a> is up on a subdomain, and squid3 is making life easier at work too!</p>

<p>The main problem I had with tracks today were goofs&#8230; First I used the wrong password in database.yml, then I told lighttpd to look for dispatch.fcgi in the wrong place. BUT NOW everything is working and I can start focusing on getting the WP theme to not suck.</p>

<hr />

<p><strong>W</strong> is a sweet boy of six years, which is about 13 or 14 years in human years. He&#8217;s quite a dear for trying to rub me off on trees, but otherwise he was fairly laid back and would have to be pushed quite a bit to get up to a good speed. <strong>P</strong> is the opposite. The chubby girl was raring to go at every chance, and barely needed a nudge to take me on a short canter. Freaked out our hosts. They kept saying I did good.</p>

<p>The part that surprised me was how much <strong>Papa</strong> knew about horses. Over dinner one night he rambled off all sorts of breeds from around the world, who raced in what races, what awaits a horse when he comes of age&#8230; I think I&#8217;ve found that bond I need with my father, at last. I wager he&#8217;s probably a better rider than I.</p>

<p>I&#8217;ve also started riding my bicycle again. It was spurred on by the need to get better at it for <a title="/category/101/" href="/category/101/" target="_self">my 101 pledge</a>, and again by the peeps who got me into motorcycles. <strong>M</strong> is en route to getting his motorcycle already and soon I&#8217;ll get my gear as well, so I can ride safely on his bike. I wanted to get licensed myself this summer but there isn&#8217;t enough time. So I just got a new pedal-bike. Good enough. &lt;rubs hands together&gt;</p>

<hr />

<p>I started writing on <a title="http://750words.com" href="http://750words.com" target="_self">750words</a> as much as I could to get my writing going again. It&#8217;s fun, almost obsessive-compulsive. (Gotta ollect all them badges!) I&#8217;ve been griping about not creating enough recently&#8212;I&#8217;m reading tons of blogs, too many perhaps, and am immersed in social media stuff, again too much perhaps&#8212;so the free-writing opportunity was a great place to kick that.</p>

<p>The content of that isn&#8217;t too different from my other writing, but I do tend to self-edit more here than there. It&#8217;s almost difficult for me to not self-edit as I write. I&#8217;m not used to the mechanism of simply writing&#8230; it seems the voices in my head quiet down when the spotlight is shone on them.</p>

<p>Anyway, I feel I&#8217;m off balance again. Too much consuming not enough creating. I need to rein in from <a title="http://www.thefishepic.ca/2010/03/the-scattering/" href="http://www.thefishepic.ca/2010/03/the-scattering/">the diaspora</a>.</p>

<p>Not to be confused with <a title="http://www.joindiaspora.com/project.html" href="http://www.joindiaspora.com/project.html">the Diaspora</a>, of which I am lucky to backer (albeit a minor one).</p>

<p>I am also a backer of <a title="http://www.kickstarter.com/projects/paulkillebrew/am-i-broken-a-feature-length-documentary" href="http://www.kickstarter.com/projects/paulkillebrew/am-i-broken-a-feature-length-documentary" target="_self">Am I Broken?</a></p>

<p>I am also loving education blogs. I might become an educator some day, though right now I oughta focus on becoming a shrink.</p>

<p>Right now <em>right now</em> I oughta go to bed&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://thefishepic.ca/2010/07/server-woes-no-mo-also-horses-and-bikes-words-and-diaspora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion, apache, virtualbox shared setup</title>
		<link>http://thefishepic.ca/2010/06/coldfusion-apache-virtualbox-shared-setup/</link>
		<comments>http://thefishepic.ca/2010/06/coldfusion-apache-virtualbox-shared-setup/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 05:39:56 +0000</pubDate>
		<dc:creator>Lois CP</dc:creator>
				<category><![CDATA[mundane]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[hax]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.thefishepic.ca/?p=404</guid>
		<description><![CDATA[My setup is super hackery and isn't necessary unless your VPN provider sucks and only supports Windows. Do not do try this at home without adult supervision.]]></description>
			<content:encoded><![CDATA[<p>My setup is super hackery and isn&#8217;t necessary unless your VPN provider sucks and only supports Windows. Do <strong>not</strong> do try this at home without adult supervision.</p>

<p>Preamble: I have an ubuntu host and a Windows XP virtual machine. I prefer doing most of my development in linux and it works out OK when I&#8217;m physically connected to the work network, but because a) I&#8217;m too lazy to copy over the MS SQL Server database to work locally somehow and 2) I don&#8217;t have a linux VPN client I have to do pretty much everything through VirtualBox. That is the way of the world. So here&#8217;s what I do&#8212;I can think of only one other person who might want this, but I&#8217;ll jot this down for posterity anyway:</p>

<p>1) Make everything work in ubuntu first&#8212;get all the needed tools (git, vim, etc.) and mappings in CFIDE working. Installing ColdFusion 8+ with Apache2 in ubuntu is a piece of cake nowadays.</p>

<p>1a) Little quirky step that&#8217;s just for me: symlink ~/Public to /var/www so I can do my development all inside my homedir.</p>

<p>2) Share ~/Public with the Windows virtual machine.</p>

<p>3) Install all the necessary tools in the Windows VM: git, vim, xampp, and ColdFusion. Make CF use Apache instead of the standalone server.</p>

<p>4) Fix up apache&#8217;s conf to include the UNC path (//vboxsvr/public) as an alias (to /public)</p>

<p>5) Map everything in CF Administrator with the UNC path, NOT THE MOUNTED PATH, FOR THE LOVE OF GOD.</p>
]]></content:encoded>
			<wfw:commentRss>http://thefishepic.ca/2010/06/coldfusion-apache-virtualbox-shared-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

