<?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 Blog &#187; E-commerce</title>
	<atom:link href="http://informationideas.com/news/category/e-commerce/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Tue, 06 Dec 2011 06:39:43 +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>zen cart Warning: session_start() No such file or directory (2) in /dir/public_html/includes/functions/sessions.php on line 102</title>
		<link>http://informationideas.com/news/2008/02/07/zen-cart-warning-session_start-no-such-file-or-directory-2-in-dirpublic_htmlincludesfunctionssessionsphp-on-line-102/</link>
		<comments>http://informationideas.com/news/2008/02/07/zen-cart-warning-session_start-no-such-file-or-directory-2-in-dirpublic_htmlincludesfunctionssessionsphp-on-line-102/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 19:21:58 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[E-commerce]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[zen cart]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2008/02/07/zen-cart-warning-session_start-no-such-file-or-directory-2-in-dirpublic_htmlincludesfunctionssessionsphp-on-line-102/</guid>
		<description><![CDATA[The error comes up when trying to use file based session storage instead of database. Apparently, the configuration for what directory to store the session is not in the configuration files but in the database table "configuration". If you upgrade your php to version 5.2.1, the database session storage breaks. Therefore, I had to switch [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>The error comes up when trying to use file based session storage instead of database.  Apparently, the configuration for what directory to store the session is not in the configuration files but in the database table "configuration".</p>
<p>If you upgrade your php to version 5.2.1, the database session storage breaks.  Therefore, I had to switch to file system based storage.  But the catch was that I no longer could log into admin as the session could not start.  The configuration.php files did not have this constant.</p>
<p>The way to fix this is to log into your database and update the session directory record.</p>
<p>"UPDATE configuration SET configuration_value='/your/new/direcotory/' WHERE configuration_title='session directory';"</p>
<p>System Specs:<br />
php.5.2.1<br />
zencart 1.3.5<br />
apache 1.3.37<br />
MySQL 5.0.45</p>
<div class="shr-publisher-41"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2008/02/07/zen-cart-warning-session_start-no-such-file-or-directory-2-in-dirpublic_htmlincludesfunctionssessionsphp-on-line-102/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zencart and Ultimate URL &#8211; 1054 Unknown column &#8216;c.parent_id&#8217; in &#8216;on clause&#8217;</title>
		<link>http://informationideas.com/news/2006/11/15/zencart-and-ultimate-url-1054-unknown-column-cparent_id-in-on-clause/</link>
		<comments>http://informationideas.com/news/2006/11/15/zencart-and-ultimate-url-1054-unknown-column-cparent_id-in-on-clause/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 04:06:31 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[E-commerce]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2006/11/15/zencart-and-ultimate-url-1054-unknown-column-cparent_id-in-on-clause/</guid>
		<description><![CDATA[Configuration: Linux Apache 1.3 Mysql 5 PHP 5 Zencart 1.3.5 Chemo Ultimate URL for Zencart 1.3.5 Problem: After installation, the error message 1054 Unknown column 'c.parent_id' in 'on clause' shows up on any page in the catalog. Fix: Make the following change to /include/classes/seo.url.php Original: SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>Configuration:</p>
<p>Linux<br />
Apache 1.3<br />
Mysql 5<br />
PHP 5<br />
Zencart 1.3.5<br />
Chemo Ultimate URL for Zencart 1.3.5</p>
<p>Problem:</p>
<p>After installation, the error message<br />
1054 Unknown column 'c.parent_id' in 'on clause'<br />
shows up on any page in the catalog.</p>
<p>Fix:</p>
<p>Make the following change to /include/classes/seo.url.php<br />
Original:</p>
<p>SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName<br />
FROM ".TABLE_CATEGORIES." c,<br />
".TABLE_CATEGORIES_DESCRIPTION." cd<br />
LEFT JOIN ".TABLE_CATEGORIES_DESCRIPTION." cd2<br />
ON c.parent_id=cd2.categories_id AND cd2.language_id='".(int)$this->languages_id."'<br />
WHERE c.categories_id=cd.categories_id<br />
AND cd.language_id='".(int)$this->languages_id."'";</p>
<p>Change:</p>
<p>"SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName<br />
FROM<br />
".TABLE_CATEGORIES_DESCRIPTION." cd,<br />
".TABLE_CATEGORIES." c<br />
LEFT JOIN ".TABLE_CATEGORIES_DESCRIPTION." cd2<br />
ON c.parent_id=cd2.categories_id AND cd2.language_id='".(int)$this->languages_id."'<br />
WHERE c.categories_id=cd.categories_id<br />
AND cd.language_id='".(int)$this->languages_id."'";</p>
<div class="shr-publisher-31"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2006/11/15/zencart-and-ultimate-url-1054-unknown-column-cparent_id-in-on-clause/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zen Cart New Product Type Using Ultimate SEO URL Package</title>
		<link>http://informationideas.com/news/2006/10/23/zen-cart-new-product-type-using-ultimate-seo-url-package/</link>
		<comments>http://informationideas.com/news/2006/10/23/zen-cart-new-product-type-using-ultimate-seo-url-package/#comments</comments>
		<pubDate>Mon, 23 Oct 2006 23:55:36 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[E-commerce]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2006/10/23/zen-cart-new-product-type-using-ultimate-seo-url-package/</guid>
		<description><![CDATA[This post is to help those who are using Zen Cart and are using new product types with Ultimate SEO URL package installed. There are a couple of things to change in order to make everything work together as it took me a couple of hours to figure out. I hope this will help others [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>This post is to help those who are using Zen Cart and are using new product types with Ultimate SEO URL package installed.  There are a couple of things to change in order to make everything work together as it took me a couple of hours to figure out.  I hope this will help others save these couple of hours of hair pulling.</p>
<p><strong>Prerequisite:</strong></p>
<p>Zen Cart installed<br />
New product type added<br />
Ultimate SEO URL package installed<br />
<strong>Goal:</strong></p>
<p>Have the URLs for the products using the new product type show URLs in this format.</p>
<p>http://www.domain.com/[product name]-p-[product id].html</p>
<p><strong>Changes Required:</strong></p>
<p>NOTE: [handler_name] is the new product type name added.</p>
<ol style="font-weight: bold">
<li>File - seo.url.php<br style="font-weight: normal" /><span style="font-style: italic; font-weight: normal">Original:<br />
$seo_pages = array(<br />
FILENAME_DEFAULT,<br />
FILENAME_PRODUCT_INFO,<br />
FILENAME_POPUP_IMAGE,<br />
FILENAME_PRODUCT_REVIEWS,<br />
FILENAME_PRODUCT_REVIEWS_INFO,<br />
);Result: </span><br />
<span style="font-style: italic; font-weight: normal">            $seo_pages = array(<br />
FILENAME_DEFAULT,<br />
FILENAME_PRODUCT_INFO,<br />
FILENAME_POPUP_IMAGE,<br />
FILENAME_PRODUCT_REVIEWS,<br />
FILENAME_PRODUCT_REVIEWS_INFO,<br />
</span><span style="font-style: italic; font-weight: normal">                 FILENAME_[handler name]_INFO<br />
</span><span style="font-style: italic; font-weight: normal">             ); </span></li>
<li>File - seo.url.php<br style="font-weight: normal" /><span style="font-style: italic; font-weight: normal">Original:<br />
$this-&gt;reg_anchors = array(<br />
'products_id' =&gt; '-p-',<br />
'cPath' =&gt; '-c-',<br />
'manufacturers_id' =&gt; '-m-',<br />
'pID' =&gt; '-pi-',<br />
'products_id_review' =&gt; '-pr-',<br />
'products_id_review_info' =&gt; '-pri-',Result:<br />
$this-&gt;reg_anchors = array(<br />
'products_id' =&gt; '-p-',<br />
'cPath' =&gt; '-c-',<br />
'manufacturers_id' =&gt; '-m-',<br />
'pID' =&gt; '-pi-',<br />
'products_id_review' =&gt; '-pr-',<br />
'products_id_review_info' =&gt; '-pri-',<br />
'[handler name]_id' =&gt; '-pji-', </span><br />
<span style="font-weight: normal"><span style="font-weight: bold"></span></span></li>
<li>File - seo.url.php -&gt; function parse_parameters<br style="font-weight: normal" />Find "case 'products_id':"<br />
Within this case statement, add the following.case ($page == FILENAME_[<span style="font-style: italic; font-weight: normal">handler name</span><span style="font-weight: normal">]_INFO):<br />
$url = $this-&gt;make_url($page, $this-&gt;get_product_name($p2[1]), '[</span><span style="font-style: italic">handler_name</span>]_id', $p2[1], '.html', $separator);<br />
break;</li>
<li><span style="font-weight: normal"></span><span style="font-weight: bold">File - [webroot]/includes/filenames.php</span><br />
Add the following definition.define('FILENAME_[<span style="font-style: italic; font-weight: normal">handler name</span><span style="font-weight: normal">]_INFO', '[</span><span style="font-style: italic; font-weight: normal">handler name</span><span style="font-weight: normal">]_info');</span></li>
<li><span style="font-weight: normal">File - [webroot]/.htaccess<br />
Add the following rewrite rule.RewriteRule ^(.*)-pji-(.*).html$ index\.php?main_page=[ </span><span style="font-style: italic">handler_name</span>]_info&amp;products_id=$2&amp;%{QUERY_STRING} [L]</li>
</ol>
<div class="shr-publisher-29"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2006/10/23/zen-cart-new-product-type-using-ultimate-seo-url-package/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.286 seconds -->

