<?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>Pleasanton Web Design &#187; open source</title>
	<atom:link href="http://pleasantonwebdesignblog.com/category/open-source/feed" rel="self" type="application/rss+xml" />
	<link>http://pleasantonwebdesignblog.com</link>
	<description>Information on Web design, technology, and culture from my vantage point here in Pleasanton, California.</description>
	<lastBuildDate>Fri, 04 May 2012 18:22:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>OsCommerce Category Image Problem: &#8216;IMAGE DOES NOT EXIST&#8217;</title>
		<link>http://pleasantonwebdesignblog.com/2008/07/oscommerce-category-image-problem-image-does-not-exist.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oscommerce-category-image-problem-image-does-not-exist</link>
		<comments>http://pleasantonwebdesignblog.com/2008/07/oscommerce-category-image-problem-image-does-not-exist.html#comments</comments>
		<pubDate>Thu, 24 Jul 2008 03:40:00 +0000</pubDate>
		<dc:creator>Troy Philis</dc:creator>
				<category><![CDATA[open source]]></category>
		<category><![CDATA[oscommerce]]></category>

		<guid isPermaLink="false">http://pleasantonwebdesign.tpdevspace.com/?p=157</guid>
		<description><![CDATA[Here is the solution to a minor, but annoying problem I was having with some installations of OsCommerce. When saving an edit for a category, which already had an image file in the database, the image association would be lost and the error &#8216;IMAGE DOES NOT EXIST&#8217; would be displayed. The workaround was to use [...]]]></description>
			<content:encoded><![CDATA[<div class="none"><div class="g-plusone" data-href="http://pleasantonwebdesignblog.com/2008/07/oscommerce-category-image-problem-image-does-not-exist.html" size="small" count="true"></div></div><p>Here is the solution to a minor, but annoying problem I was having with some installations of OsCommerce. When saving an edit for a category, which already had an image file in the database, the image association would be lost and the error &#8216;IMAGE DOES NOT EXIST&#8217; would be displayed.  The workaround was to use the browse field to populate the image field each time you edited a record.</p>
<p>I had searched for the solution a number of times, but came up dry. Recently, however, when researching a contribution that added a text description for a category, I found the solution in the readme file (not available to search engines):</p>
<blockquote><p>CHANGES TO admin/categories.php</p>
<p>CAREFUL: These are not trivial changes.  There is a lot of code here.</p>
<p>1) Locate the following line (approximately  line 80) (image update bug repair provided in the bugs section on  oscommerce.com):<br />if ($categories_image = new upload(&#8216;categories_image&#8217;,  DIR_FS_CATALOG_IMAGES)) {<br />tep_db_query(&#8220;update &#8221; . TABLE_CATEGORIES . &#8221; set  categories_image = &#8216;&#8221; . tep_db_input($categories_image->filename) . &#8220;&#8216; where  categories_id = &#8216;&#8221; . (int)$categories_id . &#8220;&#8216;&#8221;);<br />}</p>
<p>REPLACE those 3  lines with the following 5 lines:<br />$categories_image = new  upload(&#8216;categories_image&#8217;);<br />$categories_image->set_destination(DIR_FS_CATALOG_IMAGES);<br />if  ($categories_image->parse() &amp;&amp; $categories_image->save())  {<br />tep_db_query(&#8220;update &#8221; . TABLE_CATEGORIES . &#8221; set categories_image = &#8216;&#8221; .  tep_db_input($categories_image->filename) . &#8220;&#8216; where categories_id = &#8216;&#8221; .  (int)$categories_id . &#8220;&#8216;&#8221;);<br />}</p></blockquote>
<p><!--QuoteEnd-->The comment says &#8220;image update bug repair provided in the bugs section on  oscommerce.com,&#8221; which I was never able to find.
<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-8315023803230274";
/* 468x60, created 1/7/09 */
google_ad_slot = "2170958206";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
]]></content:encoded>
			<wfw:commentRss>http://pleasantonwebdesignblog.com/2008/07/oscommerce-category-image-problem-image-does-not-exist.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Elgg: Open Source Social Networking</title>
		<link>http://pleasantonwebdesignblog.com/2007/08/elgg-open-source-social-networking.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=elgg-open-source-social-networking</link>
		<comments>http://pleasantonwebdesignblog.com/2007/08/elgg-open-source-social-networking.html#comments</comments>
		<pubDate>Thu, 02 Aug 2007 03:09:00 +0000</pubDate>
		<dc:creator>Troy Philis</dc:creator>
				<category><![CDATA[elgg]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[social networking]]></category>

		<guid isPermaLink="false">http://pleasantonwebdesign.tpdevspace.com/?p=126</guid>
		<description><![CDATA[The best open source social networking script I&#8217;ve found by far is Elgg. Developed as sort of a &#8220;myspace for academics,&#8221; Elgg is a powerful social networking solution for any organization. Reasonably easy to install and customize, I&#8217;d recommend Elgg for any company or organization that wants to get up and running quickly and inexpensively. [...]]]></description>
			<content:encoded><![CDATA[<div class="none"><div class="g-plusone" data-href="http://pleasantonwebdesignblog.com/2007/08/elgg-open-source-social-networking.html" size="small" count="true"></div></div><p>The best open source social networking script I&#8217;ve found by far is Elgg. Developed as sort of a &#8220;myspace for academics,&#8221; Elgg is a powerful social networking solution for any organization. Reasonably easy to install and customize, I&#8217;d recommend Elgg for any company or organization that wants to get up and running quickly and inexpensively.</p>
<p>When I say &#8220;reasonably easy to install&#8221; I mean, not as easy to install as open source web applications like Drupal, Joomla or Oscommerce, but with a little bit of server setting knowledge, and root access to your server, you should have few problems. Installation on a shared server could be a different story. Here are some posts describing some problems, solutions, and addtional info:<br /><a href="http://www.pleasantonwebdesignblog.com/2008/08/adding-google-analytics-to-elgg.html">Adding Google Analytics to an ELGG Installation</a><br /><a href="http://www.pleasantonwebdesignblog.com/2007/07/elgg-social-networking-on-shared.html">ELGG Social Networking on Shared Hosting</a></p>
<p>I have a demo up here at<a href="http://www.fanclubhelper.com/"> http://www.fanclubhelper.com</a>. Feel free to join, set up a community, customize your homepage, and generally test it out.</p>
<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-8315023803230274";
/* 468x60, created 1/7/09 */
google_ad_slot = "2170958206";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
]]></content:encoded>
			<wfw:commentRss>http://pleasantonwebdesignblog.com/2007/08/elgg-open-source-social-networking.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Elgg Social Networking On Shared Hosting</title>
		<link>http://pleasantonwebdesignblog.com/2007/07/elgg-social-networking-on-shared-hosting.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=elgg-social-networking-on-shared-hosting</link>
		<comments>http://pleasantonwebdesignblog.com/2007/07/elgg-social-networking-on-shared-hosting.html#comments</comments>
		<pubDate>Sat, 28 Jul 2007 19:18:00 +0000</pubDate>
		<dc:creator>Troy Philis</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[500 server error]]></category>
		<category><![CDATA[elgg]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[social networking]]></category>

		<guid isPermaLink="false">http://pleasantonwebdesign.tpdevspace.com/?p=122</guid>
		<description><![CDATA[I&#8217;m currently testing out some open source social networking web applications that compare to Myspace. The most promising at the moment seems to be Elgg (don&#8217;t ask me what it means). AroundMe looks good too, but I read a comment on their blog that it wasn&#8217;t quite ready yet. Elgg is a little more difficult [...]]]></description>
			<content:encoded><![CDATA[<div class="none"><div class="g-plusone" data-href="http://pleasantonwebdesignblog.com/2007/07/elgg-social-networking-on-shared-hosting.html" size="small" count="true"></div></div><p>I&#8217;m currently testing out some open source social networking web applications that compare to Myspace. The most promising at the moment seems to be <a href="http://www.elgg.net/">Elgg</a> (don&#8217;t ask me what it means). AroundMe looks good too, but I read a comment on their blog that it wasn&#8217;t quite ready yet.</p>
<p>Elgg is a little more difficult to install than other open source applications out there. That is, if you are installing it on a shared hosting account. There are two obstacles you will need to overcome. First of all .htaccess is probably not enabled for your account, and when the Elgg .htaccess starts trying to do things, your server will choke with a 500 Server Error. So you need to have your hosting support person enable .htaccess for the directories you will install Elgg in.
<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-8315023803230274";
/* 468x60, created 1/7/09 */
google_ad_slot = "2170958206";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
<p>That&#8217;s not all though. My host (hostmysite.com) didn&#8217;t like the following in the Elgg .htaccess file:</p>
<p>Options +FollowSymLinks<br />RewriteEngine on</p>
<p>These are mod_rewrite directives. They had me comment them out and added the statements to their own special configuration file. My current .htaccess just has the Rewrite rules listed.</p>
<p>I found a lot of posts from people looking for installation support for this issue, and what a lot of the well intentioned developers trying to help didn&#8217;t understand (or didn&#8217;t communicate) is that these seemingly simple settings can become complex on shared hosts. For security, processes can be disabled, or configuration can be more complex than if you own your own box.
<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-8315023803230274";
/* 468x60, created 1/7/09 */
google_ad_slot = "2170958206";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
<p>Hopefully this helps anyone having  500 server errors when installing Elgg on a shared host.</p>
<p>Check out my Elgg installation at <a href="http://www.fanclubhelper.com">Fan Club Helper</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pleasantonwebdesignblog.com/2007/07/elgg-social-networking-on-shared-hosting.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

