<?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>Tech Tidbits</title>
	<atom:link href="http://www.joesuttle.com/techblog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.joesuttle.com/techblog</link>
	<description>Joes Tech Tidbits</description>
	<lastBuildDate>Mon, 06 Sep 2010 17:54:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dead Admin &#8211; Missing Modules</title>
		<link>http://www.joesuttle.com/techblog/?p=128</link>
		<comments>http://www.joesuttle.com/techblog/?p=128#comments</comments>
		<pubDate>Mon, 06 Sep 2010 17:51:23 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[CMS Made Simple]]></category>
		<category><![CDATA[module missing]]></category>

		<guid isPermaLink="false">http://www.joesuttle.com/techblog/?p=128</guid>
		<description><![CDATA[There it was, big as life &#8211; &#8220;CGExtensions Module missing &#8211; Install Now&#8221;. Nice message, but no way under the sun (or moon) to accomplish that task, because in admin, I suddenly lost the ability to install modules. Worse still was the fact that the Admin Page defaulted to the &#8220;non-GUI&#8221; and trying to find [...]]]></description>
			<content:encoded><![CDATA[<p>There it was, big as life &#8211; &#8220;CGExtensions Module missing &#8211; Install Now&#8221;. Nice message, but no way under the sun (or moon) to accomplish that task, because in admin, I suddenly lost the ability to install modules. Worse still was the fact that the Admin Page defaulted to the &#8220;non-GUI&#8221; and trying to find the right links on the page is difficult because of the CSS.</p>
<p>First thing to do was (since I had not done this before installing the &#8220;CG&#8221; stuff) was to backup the site directory (all 53 meg) and the database. BTW, restoring the old database (one month old) did not get me back to what that was. Somewhere, the module info stayed corrupted, so the restore database was not going to work. That means that some data was written to the site directory somewhere.</p>
<p>After several tries to install/add &#8220;CGExtensions&#8221; and &#8220;CGEcommerce&#8221;, I figured I&#8217;d try an upgrade to 1.8.2 from 1.8.1, rather than a full reinstall (which some had suggested). Got the 1.8.2 package, unzipped it and copied over all the files just as if an upgrade was going to happen.</p>
<p>That did not work, because the upgrade choked on &#8220;Module Missing&#8221; for the two culprits! Grrr!!!</p>
<p>Finally solved it, by installing the modules on another site and copying the modules to the offended directory, and then the upgrade worked.</p>
<p>OK, so probably should have tried the copy over trick before the upgrade, but nonetheless, that&#8217;s one less site that will have to be upgraded this week</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesuttle.com/techblog/?feed=rss2&amp;p=128</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes Compilation Mess Fixed!</title>
		<link>http://www.joesuttle.com/techblog/?p=121</link>
		<comments>http://www.joesuttle.com/techblog/?p=121#comments</comments>
		<pubDate>Fri, 30 Jul 2010 17:10:58 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://www.joesuttle.com/techblog/?p=121</guid>
		<description><![CDATA[Got tired of all those individual &#8220;Cover Art&#8221; for every track. Knew there had to be a fix,so searched around. Seems that for some reason, when you import an album from CD, iTunes does not group the tracks, but puts them in very strange places. Not only that, each song has to have it&#8217;s own [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_123" class="wp-caption alignleft" style="width: 160px"><a href="http://www.joesuttle.com/techblog/wp-content/uploads/itunesalbum001.jpg"><img class="size-thumbnail wp-image-123 " title="itunesalbum001" src="http://www.joesuttle.com/techblog/wp-content/uploads/itunesalbum001-150x150.jpg" alt="multi-images" width="150" height="150" /></a><p class="wp-caption-text">3 pictures for this album</p></div>
<p>Got tired of all those individual &#8220;Cover Art&#8221; for every track. Knew there had to be a fix,so searched around. Seems that for some reason, when you import an album from CD, iTunes does not group the tracks, but puts them in very strange places. Not only that, each song has to have it&#8217;s own art. While it is true that you can select all the pieces in an album and do a  &#8220;multi-item&#8221; action and apply one art, you still end up with multiple album covers.<a href="http://www.joesuttle.com/techblog/wp-content/uploads/itunesalbum002.jpg"><img class="alignright size-thumbnail wp-image-124" title="itunesalbum002" src="http://www.joesuttle.com/techblog/wp-content/uploads/itunesalbum002-150x150.jpg" alt="multi-item window" width="150" height="150" /></a></p>
<p><strong>The Fix</strong> &#8211; select all the pieces in the album (click on the first item, and either ctrl-click each additional or shift-click). Then right-click and select &#8220;Get Info&#8221;, which will take you to the &#8220;Multiple Item Information&#8221; window. Simply check &#8220;Part of Compilation&#8221; and change the dropdown to &#8220;Yes&#8221;.</p>
<p>That&#8217;s it, and now you will have one piece of artwork for all the selections! Much nicer looking.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesuttle.com/techblog/?feed=rss2&amp;p=121</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow Zen Cart &#8211; No More!</title>
		<link>http://www.joesuttle.com/techblog/?p=118</link>
		<comments>http://www.joesuttle.com/techblog/?p=118#comments</comments>
		<pubDate>Fri, 30 Jul 2010 02:37:44 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zen Cart]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[slowdown]]></category>

		<guid isPermaLink="false">http://www.joesuttle.com/techblog/?p=118</guid>
		<description><![CDATA[Tried everything that I could find to patch up Zen Cart and make it put up pages faster, but none of that worked. Even did the phpMyAdmin thing and tried to clean up the datafiles. phpMyAdmin gave me the sad story that there were  things not enabled in configuration, so that did not work. [...]]]></description>
			<content:encoded><![CDATA[<p>Tried everything that I could find to patch up Zen Cart and make it put up pages faster, but none of that worked. Even did the phpMyAdmin thing and tried to clean up the datafiles. phpMyAdmin gave me the sad story that there were  things not enabled in configuration, so that did not work. Logged on to MySQL with HeidiSQL (kind of like phpMyAdmin) and ran a couple of tests on the DB, but nothing.<br />
I had run across an article about &#8220;<a href="http://jayant7k.blogspon.com/2007/07/mysql-query-cache.html">mysql query cache</a>&#8220;, and the difference having cache enabled when there are repeated requests for the same data (the same &#8220;select&#8221; statement).</p>
<p>After trying to get everything fixed, I did a search for &#8220;mysql query cache&#8221; with Google, and ended up at a MySQL developers page where they explained everything in elegant form. <a title="cache_page" href="http://dev.mysql.com/tech-resources/articles/mysql-query-cache.html" target="_blank">The MySQL page</a> even explained how you could enable cache for a sql statement, without having to shutdown MySQL. I followed the instructions, and now pages that used to take 20-50 seconds to load pop up in 3-5 seconds.</p>
<p>Now comes the fun &#8211; let&#8217;s see if any other pages load faster!</p>
<p>Yes! Other pages (that depend on MySQL) definitely load faster.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesuttle.com/techblog/?feed=rss2&amp;p=118</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CMSMS Search Engine Friendly URLs</title>
		<link>http://www.joesuttle.com/techblog/?p=114</link>
		<comments>http://www.joesuttle.com/techblog/?p=114#comments</comments>
		<pubDate>Sat, 10 Jul 2010 01:55:20 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[CMS Made Simple]]></category>
		<category><![CDATA[Friendly URLs]]></category>

		<guid isPermaLink="false">http://www.joesuttle.com/techblog/?p=114</guid>
		<description><![CDATA[Remember those long and ugly URLs that show up sometime when you click on a link &#8211; like
http://yourfamousdomain.com/index.php?page=new_products
The URL shows the question mark and all the code that has to follow, especially when you may have multiple layers or very long page names. That can be solved by turning on &#8220;mod_rewrite&#8221; in config.php in your [...]]]></description>
			<content:encoded><![CDATA[<p>Remember those long and ugly URLs that show up sometime when you click on a link &#8211; like</p>
<p><code>http://yourfamousdomain.com/index.php?page=new_products</code><br />
The URL shows the question mark and all the code that has to follow, especially when you may have multiple layers or very long page names. That can be solved by turning on &#8220;mod_rewrite&#8221; in config.php in your CMSMS root directory. It also involves copying the htaccess.txt file from the CMS &#8220;doc&#8221; folder to the CMS root directory. Using &#8220;pretty URLs&#8221; will leave this in your browser location bar&#8230;<br />
<code>http://www.yourfamousdomain.com/new_products/</code></p>
<p>Let&#8217;s begin by opening &#8220;config.php&#8221; and making our changes. In the &#8220;URL Settings&#8221; section, find the following line<br />
<code>$config['url_rewriting'] = 'none';</code><br />
and change &#8220;none&#8221; to &#8220;mod_rewrite&#8221;<br />
Then where <code>$config['page_extension'] = '/';</code> is, change the <code>''</code> to <code>'/'</code>. This will add a forward slash at the end of your URL. Save and close your editor.</p>
<p>Now, copy /Doc/htaccess.txt to your root directory and rename the file &#8220;.htaccess&#8221; Note the DOT before htaccess. It has to be that way for Apache to find it. It is no longer htaccess.txt! In .htaccess, make sure that if you have installed CMS in a subdirectory, to find<br />
<code>RewriteBase /</code></p>
<p>and change the / to something like this:<br />
<code>RewriteBase /mycmsdirectory</code><br />
Do not follow the directory name with a forward slash &#8211; leave it open!</p>
<p>Make sure that in your Apache &#8220;httpd-vhosts.conf&#8221; that the entry for your DocumentRoot looks like this:</p>
<p><code> &lt;Directory "/users/myfabulousdomain/htdocs"&gt;</code><br />
<code> Options FollowSymLinks</code><br />
<code> AllowOverride All</code><br />
<code> Order deny,allow</code><br />
<code> allow from all</code><br />
<code> Satisfy all</code><br />
<code>&lt;/Directory&gt;</code></p>
<p>the &#8220;FollowSymLinks&#8221; is very important for &#8220;Pretty URLs&#8221;, as is &#8220;allow from all&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesuttle.com/techblog/?feed=rss2&amp;p=114</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CMSMS Error in Theme &#8220;Freshmedia&#8221;</title>
		<link>http://www.joesuttle.com/techblog/?p=110</link>
		<comments>http://www.joesuttle.com/techblog/?p=110#comments</comments>
		<pubDate>Fri, 09 Jul 2010 23:04:58 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[CMS Made Simple]]></category>
		<category><![CDATA[CMSMS error]]></category>
		<category><![CDATA[Freshmedia error]]></category>

		<guid isPermaLink="false">http://www.joesuttle.com/techblog/?p=110</guid>
		<description><![CDATA[Even though the theme had been imported properly, I kept getting an error &#8220;string(82) &#8220;Smarty error: unable to read resource:  &#8220;module_db_tpl:MenuManager;Freshmedia Main&#8221;". Problem turned out to be easily remedied. Seems that what was in the import file gave a name of &#8220;Freshmedia : Freshmedia Main&#8221;. The answer was to go in to Menu Manager [...]]]></description>
			<content:encoded><![CDATA[<p>Even though the theme had been imported properly, I kept getting an error &#8220;string(82) &#8220;Smarty error: unable to read resource:  &#8220;module_db_tpl:MenuManager;Freshmedia Main&#8221;". Problem turned out to be easily remedied. Seems that what was in the import file gave a name of &#8220;Freshmedia : Freshmedia Main&#8221;. The answer was to go in to <em>Menu Manager</em> and delete &#8220;Freshmedia : &#8221; (note the spaces before and after the colon!) Had to do this for &#8220;Main&#8221; and &#8220;Sub&#8221;, then the page works as it should. You can see the whole thing <a title="CMSMS Wiki" href="http://themes.cmsmadesimple.org/index.php?mact=Uploads,cntnt01,default,0&amp;cntnt01category=Full%20Themes&amp;cntnt01sortorder=date_desc&amp;cntnt01mode=single&amp;cntnt01count=10&amp;cntnt01detailpage=theme-detail&amp;cntnt01template=summary&amp;cntnt01detailtemplate=themes-detail&amp;cntnt01upload_id=182&amp;cntnt01returnid=63" target="_blank"><strong>here</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesuttle.com/techblog/?feed=rss2&amp;p=110</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CMSMS Additional Content Blocks</title>
		<link>http://www.joesuttle.com/techblog/?p=105</link>
		<comments>http://www.joesuttle.com/techblog/?p=105#comments</comments>
		<pubDate>Fri, 09 Jul 2010 16:15:45 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[CMS Made Simple]]></category>

		<guid isPermaLink="false">http://www.joesuttle.com/techblog/?p=105</guid>
		<description><![CDATA[Found this bit of information for adding additional content blocks. When you add this to your template, it will create an additional window when you edit a page, and the copy will be placed where you happen to have it in the template.
Example Lines From Template:
&#60;h3&#62;Commentary&#60;/h3&#62;
{content block="sb_content_block" label="Sidebar Content Block"}
So, it is possible to have [...]]]></description>
			<content:encoded><![CDATA[<p>Found this bit of information for adding additional content blocks. When you add this to your template, it will create an additional window when you edit a page, and the copy will be placed where you happen to have it in the template.</p>
<p>Example Lines From Template:</p>
<p><code>&lt;h3&gt;Commentary&lt;/h3&gt;</code></p>
<p><code>{content block="sb_content_block" label="Sidebar Content Block"}</code><br />
So, it is possible to have additional content blocks on any page, you just have to define them. The stylesheet CSS for &#8220;content&#8221; will still apply. In essence, you have created a &#8220;block&#8221; which is now saved in the database as whatever you happened to name it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesuttle.com/techblog/?feed=rss2&amp;p=105</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot map GET /* HTTP/1.1 to file</title>
		<link>http://www.joesuttle.com/techblog/?p=100</link>
		<comments>http://www.joesuttle.com/techblog/?p=100#comments</comments>
		<pubDate>Wed, 26 May 2010 01:26:25 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.joesuttle.com/techblog/?p=100</guid>
		<description><![CDATA[Started getting this error on my Apache server after updating some css/php pages with some errant program. Still have not found which program was causing the error, but big as life, this was in the code for a multitude of pages&#8230;
&#60;code&#62;&#60;link href=&#8221;*&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221;&#62;&#60;/code&#62;
I was looking everywhere for what could be causing the error. Even [...]]]></description>
			<content:encoded><![CDATA[<p>Started getting this error on my Apache server after updating some css/php pages with some errant program. Still have not found which program was causing the error, but big as life, this was in the code for a multitude of pages&#8230;</p>
<p>&lt;code&gt;&lt;link href=&#8221;*&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221;&gt;&lt;/code&gt;</p>
<p>I was looking everywhere for what could be causing the error. Even tried moving html and php pages over from other sites that were not showing the error in the Apache error log. They seemed to work, so then the fact that it kept referring to &#8220;can&#8217;t map <em>something</em> to a file&#8221; got me started looking line by line for all file references.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesuttle.com/techblog/?feed=rss2&amp;p=100</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>warpedbox.com et al Gets New Server!</title>
		<link>http://www.joesuttle.com/techblog/?p=93</link>
		<comments>http://www.joesuttle.com/techblog/?p=93#comments</comments>
		<pubDate>Fri, 26 Mar 2010 00:48:15 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[OS/2 & eCS]]></category>

		<guid isPermaLink="false">http://www.joesuttle.com/techblog/?p=93</guid>
		<description><![CDATA[Seems that the upgrade for the server has been on my list for at least a year. Finally got around to this as a heavy load for web service is about to arrive again. After finding a new motherboard for my desktop, which let me move to a quad processor machine running Windows 7, my [...]]]></description>
			<content:encoded><![CDATA[<p>Seems that the upgrade for the server has been on my list for at least a year. Finally got around to this as a heavy load for web service is about to arrive again. After finding a new motherboard for my desktop, which let me move to a quad processor machine running Windows 7, my next stop was to replace the power hungry server that was running web and mail services for several domains.</p>
<p>My initial plan was to take the old motherboard from my desktop and use that, but the server software would not install &#8211; period! Even tried all the tweaks that the OS/2 User Group could come up with. That was going to be a 2.4Ghz machine with 1.5G of memory. Alas, that was not going to work.</p>
<p>Tried an older motherboard that we had used in my classroom, but just could not get that speed demon out of my mind. Finally, at the nudging of my OS/2 buddies, decided to run everything on a variant of OS/2 called &#8220;eComstation&#8221; or &#8220;eCS&#8221; on that fast motherboard. The software was sitting here, since I changed my desktop from eCS to Windows XP, so it wasn&#8217;t like having to buy some software. eCS has all the same services, except for the actual &#8220;server&#8221; software, but would run all the applications needed for the web and mail services.</p>
<p>Sure glad I decided to get some mind-melding from the OS/2 community, because I was on my way to a box that probably would have been slower than what it replaced.</p>
<p>After the install, updates and necessary testing, &#8220;warp2&#8243; is on line serving web pages and sending and receiving emails. Hopefully the electricity bill will show an almost immediate drop. </p>
<p>Welcome to <strong><em>warp2!</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesuttle.com/techblog/?feed=rss2&amp;p=93</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving Weasel to new server</title>
		<link>http://www.joesuttle.com/techblog/?p=89</link>
		<comments>http://www.joesuttle.com/techblog/?p=89#comments</comments>
		<pubDate>Fri, 26 Mar 2010 00:20:53 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Weasel]]></category>

		<guid isPermaLink="false">http://www.joesuttle.com/techblog/?p=89</guid>
		<description><![CDATA[Copying everything over almost works!
Weasel by Peter Moylan works and works well in the OS/2 world, but after &#8216;xcopying&#8217; everything from the old server to the new would not work. Changed the router to point all traffic to the new server, and incoming mail worked like a charm. The same could not be said for [...]]]></description>
			<content:encoded><![CDATA[<p>Copying everything over <strong>almost</strong> works!</p>
<p><a href="http://www.pmoylan.org/pages/os2/weasel.html" target="_blank">Weasel</a> by Peter Moylan works and works well in the OS/2 world, but after &#8216;xcopying&#8217; everything from the old server to the new would not work. Changed the router to point all traffic to the new server, and incoming mail worked like a charm. The same could not be said for retrieving mail.</p>
<p>Got down to doing the telnet thing [telnet xxx.yyy.zzz.aaa 110] and attempting a login to see if there was any mail. It failed every time, and it did not matter what account or domain I was using. </p>
<p>Found It!</p>
<p>The answer is that you have to allow the local address(es) (after all, I was attempting to retrieve email from a local machine) that Weasel will talk to. Now that I have this resolved, time to let it run out of the rack for a day, then BAM! and shutdown the old energy hog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesuttle.com/techblog/?feed=rss2&amp;p=89</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MPTS Won&#8217;t Start &#8211; Locked Files?</title>
		<link>http://www.joesuttle.com/techblog/?p=83</link>
		<comments>http://www.joesuttle.com/techblog/?p=83#comments</comments>
		<pubDate>Thu, 18 Mar 2010 04:05:10 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[OS/2 & eCS]]></category>
		<category><![CDATA[MPTS]]></category>

		<guid isPermaLink="false">http://www.joesuttle.com/techblog/?p=83</guid>
		<description><![CDATA[Found this note in the &#8220;Readme&#8221; for MPTS&#8230;
Occasionally, the MPTS configuration utility won&#8217;t let you reconfigure (open MPTS) due to Locked Files.  
The following message will appear:
      You have re-installed MPTS.  Locked files will not allow you to start  MPTS.
You must exit MPTS, shutdown, and restart your [...]]]></description>
			<content:encoded><![CDATA[<p>Found this note in the &#8220;Readme&#8221; for MPTS&#8230;<br />
Occasionally, the MPTS configuration utility won&#8217;t let you reconfigure (open MPTS) due to Locked Files.  </p>
<p>The following message will appear:</p>
<blockquote><p>      You have re-installed MPTS.  Locked files will not allow you to start  MPTS.<br />
You must exit MPTS, shutdown, and restart your workstation before you  can start MPTS.
</p></blockquote>
<p> Chances are, that if you got the message, and have not re-installed MPTS, then what you have to do is rename or delete the file IBMLANLK.LST, found in the \OS2\INSTALL directory on the boot drive (I prefer the rename option, which would let me get back to the original condition). Once you have renamed the file, you will be able to start MPTS.  DON&#8217;T delete this file if you have re-installed MPTS and haven&#8217;t gotten around to doing a shutdown and boot on the same boot drive.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesuttle.com/techblog/?feed=rss2&amp;p=83</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
