I have ce 1.9.2.4 of Magento Install together patches (5377,1533,4788 and so on almost all patches).
This issue also reveals the problem of any custom modules that might/certainly appear in the part of the image that involves uploading their own customizations, rather than just the core magento issues.
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/E8/wKiom1ghQZmhdyXWAAAze-SEjO8054.jpg-wh_500x0-wm_3 -wmp_4-s_2272879881.jpg "title=" Magento. JPG "alt=" Wkiom1ghqzmhdyxwaaaze-sejo8054.jpg-wh_50 "/>
Now, when I install the latest patch 8788 via the command line, I cannot open the "Add/Edit" My custom module, which is a fine-grained page of the previous 8788 installation.
I receive the following error when I try to open the "Add New Banner" page in my module:
Fatal error: Call a member function SetUrl () a non-object in/home/site_user/public_html/app/code/community/my/module/block/adminhtml/banner/add /tab/image.php Online 57
The culprit line is as follows:
$this->getuploader ()->getconfig ()->seturl (Mage::getmodel (' Adminhtml/url ')->addsessionparam () GETURL (' */*/image '))
-
I can't see it. admin uploaded product picture catalog > Manage Products > Any product > Images
section.
mage_adminhtml_block_media_uploader
is called a class.
<?php/** * Magento * * NOTICE OF LICENSE * * This source file is subject to the open software license (OSL 3.0 ) * that is bundled with this package in the file License.txt. * it is also available through the world-wide-web at this url: * http://opensource.org/licenses/osl-3.0.php * if you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an Email * to [email protected] so we can send you a copy immediately. * * disclaimer * * do not edit or add to this file&nbSp;if you wish to upgrade magento to newer * versions in the future. If you wish to customize Magento for your * needs please refer to http://www.magento.com for more information. * * @category Mage * @package mage_adminhtml * @copyright Copyright (c) 2006-2016 x.commerce, inc. and affiliates (http://www.magento.com) * @license http:// opensource.org/licenses/osl-3.0.php open software license (OSL 3.0) *//** * Adminhtml media library uploader * * @category mage * @package Mage_Adminhtml * @author magento core Team <[email protected]> *//** * @deprecated * class mage_ Adminhtml_block_media_uploader */class mage_adminhtml_block_media_uploader extends mage_ Uploader_block_multiple{ /** * constructor for uploader block */ public function __ Construct () { parent::__construct (); $this->getuploaderconfig (->settarget) (Mage::getmodel (' Adminhtml/url ')->addsessionparam ()->geturl (' */*/upload ')); $this->getuploaderconfig ()->setfileparametername (' file '); }}
Everybody let me know How to solve this problem as much as possible with minimal code changes.
Wheat into the bucket technology: http://www.maijindou.com.cn/
Magento Template release Supee patch in Management panel