<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: ZenCart 1.3.8 and PHP 5.2.11 Bug: problem login to admin area</title>
	<atom:link href="http://www.activoinc.com/blog/2009/10/15/zencart-1-3-8-and-php-5-2-11-bug-problem-login-to-admin-area/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.activoinc.com/blog/2009/10/15/zencart-1-3-8-and-php-5-2-11-bug-problem-login-to-admin-area/</link>
	<description>Web Development in a Web 2.0 World</description>
	<lastBuildDate>Thu, 17 Dec 2009 04:48:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jason Young</title>
		<link>http://www.activoinc.com/blog/2009/10/15/zencart-1-3-8-and-php-5-2-11-bug-problem-login-to-admin-area/comment-page-1/#comment-1054</link>
		<dc:creator>Jason Young</dc:creator>
		<pubDate>Wed, 04 Nov 2009 17:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.activoinc.com/blog/?p=357#comment-1054</guid>
		<description>mogmismo, this fix didn&#039;t work for one of our clients. The only thing that worked was rolling back PHP to version 5.2.9. How did you get it to work for you?</description>
		<content:encoded><![CDATA[<p>mogmismo, this fix didn&#8217;t work for one of our clients. The only thing that worked was rolling back PHP to version 5.2.9. How did you get it to work for you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mogmismo</title>
		<link>http://www.activoinc.com/blog/2009/10/15/zencart-1-3-8-and-php-5-2-11-bug-problem-login-to-admin-area/comment-page-1/#comment-1051</link>
		<dc:creator>mogmismo</dc:creator>
		<pubDate>Thu, 22 Oct 2009 15:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.activoinc.com/blog/?p=357#comment-1051</guid>
		<description>Had this exact same issue on php 5.2.11, and the fix (as silly as it was) was to call the missing classes before the 5.2 bug code.

in your includes/functions/sessions.php file add this:

&lt;code&gt;
require(DIR_FS_CATALOG . DIR_WS_CLASSES . &#039;class.base.php&#039;);
require(DIR_FS_CATALOG . DIR_WS_CLASSES . &#039;db/&#039; .DB_TYPE . &#039;/query_factory.php&#039;);
&lt;/code&gt;

where shown below (around line 54):

&lt;code&gt;
    function _sess_write($key, $val) {
      global $db;
      if (!is_object($db)) {
        //PHP 5.2.0 bug workaround ...
require(DIR_FS_CATALOG . DIR_WS_CLASSES . &#039;class.base.php&#039;);
require(DIR_FS_CATALOG . DIR_WS_CLASSES . &#039;db/&#039; .DB_TYPE . &#039;/query_factory.php&#039;);
        $db = new queryFactory();
        $db-&gt;connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);
      }
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Had this exact same issue on php 5.2.11, and the fix (as silly as it was) was to call the missing classes before the 5.2 bug code.</p>
<p>in your includes/functions/sessions.php file add this:</p>
<p><code><br />
require(DIR_FS_CATALOG . DIR_WS_CLASSES . 'class.base.php');<br />
require(DIR_FS_CATALOG . DIR_WS_CLASSES . 'db/' .DB_TYPE . '/query_factory.php');<br />
</code></p>
<p>where shown below (around line 54):</p>
<p><code><br />
    function _sess_write($key, $val) {<br />
      global $db;<br />
      if (!is_object($db)) {<br />
        //PHP 5.2.0 bug workaround ...<br />
require(DIR_FS_CATALOG . DIR_WS_CLASSES . 'class.base.php');<br />
require(DIR_FS_CATALOG . DIR_WS_CLASSES . 'db/' .DB_TYPE . '/query_factory.php');<br />
        $db = new queryFactory();<br />
        $db-&gt;connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);<br />
      }<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mack@Henderson Homes</title>
		<link>http://www.activoinc.com/blog/2009/10/15/zencart-1-3-8-and-php-5-2-11-bug-problem-login-to-admin-area/comment-page-1/#comment-1047</link>
		<dc:creator>Mack@Henderson Homes</dc:creator>
		<pubDate>Mon, 19 Oct 2009 16:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.activoinc.com/blog/?p=357#comment-1047</guid>
		<description>Yes indeed zen cart is good for seo. Not my words. One of my friend runs a logistics supplies store and he still uses zen cart. Several times we insisted him in using an updated cms for his e-commerce website, but he deliberately sticks on to zen cart. His claims are that its easy to add products and descriptions and moreover he says he is accustomed to using it and it will be difficult for him if he suddenly changes. OK enough of my friend story :D</description>
		<content:encoded><![CDATA[<p>Yes indeed zen cart is good for seo. Not my words. One of my friend runs a logistics supplies store and he still uses zen cart. Several times we insisted him in using an updated cms for his e-commerce website, but he deliberately sticks on to zen cart. His claims are that its easy to add products and descriptions and moreover he says he is accustomed to using it and it will be difficult for him if he suddenly changes. OK enough of my friend story <img src='http://www.activoinc.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
