Post by vikitaotiz » Tue Nov 21, 2017 6:04 am

Notice: Undefined variable: header in C:\xampp\htdocs\openpos\catalog\view\theme\default\template\extension\payment\pesapal.tpl on line 1Notice: Undefined variable: column_left in C:\xampp\htdocs\openpos\catalog\view\theme\default\template\extension\payment\pesapal.tpl on line 1

Am getting this error when I click continue after agreeing with terms and condition during checkout process. I have talked to developer about and he has told me that the issue should be with the left column_left which is an opencart thing.

Please help

Newbie

Posts

Joined
Thu Oct 19, 2017 6:53 pm

Post by straightlight » Tue Nov 21, 2017 11:44 pm

In catalog/controller/extension/payment/pesapal.php file,

find:

Code: Select all

return $this->load->view('extension/payment/pesapal', $data);
add above:

Code: Select all

$data['column_left'] = $this->load->controller('common/column_left');
		$data['column_right'] = $this->load->controller('common/column_right');
		$data['content_top'] = $this->load->controller('common/content_top');
		$data['content_bottom'] = $this->load->controller('common/content_bottom');
		$data['footer'] = $this->load->controller('common/footer');
		$data['header'] = $this->load->controller('common/header');
This should rectify the issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by vikitaotiz » Mon Nov 27, 2017 3:10 pm

@straightlight
Hello,
Thank you for the help. I replaced the line as you instructed, the error is gone but now i cannot confirm the order as the confirmation button is also gone. I adds the total of everything displays it and then stops there as one cannot proceed with order confirmation.
How do I solve this?

Newbie

Posts

Joined
Thu Oct 19, 2017 6:53 pm

Post by straightlight » Mon Nov 27, 2017 9:58 pm

as one cannot proceed with order confirmation.
If you cannot provide any error / access logs or console logs from the developer tools information on your browser about the confirmation button, contact the original extension publisher to resolve this issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 4 guests