I have encountered this error as I was doing this.
The error happen in both frontend and backend.
I have tried below action:
Flushing the cache (delete everything in var/cache folder) : doesn't work.
Went to the compiler and noticed it was disabled
Tried & running the compiler : also doesn't work
Any suggestions?
Trace:
#0 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(222): Mage::throwException('Mage registry k...')
#1 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(476): Mage::register('_singleton/tax/...', false)
#2 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/App.php(1316): Mage::getSingleton('tax/observer')
#3 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('catalog_product...', Array)
#4 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php(526): Mage::dispatchEvent('catalog_product...', Array)
#5 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(885): Mage_Catalog_Model_Resource_Product_Collection->_afterLoad()
#6 /var/www/vhosts/jomgroupon.com/httpdocs/lib/Varien/Data/Collection.php(301): Mage_Eav_Model_Entity_Collection_Abstract->load()
#7 /var/www/vhosts/jomgroupon.com/httpdocs/app/design/frontend/base/default/template/catalog/product/widget/new/column/new_default_list.phtml(36): Varien_Data_Collection->getItems()
#8 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...')
#9 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#10 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#11 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#12 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#13 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#14 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#15 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('right', true)
#16 /var/www/vhosts/jomgroupon.com/httpdocs/app/design/frontend/default/skytheme/template/page/2columns-right.phtml(58): Mage_Core_Block_Abstract->getChildHtml('right')
#17 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...')
#18 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#19 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#20 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#21 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#22 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#23 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/local/Gclone/Deal/controllers/IndexController.php(72): Mage_Core_Controller_Varien_Action->renderLayout()
#24 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Gclone_Deal_IndexController->viewAction()
#25 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view')
#26 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#27 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#28 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#29 /var/www/vhosts/jomgroupon.com/httpdocs/index.php(87): Mage::run('', 'store')
#30 {main}
Check this file: /var/www/vhosts/jomgroupon.com/httpdocs/app/code/local/Gclone/Deal/controllers/IndexController.php if you have call to the Mage::register() method
Mage::register('_singleton/tax/observer', $theObject)
Then change that call with adding third parameter as true:
Mage::register('_singleton/tax/observer', $theObject, true);
For further explanation please see: Error processing request: Mage registry key "_singleton/callforprice/observer" already exists
Finally, I found the solution here:
1st: looks tax/observer does not exists in your site, check if Observer.php is in app/code/core/Tax/Model folder
2nd: check if affiliateplusprogram/observer class file is there.
The found observer file names have been changed wrongly in both folders. Once corrected, the error no longer prompted up when clicking checkout
Related
I had recently installed the Layered Navigation SEO extension for my Magento web shop.
Sadly after I try to log in I get the following error:
Indexeermodel moet Mage_Index_Model_Indexer_Abstract uitbreiden.
#0 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/Mage_Index_Model_Process.php(315): Mage::throwException('Indexeermodel m...')
#1 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/Mage_Index_Block_Adminhtml_Notifications.php(41): Mage_Index_Model_Process->getIndexer()
#2 /home/frozen1q/public_html/cuijkwheels.nl/app/design/adminhtml/default/default/template/index/notifications.phtml(27): Mage_Index_Block_Adminhtml_Notifications->getProcessesForReindex()
#3 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3387): include('/home/frozen1q/...')
#4 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3418): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#5 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3432): Mage_Core_Block_Template->renderView()
#6 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/Mage_Adminhtml_Block_Template.php(81): Mage_Core_Block_Template->_toHtml()
#7 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/Mage_Index_Block_Adminhtml_Notifications.php(67): Mage_Adminhtml_Block_Template->_toHtml()
#8 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(2592): Mage_Index_Block_Adminhtml_Notifications->_toHtml()
#9 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(13594): Mage_Core_Block_Abstract->toHtml()
#10 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(2592): Mage_Core_Block_Text_List->_toHtml()
#11 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(2310): Mage_Core_Block_Abstract->toHtml()
#12 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(2254): Mage_Core_Block_Abstract->_getChildHtml('notifications', true)
#13 /home/frozen1q/public_html/cuijkwheels.nl/app/design/adminhtml/default/default/template/page.phtml(55): Mage_Core_Block_Abstract->getChildHtml('notifications')
#14 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3387): include('/home/frozen1q/...')
#15 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3418): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#16 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3432): Mage_Core_Block_Template->renderView()
#17 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/Mage_Adminhtml_Block_Template.php(81): Mage_Core_Block_Template->_toHtml()
#18 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(2592): Mage_Adminhtml_Block_Template->_toHtml()
#19 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(28076): Mage_Core_Block_Abstract->toHtml()
#20 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(13987): Mage_Core_Model_Layout->getOutput()
#21 /home/frozen1q/public_html/cuijkwheels.nl/app/code/core/Mage/Adminhtml/controllers/DashboardController.php(43): Mage_Core_Controller_Varien_Action->renderLayout()
#22 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(14015): Mage_Adminhtml_DashboardController->indexAction()
#23 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(18399): Mage_Core_Controller_Varien_Action->dispatch('index')
#24 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(17933): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#25 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(20705): Mage_Core_Controller_Varien_Front->dispatch()
#26 /home/frozen1q/public_html/cuijkwheels.nl/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#27 /home/frozen1q/public_html/cuijkwheels.nl/index.php(87): Mage::run('', 'store')
#28 {main}
I really tried everything to try to solve this problem, like manually deactivating the extension, deleting the extension files, trying to make modifications to the Varian.php file, but unfortunately without an result.
What am I supposed to do? I use Magento 1.9.
It seems that you have Magento Compilation enabled. Try after disabling it from backend.
I get this error when trying to enter catalog/categories, I have tried everything possible with no result, my version of Magento is 1.7:
There has been an error processing your request
Source model "legenda/system_config_source_attribute_columns" not found for attribute "sw_lg_cat_design"
Trace:
#0 /home/tricka/app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php(387): Mage::exception('Mage_Eav', 'Source model "l...')
#1 /home/tricka/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(201): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#2 /home/tricka/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tab/Attributes.php(113): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset))
#3 /home/tricka/app/code/local/GoMage/Navigation/Block/Adminhtml/Catalog/Category/Tab/Attributes.php(183): Mage_Adminhtml_Block_Catalog_Category_Tab_Attributes->_prepareForm()
#4 /home/tricka/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(144): GoMage_Navigation_Block_Adminhtml_Catalog_Category_Tab_Attributes->_prepareForm()
#5 /home/tricka/app/code/core/Mage/Core/Block/Abstract.php(862): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#6 /home/tricka/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tabs.php(140): Mage_Core_Block_Abstract->toHtml()
#7 /home/tricka/app/code/core/Mage/Core/Block/Abstract.php(238): Mage_Adminhtml_Block_Catalog_Category_Tabs->_prepareLayout()
#8 /home/tricka/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#9 /home/tricka/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Edit/Form.php(55): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'tabs')
#10 /home/tricka/app/code/core/Mage/Core/Block/Abstract.php(238): Mage_Adminhtml_Block_Catalog_Category_Edit_Form->_prepareLayout()
#11 /home/tricka/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#12 /home/tricka/app/code/core/Mage/Adminhtml/Block/Widget/Form/Container.php(82): Mage_Core_Model_Layout->createBlock('adminhtml/catal...')
#13 /home/tricka/app/code/core/Mage/Core/Block/Abstract.php(238): Mage_Adminhtml_Block_Widget_Form_Container->_prepareLayout()
#14 /home/tricka/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#15 /home/tricka/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'category.edit')
#16 /home/tricka/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('adminhtml/catal...', 'category.edit')
#17 /home/tricka/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#18 /home/tricka/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#19 /home/tricka/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#20 /home/tricka/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#21 /home/tricka/app/code/core/Mage/Adminhtml/Controller/Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(NULL, true, true)
#22 /home/tricka/app/code/core/Mage/Adminhtml/controllers/Catalog/CategoryController.php(201): Mage_Adminhtml_Controller_Action->loadLayout()
#23 /home/tricka/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Adminhtml_Catalog_CategoryController->editAction()
#24 /home/tricka/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('edit')
#25 /home/tricka/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#26 /home/tricka/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#27 /home/tricka/app/Mage.php(698): Mage_Core_Model_App->run(Array)
#28 /home/tricka/index.php(87): Mage::run('tricka_cz', 'website')
#29 {main}
go via cPanel
find table mage_eav_attribute
erase tables that starts with sw_
You have most certainly installed a theme that uploads attribute to database.
I am facing a serious error in magento version 1.5.1.0 while checkout. can somebody help me?
the error occurs When i enable display shopping cart sidebar,
Invalid method Mage_Checkout_Block_Cart_Sidebar::canApplyMsrp(Array
(
)
)
Trace:
#0 /home5/bunnygla/public_html/app/design/frontend/default/helloresponsive/template/hellothemes/mini_cart.phtml(60): Varien_Object->__call('canApplyMsrp', Array)
#1 /home5/bunnygla/public_html/app/design/frontend/default/helloresponsive/template/hellothemes/mini_cart.phtml(60): Mage_Checkout_Block_Cart_Sidebar->canApplyMsrp()
#2 /home5/bunnygla/public_html/includes/src/__default.php(2976): include('/home5/bunnygla...')
#3 /home5/bunnygla/public_html/includes/src/__default.php(3007): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#4 /home5/bunnygla/public_html/includes/src/__default.php(3021): Mage_Core_Block_Template->renderView()
#5 /home5/bunnygla/public_html/includes/src/__default.php(2312): Mage_Core_Block_Template->_toHtml()
#6 /home5/bunnygla/public_html/includes/src/__default.php(2079): Mage_Core_Block_Abstract->toHtml()
#7 /home5/bunnygla/public_html/includes/src/__default.php(2030): Mage_Core_Block_Abstract->_getChildHtml('miniCart', true)
#8 /home5/bunnygla/public_html/app/design/frontend/default/helloresponsive/template/page/html/header.phtml(67): Mage_Core_Block_Abstract->getChildHtml('miniCart')
#9 /home5/bunnygla/public_html/includes/src/__default.php(2976): include('/home5/bunnygla...')
#10 /home5/bunnygla/public_html/includes/src/__default.php(3007): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#11 /home5/bunnygla/public_html/includes/src/__default.php(3021): Mage_Core_Block_Template->renderView()
#12 /home5/bunnygla/public_html/includes/src/__default.php(2312): Mage_Core_Block_Template->_toHtml()
#13 /home5/bunnygla/public_html/includes/src/__default.php(2079): Mage_Core_Block_Abstract->toHtml()
#14 /home5/bunnygla/public_html/includes/src/__default.php(2030): Mage_Core_Block_Abstract->_getChildHtml('header', true)
#15 /home5/bunnygla/public_html/app/design/frontend/default/helloresponsive/template/page/homepage.phtml(123): Mage_Core_Block_Abstract->getChildHtml('header')
#16 /home5/bunnygla/public_html/includes/src/__default.php(2976): include('/home5/bunnygla...')
#17 /home5/bunnygla/public_html/includes/src/__default.php(3007): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#18 /home5/bunnygla/public_html/includes/src/__default.php(3021): Mage_Core_Block_Template->renderView()
#19 /home5/bunnygla/public_html/includes/src/__default.php(2312): Mage_Core_Block_Template->_toHtml()
#20 /home5/bunnygla/public_html/includes/src/__default.php(25560): Mage_Core_Block_Abstract->toHtml()
#21 /home5/bunnygla/public_html/includes/src/__default.php(12333): Mage_Core_Model_Layout->getOutput()
#22 /home5/bunnygla/public_html/includes/src/__default.php(9938): Mage_Core_Controller_Varien_Action->renderLayout()
#23 /home5/bunnygla/public_html/includes/src/__default.php(9860): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'home')
#24 /home5/bunnygla/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
#25 /home5/bunnygla/public_html/includes/src/__default.php(12362): Mage_Cms_IndexController->indexAction()
#26 /home5/bunnygla/public_html/includes/src/__default.php(16512): Mage_Core_Controller_Varien_Action->dispatch('index')
#27 /home5/bunnygla/public_html/includes/src/__default.php(16109): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#28 /home5/bunnygla/public_html/includes/src/__default.php(18506): Mage_Core_Controller_Varien_Front->dispatch()
#29 /home5/bunnygla/public_html/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#30 /home5/bunnygla/public_html/index.php(89): Mage::run('', 'store')
#31 {main}
Reason:
Mage_Catalog_Helper_Data::canApplyMsrp() method is implemented since Magento 1.6 version, attempts to use this method in earlier Magento versions, like Magento 1.5.1.0 or Magento 1.5.0.1 will result in fatal error.
I am assuming the error is caused at file location Mage_Catalog_Helper_Data::canApplyMsrp() in template/checkout/cart/item/default.phtml
The solution is to check if the method canApplyMsrp exists like below
Change
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(),Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
To
if (method_exists(Mage::helper('catalog')->canApplyMsrp))
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(),Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
I hope it helps..
#supal: actually your compiler is on. Please disable it or recompile. For this goto admin > tools > compiler. Disable it and clear whole cache.
Say i'm looking for a car, i enter the "car" category, and then i see a Buick '97, when clicking on it to more details and purchase options, on some of the products it works just fine, but on others...:
There has been an error processing your request
cache_dir must be a directory
Trace:
#0 /home/oal4wi/domains/mysite.com/public_html/lib/Zend/Cache/Backend/File.php(154): Zend_Cache::throwException(\\\'cache_dir must ...\\\')
#1 /home/oal4wi/domains/mysite.com/public_html/lib/Zend/Cache/Backend/File.php(121): Zend_Cache_Backend_File->setCacheDir(\\\'tmp\\\')
#2 /home/oal4wi/domains/mysite.com/public_html/lib/Zend/Cache.php(153): Zend_Cache_Backend_File->__construct(Array)
#3 /home/oal4wi/domains/mysite.com/public_html/lib/Zend/Cache.php(94): Zend_Cache::_makeBackend(\\\'File\\\', Array, false, false)
#4 /home/oal4wi/domains/mysite.com/public_html/lib/Zend/Locale/Data.php(940): Zend_Cache::factory(\\\'Core\\\', \\\'File\\\', Array, Array)
#5 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Model/Locale.php(633): Zend_Locale_Data::getContent(\\\'en_US\\\', \\\'currencynumber\\\')
#6 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Catalog/Block/Product/View.php(158): Mage_Core_Model_Locale->getJsPriceFormat()
#7 /home/oal4wi/domains/mysite.com/public_html/app/design/frontend/default/MAG080116/template/catalog/product/view.phtml(83): Mage_Catalog_Block_Product_View->getJsonConfig()
#8 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Block/Template.php(241): include(\\\'/home/oal4wi/do...\\\')
#9 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(\\\'frontend/defaul...\\\')
#10 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#11 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#12 /home/oal4wi/domains/ymysite.com/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#13 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#14 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#15 /home/oal4wi/domains/mysite/public_html/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml(\\\'content\\\', true)
#16 /home/oal4wi/domains/mysite.com/public_html/app/design/frontend/default/MAG080116/template/page/2columns-right.phtml(59): Mage_Core_Block_Abstract->getChildHtml(\\\'content\\\')
#17 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Block/Template.php(241): include(\\\'/home/oal4wi/do...\\\')
#18 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(\\\'frontend/defaul...\\\')
#19 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#20 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#21 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#22 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(391): Mage_Core_Model_Layout->getOutput()
#23 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Cms/Helper/Page.php(132): Mage_Core_Controller_Varien_Action->renderLayout()
#24 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), \\\'no-route\\\')
#25 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), \\\'no-route\\\')
#26 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Cms_IndexController->noRouteAction()
#27 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(\\\'noRoute\\\')
#28 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 /home/oal4wi/domains/mysite.com/public_html/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#30 /home/oal4wi/domains/mysite.com/public_html/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#31 /home/oal4wi/domains/electronics.mysite.com/public_html/index.php(80): Mage::run(\\\'electronics\\\', \\\'website\\\')
#32 {main}
Error log record number: 372472694932
PLS HELP ME OUT!
TNX IN ADVANCED!
This has been answered on the Magento forums: http://www.magentocommerce.com/boards/viewthread/17358/
"...make a tmp dir in the root of the magento installation..."
Magento looks at some $_ENV and $_SERVER variables to find a reasonable writable directory. It looks for TMPDIR, TEMP, TMP,
8windir*, and SystemRoot variables to find one. (You can see it in Zend_Cache_Backend::getTmpDir).
So there are some steps to check...
Verify your apache/nginx user at phpinfo, and check if this user have rights to var/cache directory;
If you use apache and mod_env enabled, you can set your tmp dir manualy by adding the following line in your .htaccess:
SetEnv TMP /path/to/other/tmp/dir
3 . If you use nginx, you can try to add a param like this:
fastcgi_param TMP /path/to/other/tmp/dir
I have upgraded my Magento version 1.4.2.0 to 1.5.0.1. Every thing is ok, but after clicking on wishlist I get the following error. Can anyone tell me what's the problem?
Invalid method Mage_Wishlist_Model_Item::canConfigure(Array
(
)
)
Trace:
#0 [internal function]: Varien_Object->__call('canConfigure', Array)
#1 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Wishlist/Block/Render/Item/Price.php(47): Mage_Wishlist_Model_Item->canConfigure()
#2 /opt/lampp/htdocs/magento1501/app/design/frontend/base/default/template/wishlist/render/item/price.phtml(29): Mage_Wishlist_Block_Render_Item_Price->getCleanProductPriceHtml()
#3 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Template.php(216): include('/opt/lampp/htdo...')
#4 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#5 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#6 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Core_Block_Template->_toHtml()
#7 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Wishlist/Block/Abstract.php(355): Mage_Core_Block_Abstract->toHtml()
#8 /opt/lampp/htdocs/magento1501/app/design/frontend/default/magik_computerstore/template/wishlist/sidebar.phtml(46): Mage_Wishlist_Block_Abstract->getPriceHtml(Object(Mage_Wishlist_Model_Item))
#9 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Template.php(216): include('/opt/lampp/htdo...')
#10 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#11 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#12 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Wishlist/Block/Customer/Sidebar.php(61): Mage_Core_Block_Template->_toHtml()
#13 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Wishlist_Block_Customer_Sidebar->_toHtml()
#14 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#15 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Core_Block_Text_List->_toHtml()
#16 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Abstract.php(525): Mage_Core_Block_Abstract->toHtml()
#17 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Abstract.php(476): Mage_Core_Block_Abstract->_getChildHtml('left', true)
#18 /opt/lampp/htdocs/magento1501/app/design/frontend/default/magik_computerstore/template/page/2columns-left.phtml(54): Mage_Core_Block_Abstract->getChildHtml('left')
#19 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Template.php(216): include('/opt/lampp/htdo...')
#20 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#21 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#22 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Core_Block_Template->_toHtml()
#23 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#24 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Controller/Varien/Action.php(389): Mage_Core_Model_Layout->getOutput()
#25 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Customer/controllers/AccountController.php(102): Mage_Core_Controller_Varien_Action->renderLayout()
#26 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Customer_AccountController->indexAction()
#27 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('index')
#28 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 /opt/lampp/htdocs/magento1501/app/code/core/Mage/Core/Model/App.php(340): Mage_Core_Controller_Varien_Front->dispatch()
#30 /opt/lampp/htdocs/magento1501/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#31 /opt/lampp/htdocs/magento1501/index.php(80): Mage::run('', 'store')
#32 {main}
As has been mentioned, it's your custom theme. Your app\design\frontend\default\template\wishlist.phtml file is calling $this->getPriceHtml() and passing a wishlist item when it expects a product.
Example:
$this->getPriceHtml($_item);
When it expects:
$this->getPriceHtml($_item->getProduct());
But you are assured to have more errors if the theme was written for and older version of Magento.
It is likely that your magik_computerstore theme was coded for 1.4 and has not been adjusted for 1.5. If it makes calls that are no longer appropriate, errors like this can occur. I would suggest checking with your theme developer for 1.5 compatibility.
I had a similar problem when upgrading with deleted block-methods being called form the layout xml files. I removed the lines in the XML configuration that was troubling (top.links rendering would fail)
It is caused by sidebar.phtml in app\design\frontend\default\\template\wishlist.
Please compare to sidebar.phtml in base theme. I'm upgrade our magento themes to 1.5.0.1