<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.goobertech.net" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>coding</title>
 <link>http://www.goobertech.net/taxonomy/term/129</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>When it rains it pours...</title>
 <link>http://www.goobertech.net/node/1913</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Jebus H Christ! What a fucking nightmare!&lt;/p&gt;
&lt;p&gt;Here I sit for over a half hour listening to the goddamn Comcast muzak waiting for the human to answer. Did I mention how much I hate Comcast? And not only because they&amp;#8217;ve a complete monopoly on DSL service in the Twin Cities.&lt;/p&gt;
&lt;p&gt;This all started because I&amp;#8217;ve been busy upgrading everyone&amp;#8217;s sites from Drupal 4.6 or 4.7 to Drupal 5.X. And we all get a fancy and shiny new look to go with it. As I&amp;#8217;m doing one site full of events, I notice that even though MySQL is storing the correct timestamp, Drupal isn&amp;#8217;t displaying it correctly. A week ago, this kept me up all night trying to figure it out.&lt;/p&gt;
&lt;p&gt;Then I learn the issue is really a bug in the way php 4.0.1 (which is what was on my server) dealt with the date() function. Soon I realize that I can&amp;#8217;t use any of the fancy new php 5 functions either because my server software is woefully out of date. Even online forums were nearly useless, because they&amp;#8217;re all discussing php 5 as well. &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.goobertech.net/node/1913&quot;&gt;read more &amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>http://www.goobertech.net/node/1913#comments</comments>
 <category domain="http://www.goobertech.net/taxonomy/term/129">coding</category>
 <category domain="http://www.goobertech.net/taxonomy/term/176">Comcast</category>
 <category domain="http://www.goobertech.net/taxonomy/term/100">complaint</category>
 <category domain="http://www.goobertech.net/taxonomy/term/121">server</category>
 <category domain="http://www.goobertech.net/taxonomy/term/177">upgrade</category>
 <pubDate>Wed, 02 Apr 2008 01:03:50 -0500</pubDate>
 <dc:creator>goobermaster</dc:creator>
 <guid isPermaLink="false">1913 at http://www.goobertech.net</guid>
</item>
<item>
 <title>Goddamn Internet Explorer&#039;s idiot CSS reasoning</title>
 <link>http://www.goobertech.net/node/1739</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I will cheer loudly the day Microsoft finally goes away bringing the god-awful Internet Explorer down with it. It&amp;#8217;s been a sinking ship for the last few years anyway. &lt;b&gt;Please people &amp;#8212; for the love of sanity &amp;#8212; abandon explorer and start using &lt;a href=&quot;http://www.mozilla.com/en-US/firefox/&quot;&gt;Firefox&lt;/a&gt; today.&lt;/b&gt; You won&amp;#8217;t even notice the difference (other than you&amp;#8217;ll have less ad/pop-up/virus/etc issues and things on the net will look better and you&amp;#8217;ll surf faster and more efficiently.) &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.goobertech.net/node/1739&quot;&gt;read more &amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>http://www.goobertech.net/node/1739#comments</comments>
 <category domain="http://www.goobertech.net/taxonomy/term/111">browser</category>
 <category domain="http://www.goobertech.net/taxonomy/term/129">coding</category>
 <category domain="http://www.goobertech.net/taxonomy/term/100">complaint</category>
 <category domain="http://www.goobertech.net/taxonomy/term/112">css bug</category>
 <category domain="http://www.goobertech.net/taxonomy/term/128">site mods</category>
 <pubDate>Mon, 15 Oct 2007 15:42:01 -0500</pubDate>
 <dc:creator>goobermaster</dc:creator>
 <guid isPermaLink="false">1739 at http://www.goobertech.net</guid>
</item>
<item>
 <title>Successful relocation of Gallery 2</title>
 <link>http://www.goobertech.net/node/1601</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Now that&amp;#8217;s how it&amp;#8217;s supposed to happen! Works the first time like a charm. With the re-porting of goobertech from Drupal 4.7 to 5.0, I first recreate the entire site on a new location so the original can stay un-adultered and live. After re-doing the new drupal installation (with a few errors and tribulations), I set about duplicating the 1.47 gigs of gallery data on the new location. Here&amp;#8217;s how I did it:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First &lt;b&gt;Backup&lt;/b&gt; the g2data folder. I did this easily with shell access. The command is&amp;#8230;&lt;br /&gt;
&lt;center&gt;&lt;code&gt;tar -czvpf gallerybackup.tgz g2data/&lt;/code&gt;&lt;/center&gt;&lt;br /&gt;
This created a tarred zip file of the entire gallery file data. This includes all of the albums and actual pictures/files.&lt;/li&gt;
&lt;li&gt;Then I backed up the gallery database. Since I combine my drupal and gallery databases for some fancy and complex site manuevers, this took a bit more doing. The drupal database already existed and since phpMyAdmin can only handle about 5 Mb without timing out, I had to move most of the gallery tables one at a time. I simply exported them from the original database, and then opened them through sql in the new database.&lt;/li&gt;
&lt;li&gt;Now the fun part &amp;#8212; waiting. It took almost 5 hours to download the zipped gallerybackup file and then upload it to the new location.
&lt;p&gt;&lt;b&gt;UPDATE&lt;/b&gt; - with my new shell interface as root on the server (use &lt;a href=&quot;http://www.chiark.greenend.org.uk/~sgtatham/putty/&quot;&gt;putty&lt;/a&gt;), I can now do all this from shell. Now download/upload. The trick at this step is to copy the backup file to the new user directory. Inside the old user directory (with the backup file) type:&lt;br /&gt;
&lt;center&gt;&lt;code&gt;cp gallerybackup.tgz /home/new_user_dir&lt;/code&gt;&lt;/center&gt;
&lt;/li&gt;
&lt;li&gt;Meanwhile, I uploaded the new gallery 2 system files and installed a virgin copy in the new location. I simply let gallery do its own database table creating and gave it a new g2data folder to get a clean install.&lt;/li&gt;
&lt;li&gt;Once the backup file was uploaded, I renamed the g2data folder used by the fresh install to something else, (g2data2), for example. Then I unzipped the backup with this command in shell&amp;#8230;&lt;br /&gt;
&lt;center&gt;&lt;code&gt;tar -xzvpf gallerybackup.tgz&lt;/code&gt;&lt;/center&gt;&lt;br /&gt;
So far so good.
&lt;/li&gt;
&lt;li&gt;Then I recursively chmodded the entire directory with this&amp;#8230;&lt;br /&gt;
&lt;center&gt;&lt;code&gt;chmod -R 777 g2data/&lt;/code&gt;&lt;/center&gt;&lt;br /&gt;
Now all the files and directories in g2data have read/write permission.
&lt;/li&gt;
&lt;li&gt;Without touching the gallery install yet, I deleted all the gallery tables from the new database. Then I used the backed up tables from the original database to recreate them with phpMyAdmin&amp;#8217;s sql tab.&lt;/li&gt;
&lt;li&gt;Now I browsed to my gallery install (direct link). The gallery wizard did an upgrade and all was well!&lt;/li&gt;
&lt;li&gt;The last step was to copy the original site&amp;#8217;s .htaccess file (the one in the root directory). Otherwise gallery had login/permissions errors. I also had to update the member data in gallery (the owner, specifically) to match the new owner/admin name in drupal.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;And that&amp;#8217;s it &amp;#8212; a perfect relocation with no links lost. I did have to re-activate the urlRewrite module and the matrix theme. But afterwards, everything simply worked. As it should be!&lt;/p&gt;
</description>
 <comments>http://www.goobertech.net/node/1601#comments</comments>
 <category domain="http://www.goobertech.net/taxonomy/term/129">coding</category>
 <category domain="http://www.goobertech.net/taxonomy/term/154">drupal</category>
 <category domain="http://www.goobertech.net/taxonomy/term/128">site mods</category>
 <pubDate>Sat, 09 Jun 2007 08:23:40 -0500</pubDate>
 <dc:creator>goobermaster</dc:creator>
 <guid isPermaLink="false">1601 at http://www.goobertech.net</guid>
</item>
</channel>
</rss>
