<?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>Dx3webs &#187; error</title>
	<atom:link href="http://dx3webs.com/front/tag/error/feed/" rel="self" type="application/rss+xml" />
	<link>http://dx3webs.com/front</link>
	<description>Magento: fast.. supported.. managed</description>
	<lastBuildDate>Wed, 16 May 2012 14:02:53 +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>Magento fix: while trying to access connect Fatal error: Class Exception not found in Frontend.php on line 90</title>
		<link>http://dx3webs.com/front/2012/05/magento-fix-while-trying-to-access-connect-fatal-error-class-exception-not-found-in-frontend-php-on-line-90/</link>
		<comments>http://dx3webs.com/front/2012/05/magento-fix-while-trying-to-access-connect-fatal-error-class-exception-not-found-in-frontend-php-on-line-90/#comments</comments>
		<pubDate>Wed, 16 May 2012 14:02:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[Fatal]]></category>
		<category><![CDATA[Frontend.php]]></category>
		<category><![CDATA[not]]></category>

		<guid isPermaLink="false">http://dx3webs.com/front/?p=1049</guid>
		<description><![CDATA[Essentially you need to edit the level of error reporting to supress php from throwing this error. so.. index.php change error_reporting(E_ALL &#124; E_STRICT); to  error_reporting(E_ALL &#38; E_STRICT &#38; ~E_DEPRECATED); In lib/Varien/Pear.php error_reporting(E_ALL &#38; ~E_NOTICE); to error_reporting(E_ALL &#38; ~E_NOTICE &#38; ~E_DEPRECATED); 4&#62; downloader/Maged/Pear.php error_reporting(E_ALL &#38; ~E_NOTICE); to error_reporting(E_ALL &#38; ~E_NOTICE &#38; ~E_DEPRECATED);]]></description>
			<content:encoded><![CDATA[<p>Essentially you need to edit the level of error reporting to supress php from throwing this error.</p>
<p>so..</p>
<p>index.php</p>
<p>change</p>
<pre><code>error_reporting(E_ALL | E_STRICT);
</code></pre>
<p>to</p>
<pre><code> error_reporting(E_ALL &amp; E_STRICT &amp; ~E_DEPRECATED);
</code></pre>
<p>In</p>
<p>lib/Varien/Pear.php</p>
<pre><code>error_reporting(E_ALL &amp; ~E_NOTICE);
</code></pre>
<p>to</p>
<pre><code>error_reporting(E_ALL &amp; ~E_NOTICE &amp; ~E_DEPRECATED);
</code></pre>
<p>4&gt; downloader/Maged/Pear.php</p>
<pre><code>error_reporting(E_ALL &amp; ~E_NOTICE);
</code></pre>
<p>to</p>
<pre><code>error_reporting(E_ALL &amp; ~E_NOTICE &amp; ~E_DEPRECATED);</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://dx3webs.com/front/2012/05/magento-fix-while-trying-to-access-connect-fatal-error-class-exception-not-found-in-frontend-php-on-line-90/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal error: Undefined class constant ‘COUPON_TYPE_NO_COUPON’ in mysql4-upgrade-1.4.0.0.1-1.4.0.0.2.php</title>
		<link>http://dx3webs.com/front/2011/11/fatal-error-undefined-class-constant-%e2%80%98coupon_type_no_coupon%e2%80%99-in-varwwwhtmlappcodecoremagesalesrulesqlsalesrule_setupmysql4-upgrade-1-4-0-0-1-1-4-0-0-2-php/</link>
		<comments>http://dx3webs.com/front/2011/11/fatal-error-undefined-class-constant-%e2%80%98coupon_type_no_coupon%e2%80%99-in-varwwwhtmlappcodecoremagesalesrulesqlsalesrule_setupmysql4-upgrade-1-4-0-0-1-1-4-0-0-2-php/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 23:38:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[constant]]></category>
		<category><![CDATA[COUPON_TYPE_NO_COUPON]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Fatal]]></category>
		<category><![CDATA[Undefined]]></category>

		<guid isPermaLink="false">http://dx3webs.com/front/?p=1032</guid>
		<description><![CDATA[if you are seeing edit change to and to run the upgrade then change the code back agian&#8230; real pain!!]]></description>
			<content:encoded><![CDATA[<p>if you are seeing </p>
<pre class="brush: php; title: ; notranslate">
Fatal error: Undefined class constant ‘COUPON_TYPE_NO_COUPON’ in /var/www/html/app/code/core/Mage/SalesRule/sql/salesrule_setup/mysql4-upgrade-1.4.0.0.1-1.4.0.0.2.php
</pre>
<p>edit</p>
<pre class="brush: php; title: ; notranslate">
/var/www/html/app/code/core/Mage/SalesRule/sql/salesrule_setup/mysql4-upgrade-1.4.0.0.1-1.4.0.0.2.php
</pre>
<p>change</p>
<pre class="brush: php; title: ; notranslate">'smallint unsigned NOT NULL DEFAULT &quot;' . Mage_SalesRule_Model_Rule::COUPON_TYPE_NO_COUPON . '&quot;'
</pre>
<p>to </p>
<pre class="brush: php; title: ; notranslate">'smallint unsigned NOT NULL DEFAULT &quot;' . 1 . '&quot;'
</pre>
<p>and</p>
<pre class="brush: php; title: ; notranslate">coupon_type = '&quot; . Mage_SalesRule_Model_Rule::COUPON_TYPE_SPECIFIC . &quot;';
</pre>
<p>to</p>
<pre class="brush: php; title: ; notranslate">coupon_type = '&quot; . 2 . &quot;';
</pre>
<p>run the upgrade then change the code back agian&#8230; real pain!!</p>
]]></content:encoded>
			<wfw:commentRss>http://dx3webs.com/front/2011/11/fatal-error-undefined-class-constant-%e2%80%98coupon_type_no_coupon%e2%80%99-in-varwwwhtmlappcodecoremagesalesrulesqlsalesrule_setupmysql4-upgrade-1-4-0-0-1-1-4-0-0-2-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento tip : Fatal error: Class &#8216;xxxxx&#8217; not found in pathto/httpdocs/app/ Mage.php on line 520</title>
		<link>http://dx3webs.com/front/2011/06/magento-tip-fatal-error-class-xxxxx-not-found-in-pathtohttpdocsapp-mage-php-on-line-520/</link>
		<comments>http://dx3webs.com/front/2011/06/magento-tip-fatal-error-class-xxxxx-not-found-in-pathtohttpdocsapp-mage-php-on-line-520/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 21:38:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[520]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[found]]></category>
		<category><![CDATA[in]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[Mage.php]]></category>
		<category><![CDATA[not]]></category>
		<category><![CDATA[on]]></category>
		<category><![CDATA[path]]></category>
		<category><![CDATA[tip : Fatal]]></category>

		<guid isPermaLink="false">http://dx3webs.com/front/?p=918</guid>
		<description><![CDATA[We have seen this problem listed on just about every magento forum and blog.. Then we hit the error on one of our stores. Essentially, you install a new module either from command line or Connect and immediately the site starts to throw this error either in backend or front or both. The simple answer [...]]]></description>
			<content:encoded><![CDATA[<p>We have seen this problem listed on just about every magento forum and blog.. Then we hit the error on one of our stores.</p>
<p>Essentially, you install a new module either from command line or Connect and immediately the site starts to throw this error either in backend or front or both.</p>
<p> The simple answer is to turn off compilation.. then install your module and re-run compilation.</p>
<p>Very annoying&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://dx3webs.com/front/2011/06/magento-tip-fatal-error-class-xxxxx-not-found-in-pathtohttpdocsapp-mage-php-on-line-520/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento error: Invalid method Mage_Catalog_Block_Product_List_Toolbar::isLastPage</title>
		<link>http://dx3webs.com/front/2010/09/magento-error-invalid-method-mage_catalog_block_product_list_toolbarislastpage/</link>
		<comments>http://dx3webs.com/front/2010/09/magento-error-invalid-method-mage_catalog_block_product_list_toolbarislastpage/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 15:08:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Invalid method Mage_Catalog_Block_Product_List_Toolbar]]></category>
		<category><![CDATA[mage]]></category>

		<guid isPermaLink="false">http://dx3webs.com/front/?p=601</guid>
		<description><![CDATA[To Fix Copy this and paste in app/code/core/Mage/Core/Block/Template.php after this: To avoid having it get overwritten during next update create the following folders: app/code/local/Mage/Core/Block/ and add your new Template.php in there. source: http://www.magentocommerce.com/boards/viewthread/201998/#t259715]]></description>
			<content:encoded><![CDATA[<p><div style='float:left; width:600px;' ><div id='stb-box-1259' class='stb-custom_box' style="color:#ffffff; border-top-color: #ffffff'; border-left-color: #ffffff'; border-right-color: #ffffff'; border-bottom-color: #ffffff'; background-color: #000000; background-image: url(none); min-height: 20px; padding-left: 5px; "><br />
This is an interesting bug that seems to affect some custom templates that have not been fully adapted to 4.1x. This causes some categories with a set number of products to throw the following error:</p>
<pre class="brush: php; title: ; notranslate">
Invalid method Mage_Catalog_Block_Product_List_Toolbar::isLastPage(Array
(
)
)

Trace:
#0 [internal function]: Varien_Object-&gt;__call(\'isLastPage\', Array)
</pre>
<p></div></div><br />
<span id="more-601"></span><br />
To Fix </p>
<p>Copy this</p>
<pre class="brush: php; title: ; notranslate">public function isLastPage()
    {
        return $this-&gt;getCollection()-&gt;getCurPage() &gt;= $this-&gt;getLastPageNum();
    }
</pre>
<p>and paste in app/code/core/Mage/Core/Block/Template.php after this: </p>
<pre class="brush: php; title: ; notranslate">
public function getCacheKeyInfo()
    {
        return array(
            'BLOCK_TPL',
            Mage::app()-&gt;getStore()-&gt;getCode(),
            $this-&gt;getTemplateFile(),
            'template' =&gt; $this-&gt;getTemplate()
        );
    }
</pre>
<p>To avoid having it get overwritten during next update create the following folders:</p>
<p>app/code/local/Mage/Core/Block/</p>
<p>and add your new Template.php in there.</p>
<p>source:</p>
<p>http://www.magentocommerce.com/boards/viewthread/201998/#t259715</p>
<div id='stb-container-300' class='stb-container'><div id='stb-caption-box-300' class='stb-alert-caption_box stb_caption' style="border-top-color: #000; border-left-color: #000; border-right-color: #000; border-bottom-color: #000; background-image: url(none); padding-left: 5px; ">Looking for Optimised UK Magento Hosting</div><div id='stb-body-box-300' class='stb-alert-body_box stb_body' style="color:#000; border-top-color: #000; border-left-color: #000; border-right-color: #000; border-bottom-color: #000; background-color: #eeeeee; "><br />
<strong>Rock solid speed and reliability</strong><br />
Robust, reliable, fully backed up, secure <a href="http://dx3webs.com/front/magento-e-commerce/magento-hosting/">UK based Magento hosting</a>  for £175 per year. Full details <a href="http://dx3webs.com/front/magento-e-commerce/magento-hosting/">here </a>or <a href="http://dx3webs.com/front/contact-us/">Contact us</a><br />
</div></div>
]]></content:encoded>
			<wfw:commentRss>http://dx3webs.com/front/2010/09/magento-error-invalid-method-mage_catalog_block_product_list_toolbarislastpage/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fix Invalid Category error in Magento.</title>
		<link>http://dx3webs.com/front/2010/01/fix-invalid-category-error-in-magento/</link>
		<comments>http://dx3webs.com/front/2010/01/fix-invalid-category-error-in-magento/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 11:46:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[invalid category]]></category>

		<guid isPermaLink="false">http://dx3webs.com/front/?p=169</guid>
		<description><![CDATA[This is a trick error with very little information floating around on it. There are various reasons why it happens but essentially something has caused your default store view to forget what the default category is. magento may throw up a Mage::throwException(’Invalid categor&#8230;’) error in the diagnostic info. The fix is easy. Log into admin [...]]]></description>
			<content:encoded><![CDATA[<p>This is a trick error with very little information floating around on it. There are various reasons why it happens but essentially something has caused your default store view to forget what the default category is.</p>
<p>magento may throw up a</p>
<blockquote><p>Mage::throwException(’Invalid categor&#8230;’)</p></blockquote>
<p>error in the diagnostic info.</p>
<p>The fix is easy. Log into admin which will still be working and under configure select manage shops and click on your shop name.  Your root category will be empty .. simply select the correct root category.</p>
<div id='stb-container-9627' class='stb-container'><div id='stb-caption-box-9627' class='stb-alert-caption_box stb_caption' style="border-top-color: #000; border-left-color: #000; border-right-color: #000; border-bottom-color: #000; background-image: url(none); padding-left: 5px; ">Looking for Optimised UK Magento Hosting</div><div id='stb-body-box-9627' class='stb-alert-body_box stb_body' style="color:#000; border-top-color: #000; border-left-color: #000; border-right-color: #000; border-bottom-color: #000; background-color: #eeeeee; "><br />
<strong>Rock solid speed and reliability</strong><br />
Robust, reliable, fully backed up, secure <a href="http://dx3webs.com/front/magento-e-commerce/magento-hosting/">UK based Magento hosting</a> for £175 per year. Full details <a href="http://dx3webs.com/front/magento-e-commerce/magento-hosting/">here </a>or <a href="http://dx3webs.com/front/contact-us/">Contact us</a><br />
</div></div>
]]></content:encoded>
			<wfw:commentRss>http://dx3webs.com/front/2010/01/fix-invalid-category-error-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

