2014-10-09 122 views
0

我已經在我的購物車中安裝了此模塊([http://www.opencart.com/index.php?route=extension/extension/info&extension_id=11671][1])),但是當我嘗試編輯博客模塊時,它會向我輸出這些錯誤,任何人都可以幫我解決這個問題。三江源OpenCart博客模塊錯誤

Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 146Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 148Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 154Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 160Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 166Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 167Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 169Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 202Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 204Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 206Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 207Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 208Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 209Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 210Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 211Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 213Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 214Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 219Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 227Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 242Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 243Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 244Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 245Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 246Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 265Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 267Notice: Indirect modification of overloaded property ControllerModuleBlog::$data has no effect in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 268 
Fatal error: Call to undefined method ControllerModuleBlog::render() in C:\xampp\htdocs\chip\admin\controller\module\blog.php on line 276 
+0

*我已安裝此模塊* - 然後去尋求支持模塊開發人員。閱讀[help section](https://stackoverflow.com/help)和[* opencart *](https://stackoverflow.com/tags/opencart/info)標籤wiki。 – shadyyx 2014-10-09 13:52:44

+0

我在那裏搜索,但沒有關於它的想法,我已在支持部分等待雙方 – 2014-10-09 13:55:22

回答

9

終於讓我找到這個解決方案,希望這將有助於爲一些一 我使用2.0.0.0當模塊只支持1.5.6.4

和如果u想使用的任何還模塊或1.5.6.4版本的這個模塊然後你必須在模塊文件中進行更改

eg. 
    $this->data['insert'] = 
into 

    $data['insert'] = 

------------------------------------------------------- 
    $this->language->load('module/blog'); 

into 

    $this->load->language('module/blog'); 

------------------------------------------------------------- 
$this->template = 'module/blog/list.tpl'; 
     $this->children = array(
      'common/header', 
      'common/footer' 
     ); 

     $this->response->setOutput($this->render()); 

into 

$data['header'] = $this->load->controller('common/header'); 
     $data['column_left'] = $this->load->controller('common/column_left'); 
     $data['footer'] = $this->load->controller('common/footer'); 


     $this->response->setOutput($this->load->view('module/blog/list.tpl', $data)); 
+0

在模塊上留下了評論下次,這裏是在opencart商店中安裝博客的更好的擴展, http:// www.fmeaddons.com/opencart/blog-news-articles-module.html – 2014-11-27 11:13:09