Post by chags » Sat Dec 06, 2014 12:50 am

Hello
I am the cristiano chags
I'm upgrading to opencart 2.0. The billet banking a payment type used in Brazil. the module is with the following error below:

Code: Select all

Fatal error: Call to undefined method ControllerPaymentBoletocefsigcb::render() in C:\xampp\htdocs\opencart\admin\controller\payment\boleto_cef_sigcb.php on line 284
below the line that gave the error

Code: Select all

   $this->response->setOutput($this->render(TRUE), $this->config->get('config_compression'));     
friends can make a suggestion to update the code to opencart 2.0?

Newbie

Posts

Joined
Tue Jul 09, 2013 8:59 am

Post by zain.mr89 » Thu Mar 12, 2015 2:57 am

Hi, I hope i'm not too late for your problem,
Well change this line:

$this->response->setOutput($this->render(TRUE), $this->config->get('config_compression'));

Into this line:

$this->response->setOutput($this->load->view('filename.tpl', $data));

Newbie

Posts

Joined
Tue Jun 03, 2014 1:39 am
Who is online

Users browsing this forum: No registered users and 2 guests