Posts tagged error

magento-logo

Magento fix: while trying to access connect Fatal error: Class Exception not found in Frontend.php on line 90

0

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 | E_STRICT);

to

 error_reporting(E_ALL & E_STRICT & ~E_DEPRECATED);

In

lib/Varien/Pear.php

error_reporting(E_ALL & ~E_NOTICE);

to

error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

4> downloader/Maged/Pear.php

error_reporting(E_ALL & ~E_NOTICE);

to

error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

Fatal error: Undefined class constant ‘COUPON_TYPE_NO_COUPON’ in mysql4-upgrade-1.4.0.0.1-1.4.0.0.2.php

0

if you are seeing

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

edit

/var/www/html/app/code/core/Mage/SalesRule/sql/salesrule_setup/mysql4-upgrade-1.4.0.0.1-1.4.0.0.2.php

change

'smallint unsigned NOT NULL DEFAULT "' . Mage_SalesRule_Model_Rule::COUPON_TYPE_NO_COUPON . '"'

to

'smallint unsigned NOT NULL DEFAULT "' . 1 . '"'

and

coupon_type = '" . Mage_SalesRule_Model_Rule::COUPON_TYPE_SPECIFIC . "';

to

coupon_type = '" . 2 . "';

run the upgrade then change the code back agian… real pain!!

Magento tip : Fatal error: Class ‘xxxxx’ not found in pathto/httpdocs/app/ Mage.php on line 520

0

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 is to turn off compilation.. then install your module and re-run compilation.

Very annoying…

magento-logo

Magento error: Invalid method Mage_Catalog_Block_Product_List_Toolbar::isLastPage

3


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:

Invalid method Mage_Catalog_Block_Product_List_Toolbar::isLastPage(Array
(
)
)

Trace:
#0 [internal function]: Varien_Object->__call(\'isLastPage\', Array)


(more…)

Fix Invalid Category error in Magento.

0

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…’)

error in the diagnostic info.

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.

Looking for Optimised UK Magento Hosting

Rock solid speed and reliability
Robust, reliable, fully backed up, secure UK based Magento hosting for £175 per year. Full details here or Contact us
Go to Top