<?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>tanhaaiyaaN &#187; techno-babble</title>
	<atom:link href="http://www.tanhaa.net/index.php/category/techno-babble/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tanhaa.net</link>
	<description>Notes from the underground!</description>
	<lastBuildDate>Tue, 01 Nov 2011 17:01:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Registering SIP phones from an outside location to your Asterisk Server</title>
		<link>http://www.tanhaa.net/index.php/2011/02/25/registering-sip-phones-from-an-outside-location-to-your-asterisk-server/</link>
		<comments>http://www.tanhaa.net/index.php/2011/02/25/registering-sip-phones-from-an-outside-location-to-your-asterisk-server/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 19:36:05 +0000</pubDate>
		<dc:creator>tanhaa</dc:creator>
				<category><![CDATA[asterisk]]></category>
		<category><![CDATA[techno-babble]]></category>
		<category><![CDATA[sip]]></category>
		<category><![CDATA[telephony]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://www.tanhaa.net/?p=341</guid>
		<description><![CDATA[With Asterisk, it&#8217;s easy to register the IAX phones from an outside location when your asterisk server is behind a router/firewall, but doing the same with SIP requires a bit of work.  It may or may not work out of box.  Here is a quick guide to get you started if you are attempting to [...]]]></description>
			<content:encoded><![CDATA[<p>With Asterisk, it&#8217;s easy to register the IAX phones from an outside location when your asterisk server is behind a router/firewall, but doing the same with SIP requires a bit of work.  It may or may not work out of box.  Here is a quick guide to get you started if you are attempting to register a SIP phone placed outside the network where the asterisk server is.</p>
<p>First thing you will want to do is ensure that your Asterisk server is configured properly to accept connections from outside.  Look for sip_nat.conf file within the /etc/asterisk directory on your server.  If it doesn&#8217;t exist, create it.  We don&#8217;t need to modify the sip.conf file for these purposes, however, you do need to make sure this line is contained in your sip.conf file:</p>
<p>#include sip_nat.conf</p>
<p>This ensures that sip_nat.conf file is also read.</p>
<p>If you have the external IP address of your server, make sure you have that handy.  Your sip_nat.conf file should look like this:</p>
<p>externip=176.0.0.1  ;replace the IP address given here with your asterisk server&#8217;s external IP address<br />
localhost=192.168.1.1/255.255.255.0  ;put your localhost IP range here<br />
nat=yes  ;make sure you include nat=yes</p>
<p>If you have a dynamic IP address, you will want to probably give your dynamic IP a dynamic DNS using services such as dyndns.org and if you do have a dynamic DNS being used, use the following in your sip_nat.conf file:</p>
<p>externhost=yourdomain.dyndns.org  ; replace the domain name with your domain name<br />
localhost=192.168.1.1/255.255.255.0<br />
nat=yes</p>
<p>Save your sip_nat.conf file and reload your asterisk configuration.</p>
<p><a href="http://www.tanhaa.net/wp-content/uploads/2011/02/d-link-router-screenshot.jpg"><img class="alignleft size-medium wp-image-342" title="d-link-router-screenshot" src="http://www.tanhaa.net/wp-content/uploads/2011/02/d-link-router-screenshot-300x167.jpg" alt="" width="300" height="167" /></a>Now what you need to do is make sure your router is configured to forward the required ports to your asterisk server: Point the ports 5060-5082 on UDP to the IP address of your asterisk server and also point the ports 10000-20000 on UDP to the ip address of your asterisk server.  This will allow any incoming connections on these ports to be routed directly to your Asterisk server which we have already configured to accept external SIP connections.</p>
<p>Now, you should make your new SIP extension that you will be using from the outside world.  Make a normal SIP extension, but make sure to configure your extension to have &#8220;Nat=yes&#8221; and &#8220;Qualify=yes&#8221; .  This is what it looks like on my trixbox when I make that SIP extension.  Notice the highlighted areas in the image:</p>
<p><a href="http://www.tanhaa.net/wp-content/uploads/2011/02/asterisk-ss.jpg"><img class="alignnone size-full wp-image-343" title="asterisk-ss" src="http://www.tanhaa.net/wp-content/uploads/2011/02/asterisk-ss.jpg" alt="" width="350" height="298" /></a></p>
<p>And you are done, try registering your SIP extension from an external network on your Asterisk server and you should be good to go.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.tanhaa.net%2Findex.php%2F2011%2F02%2F25%2Fregistering-sip-phones-from-an-outside-location-to-your-asterisk-server%2F&amp;title=Registering%20SIP%20phones%20from%20an%20outside%20location%20to%20your%20Asterisk%20Server" id="wpa2a_2"><img src="http://www.tanhaa.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.tanhaa.net/index.php/2011/02/25/registering-sip-phones-from-an-outside-location-to-your-asterisk-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Primus talkbroadband with Asterisk</title>
		<link>http://www.tanhaa.net/index.php/2011/02/18/primus-talkbroadband-with-asterisk/</link>
		<comments>http://www.tanhaa.net/index.php/2011/02/18/primus-talkbroadband-with-asterisk/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 22:23:01 +0000</pubDate>
		<dc:creator>tanhaa</dc:creator>
				<category><![CDATA[asterisk]]></category>
		<category><![CDATA[techno-babble]]></category>
		<category><![CDATA[freepbx]]></category>
		<category><![CDATA[pbx]]></category>
		<category><![CDATA[primus]]></category>
		<category><![CDATA[telephony]]></category>

		<guid isPermaLink="false">http://www.tanhaa.net/?p=338</guid>
		<description><![CDATA[So I have an asterisk (Trixbox Asterisk 1.2.21) installed and working very well with a Sangoma A200 4 port FXO card and a Sangoma A102D 2 port T1/E1 card.  Due to some cost-cutting, we got rid of the PRI connected to the A102 and opted to put that FXO card in use.  After getting a [...]]]></description>
			<content:encoded><![CDATA[<p>So I have an asterisk (Trixbox Asterisk 1.2.21) installed and working very well with a Sangoma A200 4 port FXO card and a Sangoma A102D 2 port T1/E1 card.  Due to some cost-cutting, we got rid of the PRI connected to the A102 and opted <img class="alignleft" title="Sangoma A200 FXO Card" src="http://sangoma.com/assets/images/products/pcie_a200_1.jpg" alt="" width="256" height="192" />to put that FXO card in use.  After getting a talkbroadband connection from Primus, the task was to input that VOIP line into the Asterisk system.  Primus sent the adapter SPA2102, which thankfully, works on SIP.  It was fairly simple to connect the adapter <img class="alignright" title="Linksys SPA2102" src="http://t2.gstatic.com/images?q=tbn:ANd9GcTIL4--nICg05uVgXJ_epLskZdTeaZ-fkYEXLmifSDLnzppvNZs&amp;t=1" alt="" width="242" height="106" />to the FXO card.  Connected the internet cable in the blue port and then took a RJ11 to RJ9 cable and put it in the first port (serving as the FSX port) of the adapter straight to the first port (the FXO port) in the Sangoma Card.  Installed correctly, the trixbox settings were changed to allow outbound calls from the FXO card (in my system, trunk Zap/g1) and inbound call route was added to allow the system to receive the calls on the system. This was accomplished by adding a new outbound route.</p>
<p>At first, I tried to make a new inbound route by simply adding the VOIP number that came with the Primus adapter in asterisk as a DID, but that didn&#8217;t work.  Incoming calls to the VOIP number ended up with a message of &#8220;This number is not in service&#8221;.  I could see the call landing on the zaptel channel, but it was not ringing any extensions.  The trick was to change the context in the zaptel config file.  The Zaptel.conf file had the context listed as &#8220;context=from-pstn&#8221;.  Changing that to context=from-zaptel and then pointing that new inbound route to the specific zaptel channel allowed incoming calls to ring the extension.  Being new to asterisk, I&#8217;m not sure if I add a PRI in future, would the DIDs still work with context=from-zaptel instead of from-pstn .. but it did solve the issue.</p>
<p>So if you are looking to connect your new primus VOIP adapter to your asterisk PBX, get a FXO card and connect the adapter to the PBX instead of connecting a regular analog phone to it.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.tanhaa.net%2Findex.php%2F2011%2F02%2F18%2Fprimus-talkbroadband-with-asterisk%2F&amp;title=Primus%20talkbroadband%20with%20Asterisk" id="wpa2a_4"><img src="http://www.tanhaa.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.tanhaa.net/index.php/2011/02/18/primus-talkbroadband-with-asterisk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal: Adding a &#8220;More from this author&#8221; block using CCK author field</title>
		<link>http://www.tanhaa.net/index.php/2010/11/10/drupal-adding-a-more-from-this-author-block-using-cck-author-field/</link>
		<comments>http://www.tanhaa.net/index.php/2010/11/10/drupal-adding-a-more-from-this-author-block-using-cck-author-field/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 20:11:11 +0000</pubDate>
		<dc:creator>tanhaa</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[techno-babble]]></category>
		<category><![CDATA[views]]></category>

		<guid isPermaLink="false">http://www.tanhaa.net/?p=334</guid>
		<description><![CDATA[Problem: Show a &#8220;More From this author&#8221; Block on nodes of specific types without using the $uid variable provided by Drupal. Let&#8217;s assume that you don&#8217;t want to use the &#8220;Posted by: username&#8221; on your stories/nodes, but rather you have your own CCK field setup to display the name of the author.  Now this CCK [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p><span style="text-decoration: underline;"><strong>Problem: </strong></span></p>
<p>Show a &#8220;More From this author&#8221; Block on nodes of specific types without using the $uid variable provided by Drupal.</p>
<p>Let&#8217;s assume that you don&#8217;t want to use the &#8220;Posted by: username&#8221; on your stories/nodes, but rather you have your own CCK field setup to display the name of the author.  Now this CCK field may be a reference field to author pages, or just simple text fields where the authors are typing their names.  To show a block in your sidebar that displays more articles from the same author, you will want to use Views.</p>
<p><span style="text-decoration: underline;"><strong>Solution</strong></span>:</p>
<p>This applies for Drupal 6.x only:</p>
<ul>
<li>Add a new view</li>
<li>Add your fields (e.g. node-&gt;title)</li>
<li>Add your filters (e.g. node-&gt;published-&gt;yes; node-&gt;types-&gt;select your types)</li>
<li>Add your sort criteria (e.g. node-&gt;published date-&gt;desc)</li>
</ul>
<p>Now it&#8217;s time to add the argument.  Assuming the machine-readable name of your &#8220;Author name&#8221; field is &#8220;field_byline&#8221;, you will have to add a new argument.  Select your field from the Content section and change the &#8220;Action to take if argument is not present&#8221; to &#8220;<em>Provide default argument&#8221;</em>.  Now in the following section, select &#8220;<em>PHP code&#8221;</em> and enter the following code:</p>
<blockquote><p>if (arg(0) == &#8216;node&#8217; &amp;&amp; is_numeric(arg(1))) {<br />
$node=node_load(arg(1));<br />
$by_line = $node-&gt;field_byline[0]['value'];<br />
}<br />
return $by_line;</p></blockquote>
<p>Now, go ahead and add a &#8220;Block display&#8221; to the view and place the block on any content type.  You should see the recent posts, based on the number of items you selected in your view, in a block.</p>
<p>Refining this view further, we should be excluding the current node so that it doesn&#8217;t show up in the list of nodes in the block.  To do this, simply add another argument, select Node: NodeID from the Node group.  Provide the default argument and select Node ID from URL as the option.  At the bottom, select &#8220;Exclude the argument&#8221;.  Save your view and visit your node again.  You will find that the node you are currently visiting will not show up in the list.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.tanhaa.net%2Findex.php%2F2010%2F11%2F10%2Fdrupal-adding-a-more-from-this-author-block-using-cck-author-field%2F&amp;title=Drupal%3A%20Adding%20a%20%26%238220%3BMore%20from%20this%20author%26%238221%3B%20block%20using%20CCK%20author%20field" id="wpa2a_6"><img src="http://www.tanhaa.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.tanhaa.net/index.php/2010/11/10/drupal-adding-a-more-from-this-author-block-using-cck-author-field/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal &#8212; the design errors that just won&#8217;t go away!</title>
		<link>http://www.tanhaa.net/index.php/2010/04/06/drupal-the-design-errors-that-just-wont-go-away/</link>
		<comments>http://www.tanhaa.net/index.php/2010/04/06/drupal-the-design-errors-that-just-wont-go-away/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 21:39:08 +0000</pubDate>
		<dc:creator>tanhaa</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[techno-babble]]></category>
		<category><![CDATA[acquia prosper]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[drupal theme]]></category>

		<guid isPermaLink="false">http://www.tanhaa.net/?p=321</guid>
		<description><![CDATA[Recently, while designing a site in Drupal using the theme acquia prosper (awesome theme, very customizable, gives a lot of control without you needing to go deep into theme css files or sub-theming), I just happened to fumble upon a few things that just wouldn&#8217;t go away.. ah the hours wasted! Well if this can [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, while designing a site in <a href="www.drupal.org" target="_blank">Drupal</a> using the theme <a href="http://drupal.org/project/acquia_prosper" target="_blank">acquia prosper</a> (awesome theme, very customizable, gives a lot of control without you needing to go deep into theme css files or sub-theming), I just happened to fumble upon a few things that just wouldn&#8217;t go away.. ah the hours wasted! Well if this can help someone, I&#8217;d be very happy.</p>
<p>1.  FCKEditor loves to add &lt;p&gt; tags.  Problem becomes even worse if you are making a block with only an image in it and FCKEditor just won&#8217;t let you take that &lt;p&gt; tag out.  Of course you can disable FCKeditor and enter everything manually, but I&#8217;m sure we will all agree that FCKEditor along with IMCE just makes life a lot easier when adding images to the site.  One solution is to configure the FCKEditor module so that on &lt;Enter&gt; it adds a &lt;br /&gt; tag instead of a &lt;p&gt; tag.  The other solution ties in with the second problem below</p>
<p>2. Even without FCKEditor, when you go and check your site on IE, you see the block is just not positioned properly! What&#8217;s going on?  You check the source and you find a &lt;p&gt; tag AGAIN around the image!  What the?   If you create a block with the intent of only including a simple image  tag in the code (or anything besides text), Drupal will surround your  code with paragraph tags. The  tags, by default, come along with a 1em  margin on both top and bottom &#8212; right, while Firefox may show your design properly, IE definitely doesn&#8217;t.  Solution?  You can always just put a small code in the CSS file.  In my case, with Acquia prosper (and Skinr module), I was able to add a custom CSS class to the block which then was defined in the local.css file:</p>
<blockquote><p>.custom-css-name p{<br />
margin:0;}</p></blockquote>
<p>So that works.  You can also try a CSS override in the following manner:   #your-block-id  p { margin: 0; }</p>
<p>Or finally, you can always create a new block input type that doesn&#8217;t convert spaces into unwanted tags.  Basically a new input format that will have the following property unchecked:</p>
<blockquote><p>Converts line breaks into HTML (i.e.  &lt;br&gt; and &lt;p&gt; tags).</p></blockquote>
<p>I hope this helps if you have also run across this problem &#8230; ah that pesky &lt;p&gt; tag that just won&#8217;t go away!</p>
<p><span class="thmr_call"><span class="thmr_call"><br />
</span></span></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 65px; width: 1px; height: 1px; overflow: hidden;">If you create a block with the intent of only including a simple image  tag in the code (or anything besides text), Drupal will surround your  code with paragraph tags. The  tags, by default, come along with a 1em  margin on both top and bottom,</div>
<p style="text-align: center;"></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.tanhaa.net%2Findex.php%2F2010%2F04%2F06%2Fdrupal-the-design-errors-that-just-wont-go-away%2F&amp;title=Drupal%20%26%238212%3B%20the%20design%20errors%20that%20just%20won%26%238217%3Bt%20go%20away%21" id="wpa2a_8"><img src="http://www.tanhaa.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.tanhaa.net/index.php/2010/04/06/drupal-the-design-errors-that-just-wont-go-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good Looking Burgers &#8212; What&#8217;s the secret?</title>
		<link>http://www.tanhaa.net/index.php/2010/01/08/good-looking-burgers-whats-the-secret/</link>
		<comments>http://www.tanhaa.net/index.php/2010/01/08/good-looking-burgers-whats-the-secret/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 21:25:12 +0000</pubDate>
		<dc:creator>tanhaa</dc:creator>
				<category><![CDATA[Did You Know]]></category>
		<category><![CDATA[techno-babble]]></category>
		<category><![CDATA[digital manipulation]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.tanhaa.net/?p=277</guid>
		<description><![CDATA[Well here&#8217;s an interesting movie to watch]]></description>
			<content:encoded><![CDATA[<p>Well here&#8217;s an interesting movie to watch</p>
<p><!-- start insertion by YouTube Brackets, robertbuzink.nl --><span class="youtube"><object width="425" height="350" type="application/x-shockwave-flash" data="http://www.youtube.com/v/fUjz_eiIX8k"> <param name="movie" value="http://www.youtube.com/v/fUjz_eiIX8k" /><param name="wmode" value="transparent" /></object></span><!-- end Youtube Brackets insertion --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.tanhaa.net%2Findex.php%2F2010%2F01%2F08%2Fgood-looking-burgers-whats-the-secret%2F&amp;title=Good%20Looking%20Burgers%20%26%238212%3B%20What%26%238217%3Bs%20the%20secret%3F" id="wpa2a_10"><img src="http://www.tanhaa.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.tanhaa.net/index.php/2010/01/08/good-looking-burgers-whats-the-secret/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pranav Mistry &#8211; Sixth Sense</title>
		<link>http://www.tanhaa.net/index.php/2009/12/01/pranav-mistry-sixth-sense/</link>
		<comments>http://www.tanhaa.net/index.php/2009/12/01/pranav-mistry-sixth-sense/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 17:57:04 +0000</pubDate>
		<dc:creator>tanhaa</dc:creator>
				<category><![CDATA[techno-babble]]></category>
		<category><![CDATA[pranav mistry]]></category>
		<category><![CDATA[sixth sense]]></category>
		<category><![CDATA[virtual world]]></category>

		<guid isPermaLink="false">http://www.tanhaa.net/?p=259</guid>
		<description><![CDATA[This is just awesome! This type of technology will revolutionize the world as we know. I&#8217;m sure the applications are great, but what boggles my mind is how smart this young fella is.  Watch the video and enjoy:]]></description>
			<content:encoded><![CDATA[<p>This is just awesome! This type of technology will revolutionize the world as we know. I&#8217;m sure the applications are great, but what boggles my mind is how smart this young fella is.  Watch the video and enjoy:</p>
<p><!-- start insertion by YouTube Brackets, robertbuzink.nl --><span class="youtube"><object width="425" height="350" type="application/x-shockwave-flash" data="http://www.youtube.com/v/YrtANPtnhyg"> <param name="movie" value="http://www.youtube.com/v/YrtANPtnhyg" /><param name="wmode" value="transparent" /></object></span><!-- end Youtube Brackets insertion --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.tanhaa.net%2Findex.php%2F2009%2F12%2F01%2Fpranav-mistry-sixth-sense%2F&amp;title=Pranav%20Mistry%20%26%238211%3B%20Sixth%20Sense" id="wpa2a_12"><img src="http://www.tanhaa.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.tanhaa.net/index.php/2009/12/01/pranav-mistry-sixth-sense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal Updating / Upgrading</title>
		<link>http://www.tanhaa.net/index.php/2009/10/30/drupal-updating-upgrading/</link>
		<comments>http://www.tanhaa.net/index.php/2009/10/30/drupal-updating-upgrading/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 15:34:53 +0000</pubDate>
		<dc:creator>tanhaa</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[techno-babble]]></category>

		<guid isPermaLink="false">http://www.tanhaa.net/?p=188</guid>
		<description><![CDATA[Updating or Upgrading Drupal is not an easy task.  Compared to WordPress, where the updating is simply a mouse-click away, Drupal requires you to do certain things that can take a bit of time in extremely extensive sites.  I recently had to update my Drupal installation from 6.12 to 6.14 Now this being my first [...]]]></description>
			<content:encoded><![CDATA[<p>Updating or Upgrading Drupal is not an easy task.  Compared to WordPress, where the updating is simply a mouse-click away, Drupal requires you to do certain things that can take a bit of time in extremely extensive sites.  I recently had to update my Drupal installation from 6.12 to 6.14</p>
<p>Now this being my first Drupal installation, and as much as I love this CMS, the updating process can be a pain if not following the instructions carefully.  The instructions can be found in &#8220;upgrade.txt&#8221; file located in your drupal zip file, also you can find tons of instructions online.  An excellent website <a href="http://www.learnbythedrop.com" target="_blank">learnbythedrop.com</a> can help you out a lot if you are looking for tutorials on Drupal.  Here&#8217;s the video I followed to help me update Drupal.  Posting it here so that it can get more recognition on the web!  They say you can fill an ocean, one drop at a time&#8230;.</p>
<p><!-- start insertion by YouTube Brackets, robertbuzink.nl --><span class="youtube"><object width="425" height="350" type="application/x-shockwave-flash" data="http://www.youtube.com/v/UTDa3FfXiI4"> <param name="movie" value="http://www.youtube.com/v/UTDa3FfXiI4" /><param name="wmode" value="transparent" /></object></span><!-- end Youtube Brackets insertion --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.tanhaa.net%2Findex.php%2F2009%2F10%2F30%2Fdrupal-updating-upgrading%2F&amp;title=Drupal%20Updating%20%2F%20Upgrading" id="wpa2a_14"><img src="http://www.tanhaa.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.tanhaa.net/index.php/2009/10/30/drupal-updating-upgrading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal 6 Installation issues</title>
		<link>http://www.tanhaa.net/index.php/2009/10/01/drupal-6-installation-issues/</link>
		<comments>http://www.tanhaa.net/index.php/2009/10/01/drupal-6-installation-issues/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 21:19:16 +0000</pubDate>
		<dc:creator>tanhaa</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[techno-babble]]></category>

		<guid isPermaLink="false">http://www.tanhaa.net/?p=80</guid>
		<description><![CDATA[Drupal 6 requires php directive &#8220;register_globals&#8221; to be off.  This is not always the case depending on your hosting environment or even your own requirements as Drupal may not be the only thing residing on your virtual server. There are several work arounds for the issue if you come across an error during installation asking [...]]]></description>
			<content:encoded><![CDATA[<p>Drupal 6 requires php directive &#8220;register_globals&#8221; to be off.  This is not always the case depending on your hosting environment or even your own requirements as Drupal may not be the only thing residing on your virtual server.</p>
<p>There are several work arounds for the issue if you come across an error during installation asking you to turn &#8220;register_globals&#8221; off.  It may work for you or it may not work for you, but the final one will definitely do the job.  Just to be safe, try the fixes in the order below:</p>
<p>1.  You can always add or edit the .htaccess file in your root directory with the following line:</p>
<blockquote><p><strong>php_flag register_globals off</strong></p></blockquote>
<p>This may or may not work depending on whether the apache configuration on your host allows directives to be fed through the .htaccess file.  Find out more about .htaccess files by going to <a href="http://www.freewebmasterhelp.com/tutorials/htaccess/" target="_blank">http://www.freewebmasterhelp.com/tutorials/htaccess/</a></p>
<p>2. So that didn&#8217;t work huh?  Fret not, here&#8217;s another solution.  Place a &#8220;php.ini&#8221; file in your root directory with the following line:</p>
<blockquote><p><strong>register_globals = 0</strong></p></blockquote>
<p>did that work?  Basically you are telling php to initialize with the setting for your directory.</p>
<p>3. Wait, we didn&#8217;t cover the fact that you may be running your own server! Well if you are lucky enough to have your own server and control over your php.ini file, simply change the register_globals variable to &#8216;off&#8217;  in your php.ini file.  More information can be found at the php website about how to configure your php.ini file.</p>
<p>4. You could also try adding the following line to your .htaccess file (it has been proven to work on <a href="http://www.1and1.com/?k_id=10852928" target="_blank">1&amp;1 webservers</a>):</p>
<blockquote><p><strong>AddType x-mapp-php5 .php</strong></p></blockquote>
<p>This directive simply tells the server to use php5 for .php files instead of php4 (which might be the default for several webhosts out there)</p>
<p>5.  Ok genius, nothing worked, now what? Yup, that was my case as well, nothing worked, seemed the host didn&#8217;t allow default settings to be changed.  Well there&#8217;s always the &#8220;ask your hosting provider&#8221; answer.  If you are so inclined to do so, send them an email and ask them how to turn the &#8220;register_globals&#8221; variable off for your particular site.  They might not be of much help, but you never know.  Or, (Yes!) there&#8217;s another method.  You can simply tell Drupal to ignore it when installing.  It requires you to change the install file located in <em>modules/system</em> directory called &#8220;<em><strong>system.install</strong></em>&#8220;.  Go ahead and find the line:</p>
<blockquote><p><span lang="EN"><span lang="EN">if (!empty($register_globals) &amp;&amp; strtolower($register_globals) <span style="color: #dd0000;">!=</span> ‘off’)</span></span></p></blockquote>
<p><span lang="EN"><span lang="EN">and change the &#8220;<em><strong>!=</strong></em>&#8221; to &#8220;<em><strong>==</strong></em>&#8221; .   The line should now read:</span></span></p>
<blockquote><p><span lang="EN"><span lang="EN"><br />
</span></span><span lang="EN"><span lang="EN">if (!empty($register_globals) &amp;&amp; strtolower($register_globals) <span style="color: #00dd00;">==</span> ‘off’) </span></span></p></blockquote>
<p><span lang="EN"><span lang="EN"> </span></span><span lang="EN"><span lang="EN">Curious to know what you are doing here?  Well you are simply telling the system.install file change the &#8220;not equal to&#8221; to &#8220;equal to&#8221;.   Basically, you fooled the system into treating a response which would mean that &#8220;register_globals&#8221; is &#8220;on&#8221; into treating it as &#8220;register_globals&#8221; is &#8220;off&#8221;.  You will not get any more errors when doing the install now. </span></span></p>
<p><span lang="EN"><span lang="EN">Now, remember, it is unsafe to have register_globals on.  Your system is not fully secure if that directive is on.  So if you are willing to take the risk, you can implement the solutions provided in this post.<br />
</span></span></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.tanhaa.net%2Findex.php%2F2009%2F10%2F01%2Fdrupal-6-installation-issues%2F&amp;title=Drupal%206%20Installation%20issues" id="wpa2a_16"><img src="http://www.tanhaa.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.tanhaa.net/index.php/2009/10/01/drupal-6-installation-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source CMS Comparitive Analysis</title>
		<link>http://www.tanhaa.net/index.php/2009/09/15/open-source-cms-compartive-analysis/</link>
		<comments>http://www.tanhaa.net/index.php/2009/09/15/open-source-cms-compartive-analysis/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 17:48:33 +0000</pubDate>
		<dc:creator>tanhaa</dc:creator>
				<category><![CDATA[techno-babble]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Publishing]]></category>

		<guid isPermaLink="false">http://www.tanhaa.net/?p=71</guid>
		<description><![CDATA[Are you looking for an open source CMS? There are way too many systems out there and everybody has its own choice, providing their own pros and cons about the various systems out there.  I came across a nice report which I felt like sharing with others who may be visiting these open source demo [...]]]></description>
			<content:encoded><![CDATA[<p>Are you looking for an open source CMS? There are way too many systems out there and everybody has its own choice, providing their own pros and cons about the various systems out there.  I came across a nice report which I felt like sharing with others who may be visiting these open source demo sites with the same dilemma as myself, which one is best?</p>
<p>Link to the report:<br />
<a href="http://www.waterandstone.com/downloads/2008OpenSourceCMSMarketSurvey.pdf">http://www.waterandstone.com/downloads/2008OpenSourceCMSMarketSurvey.pdf</a></p>
<p>While you are at it, couple of other sites that may be of interest to you are:</p>
<p><a href="http://www.opensourcecms.com/">http://www.opensourcecms.com/</a><br />
<a title="CMS Matrix" href="http://www.oscom.org/matrix/index.html" target="_blank"> http://www.oscom.org/matrix/index.html</a></p>
<p>If anybody reading this has any thoughts on the open source CMS systems, please share.  I personally have liked playing with Drupal a lot.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.tanhaa.net%2Findex.php%2F2009%2F09%2F15%2Fopen-source-cms-compartive-analysis%2F&amp;title=Open%20Source%20CMS%20Comparitive%20Analysis" id="wpa2a_18"><img src="http://www.tanhaa.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.tanhaa.net/index.php/2009/09/15/open-source-cms-compartive-analysis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql &#8211; Appending data</title>
		<link>http://www.tanhaa.net/index.php/2007/07/10/mysql-appending-data/</link>
		<comments>http://www.tanhaa.net/index.php/2007/07/10/mysql-appending-data/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 20:40:30 +0000</pubDate>
		<dc:creator>tanhaa</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[techno-babble]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.tanhaa.net/index.php/2007/07/10/mysql-appending-data/</guid>
		<description><![CDATA[Problem: Appending data from one table to another table where duplicate might exist. Solution: A simple &#8220;Insert into table2 select * from table1&#8243; query will give errors saying &#8220;duplicate records exist&#8221;, to go around it, the following query should do the job: INSERT INTO MASTERTABLE SELECT * FROM NEWTABLE WHERE NEWTABLE.`UNIQUEID` NOT IN (SELECT `UNIQUEID` [...]]]></description>
			<content:encoded><![CDATA[<p>Problem:<br />
Appending data from one table to another table where duplicate might exist.<br />
Solution:<br />
A simple &#8220;Insert into table2 select * from table1&#8243; query will give errors saying &#8220;duplicate records exist&#8221;, to go around it, the following query should do the job:</p>
<p><span class="syntax_alpha syntax_alpha_reservedWord" /><br />
<span class="syntax"><span class="syntax_alpha syntax_alpha_reservedWord">INSERT</span>  <span class="syntax_alpha syntax_alpha_reservedWord">INTO</span> <span class="syntax_alpha syntax_alpha_identifier">MASTERTABLE</span><br />
<span class="syntax_alpha syntax_alpha_reservedWord">SELECT</span>  <span class="syntax_punct">*</span><br />
<span class="syntax_alpha syntax_alpha_reservedWord">FROM</span> <span class="syntax_alpha syntax_alpha_identifier">NEWTABLE</span><br />
<span class="syntax_alpha syntax_alpha_reservedWord">WHERE</span> <span class="syntax_alpha syntax_alpha_identifier">NEWTABLE</span><span class="syntax_punct syntax_punct_qualifier">.</span><span class="syntax_quote syntax_quote_backtick">`UNIQUEID`</span>  <span class="syntax_alpha syntax_alpha_reservedWord">NOT</span><br />
<span class="syntax_alpha syntax_alpha_reservedWord">IN</span> <span class="syntax_punct syntax_punct_bracket_open_round">(</span></span><span class="syntax_alpha syntax_alpha_reservedWord">SELECT</span>  <span class="syntax_quote syntax_quote_backtick">`UNIQUEID`</span> <span class="syntax"><span class="syntax_punct syntax_punct_bracket_open_round"></span></p>
<div class="syntax_indent1"><span class="syntax_alpha syntax_alpha_reservedWord">FROM</span> <span class="syntax_alpha syntax_alpha_identifier">MASTERTABLE</span></div>
<p><span class="syntax_punct syntax_punct_bracket_close_round">)</span></span></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.tanhaa.net%2Findex.php%2F2007%2F07%2F10%2Fmysql-appending-data%2F&amp;title=Mysql%20%26%238211%3B%20Appending%20data" id="wpa2a_20"><img src="http://www.tanhaa.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.tanhaa.net/index.php/2007/07/10/mysql-appending-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

