Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Chyby v Magento
 
iguru
Moderator
 
Avatar
Total Posts:  331
Joined:  2007-11-01
Děčín, Czech Republic
 

V Magento verze 0.8.16100 je chyba.
V souboru:
app/code/core/Mage/Core/Block/Abstract.php
si opravte (řádek 118...):

public function __construct($data=array())
    
{
        parent
::__construct($data);
    
$controller Mage::app()->getFrontController();
    if (
$controller{
        $this
->_request $controller->getRequest(); 
/*
        if (Mage::registry('controller')) {
            $this->_request = Mage::registry('controller')->getRequest();
 */
}
        
else {
            
throw new Exception(Mage::helper('core')->__("Can't retrieve request object"));
        
}
    }

V příštích verzích už by to mÄ›lo být opraveno…

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top