This topic contains 8 replies, has 3 voices, and was last updated by  bhma 9 years, 6 months ago. This post has been viewed 3266 times

Menu Creator Pro – Refresh Error

  • I have an issue where I am not able to ‘refresh to update’ the MCP using the admin back end, I hit refresh and get an error message pop up saying ‘Refresh Process Error!’
    I have cleared the cache etc. (even disabled it) but still I get the error, the only way I have been able to work around it is to disable developer mode then re-enable developer mode, however when I disable developer I get a default menu appear on the site, if you can point me in the right direct to solve this too that would help (I guess it will be permissions somewhere).

    Any help appreciated, thanks

    www.bhma.co.uk, www.prettymaison.co.uk, www.tradeshopdirect.co.uk

    1. It might be you have permission problem in your site, please read this article for reset permission in magento.

    2. Open this file /app/code/local/MST/Menupro/Block/System/Config/Form/Button.php and compare with the latest file version below to make sure your module is up-to-date:

    < ?php class MST_Menupro_Block_System_Config_Form_Button extends Mage_Adminhtml_Block_System_Config_Form_Field { /* * Set template */ protected function _construct() { parent::_construct(); $this->setTemplate('menupro/system/config/button.phtml');
    }

    /**
    * Return element html
    *
    * @param Varien_Data_Form_Element_Abstract $element
    * @return string
    */
    protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
    {
    return $this->_toHtml();
    }

    /**
    * Return ajax url for button
    *
    * @return string
    */
    public function getAjaxCheckUrl()
    {
    //return Mage::helper(‘adminhtml’)->getUrl(‘menupro/adminhtml_menupro/check’);
    $baseUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
    $validUrl = Mage::helper(‘menupro’)->getValidUrl($baseUrl, Mage::app()->getStore()->isCurrentlySecure());
    $baseUrl = $validUrl;
    return $baseUrl . “menupro/index/refresh”;
    }

    /**
    * Generate button html
    *
    * @return string
    */
    public function getButtonHtml()
    {
    $button = $this->getLayout()->createBlock(‘adminhtml/widget_button’)
    ->setData(array(
    ‘id’ => ‘refresh_button’,
    ‘label’ => $this->helper(‘adminhtml’)->__(‘Refresh’),
    ‘onclick’ => ‘javascript:check(); return false;’
    ));

    return $button->toHtml();
    }
    }

    Let me know if you still got problem.

    Magento Extensions Store | Magento Menu Creator | Magento Fancy Checkout | Online Products Designer

    I agree it sounds like permissions, however these checkout and still no refresh possible.

    I also compared the file and both match.

    Any other thoughts?

    www.bhma.co.uk, www.prettymaison.co.uk, www.tradeshopdirect.co.uk

    Have you tried reset permission follow the post?

    Magento Extensions Store | Magento Menu Creator | Magento Fancy Checkout | Online Products Designer

    Sorry I should have been clear, I ran permissions changes and refresh does not work.

    www.bhma.co.uk, www.prettymaison.co.uk, www.tradeshopdirect.co.uk

    Please send your backend access and FTP access information to [email protected], our guy will check problem.

    Magento Extensions Store | Magento Menu Creator | Magento Fancy Checkout | Online Products Designer

    Those details have been sent, thanks.

    www.bhma.co.uk, www.prettymaison.co.uk, www.tradeshopdirect.co.uk

    Those details have been sent, thanks.

    Hi bhma,

    The problem solved, the refreshing need to create file, so we need to set the permission of folder called “menupro” (following this path: frontend/base/default/menupro) to 777.

    Thanks,
    Tim

    http://magebay.com
    http://productsdesignercanvas.com/
    http://www.menucreatorpro.com/
    http://www.productsdesignerpro.com/

    Great stuff thanks, I figured it had to be a permissions issue somehow.
    Thanks for your quick response.

    www.bhma.co.uk, www.prettymaison.co.uk, www.tradeshopdirect.co.uk

Tagged: 

You must be logged in to reply to this topic.