<?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>About Web Development by Activo &#187; bug</title>
	<atom:link href="http://www.activoinc.com/blog/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.activoinc.com/blog</link>
	<description>Web Development in a Web 2.0 World</description>
	<lastBuildDate>Wed, 24 Nov 2010 00:25:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ZenCart 1.3.8 and PHP 5.2.11 Bug: problem login to admin area</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/</link>
		<comments>http://www.activoinc.com/blog/2009/10/15/zencart-1-3-8-and-php-5-2-11-bug-problem-login-to-admin-area/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 14:00:20 +0000</pubDate>
		<dc:creator>Ron Peled</dc:creator>
				<category><![CDATA[ZenCart]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.activoinc.com/blog/?p=357</guid>
		<description><![CDATA[Yes, I do have some clients that still use ZenCart. In fact, some ZenCart stores are doing very well in terms of SEO and more importantly, sales. This morning, I ran a routine yum update command on one of my clients servers. To my surprise, after rebooting the admin was inaccessible. I&#8217;ll share with you [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I do have some clients that still use ZenCart. In fact, some ZenCart stores are doing very well in terms of SEO and more importantly, sales. This morning, I ran a routine yum update command on one of my clients servers. To my surprise, after rebooting the admin was inaccessible. I&#8217;ll share with you the symptoms so you can identify it and the solution that worked for me.</p>
<p><img class="aligncenter size-full wp-image-358" title="zencart-1.3.8-php-5.2.11-bug" src="http://www.activoinc.com/blog/wp-content/uploads/2009/10/zencart-1.3.8-php-5.2.11-bug.jpg" alt="zencart-1.3.8-php-5.2.11-bug" width="500" height="200" /></p>
<p><strong>The symptoms:</strong></p>
<ol>
<li>Not able to login to Admin panel. More importantly, when you try to login it doesn&#8217;t show any error message.</li>
<li>No admin is able to login, in other words, the problem is global.</li>
<li>If you look in the php log files, you&#8217;ll find a similar line:<br />
<strong>PHP Fatal error:  Class &#8216;queryFactory&#8217; not found in /var/www/html/includes/functions/sessions.php on line 54, referer: http://www.securepersonalcare.com/admin/login.php</strong></li>
</ol>
<p><strong>What is happening:</strong></p>
<p>While I am not sure exactly, <a href="http://www.zen-cart.com/forum/showthread.php?p=786640">this post in the ZenCart forums</a> gave up a clue: it was something in PHP 5.2.11. Now, it may be a new bug in this new version or a bug that got resolved and as a result it broke something in the old ZenCart. Note that as of this writing, ZenCart 1.3.8 is about a year and nine months old. In internet time this is a significant amount of time.</p>
<p><strong>The solution that </strong></p>
<p>Once I had an assumption for what the problem is, I worked on reverting the PHP version to an older one. However, when I tried to revert using the Atomic repository &#8211; it did not work because while they do make old versions of php available, the php-common is not. I ended up removing the atomic repository and using CentOS repositories which provide PHP ver 5.1.6 something. Reinstalled, restarted apache, and vuala!</p>
<p>Now, only if the ZenCart team will get off their butts (or maybe get on their butts) and finish up what they call the next release of this eCommerce application!! What is the next version 1.4, 1.6, 2.0, 2.5? of ZenCart, well that is another discussion altogether.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 25, 2008 -- <a href="http://www.activoinc.com/blog/2008/08/25/zencart-ver-1-4-looking-ahead/" title="Looking Ahead: ZenCart ver 1.4">Looking Ahead: ZenCart ver 1.4</a> (3)</li><li>August 1, 2009 -- <a href="http://www.activoinc.com/blog/2009/08/01/php-simplexml-rules/" title="PHP SimpleXML Rules!">PHP SimpleXML Rules!</a> (0)</li><li>June 25, 2009 -- <a href="http://www.activoinc.com/blog/2009/06/25/method-overloading-workaround-in-php5/" title="Method Overloading Workaround in PHP5">Method Overloading Workaround in PHP5</a> (0)</li><li>June 18, 2009 -- <a href="http://www.activoinc.com/blog/2009/06/18/the-case-for-zencart-supporting-the-long-tail-of-ecommerce/" title="The Case for ZenCart: Supporting the Long Tail of eCommerce">The Case for ZenCart: Supporting the Long Tail of eCommerce</a> (2)</li><li>February 16, 2009 -- <a href="http://www.activoinc.com/blog/2009/02/16/zend-studio-61-wrong-way-to-enhance-a-php-ide/" title="Zend Studio 6.1: Wrong Way to Enhance a PHP IDE!">Zend Studio 6.1: Wrong Way to Enhance a PHP IDE!</a> (1)</li><li>September 22, 2008 -- <a href="http://www.activoinc.com/blog/2008/09/22/zencart-and-magento-for-ecommerce/" title="ZenCart and Magento for eCommerce">ZenCart and Magento for eCommerce</a> (2)</li><li>September 21, 2008 -- <a href="http://www.activoinc.com/blog/2008/09/21/3-steps-to-increase-your-website-traffic-with-popular-keywords/" title="3 Steps to Increase Your Website&#8217;s Traffic with Popular Keywords">3 Steps to Increase Your Website&#8217;s Traffic with Popular Keywords</a> (0)</li><li>August 21, 2008 -- <a href="http://www.activoinc.com/blog/2008/08/21/authorizenet-changes-transaction-id-field-zencart-passes-tests/" title="Authorize.net changes Transaction ID field &#8211; ZenCart passes tests">Authorize.net changes Transaction ID field &#8211; ZenCart passes tests</a> (0)</li><li>May 26, 2008 -- <a href="http://www.activoinc.com/blog/2008/05/26/zencart-develop-an-advanced-plugin-without-overwriting-core-files/" title="ZenCart: Develop an Advanced Plugin Without Overwriting Core Files">ZenCart: Develop an Advanced Plugin Without Overwriting Core Files</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.activoinc.com/blog/2009/10/15/zencart-1-3-8-and-php-5-2-11-bug-problem-login-to-admin-area/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

