Post by michaelsen » Fri Apr 10, 2015 12:18 am

Just want to point out that the not_found.tpl template which is called here in pp_express.php does not exist.

Code: Select all

			if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/payment/not_found.tpl')) {
				$this->response->setOutput($this->load->view($this->config->get('config_template') . '/template/payment/not_found.tpl'));
			} else {
				$this->response->setOutput($this->load->view('default/template/payment/not_found.tpl'));
I noticed this in my error log after a customer complained about a blank page.
OC-errors.gif

OC-errors.gif (19.57 KiB) Viewed 1446 times

I have had other customers pay with paypal express since that happened without any problem. Any ideas what could have happened? I am not good enough with php to figure out what it was OC didn't find since it wanted to show the not_found template.

New member

Posts

Joined
Tue May 03, 2011 3:17 am

Post by ashon » Sat Apr 18, 2015 3:03 am

i have this problem is there a fix for this

Active Member

Posts

Joined
Sat Apr 18, 2015 2:18 am

Post by ashon » Thu May 14, 2015 2:43 pm

michaelsen wrote:Just want to point out that the not_found.tpl template which is called here in pp_express.php does not exist.

Code: Select all

			if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/payment/not_found.tpl')) {
				$this->response->setOutput($this->load->view($this->config->get('config_template') . '/template/payment/not_found.tpl'));
			} else {
				$this->response->setOutput($this->load->view('default/template/payment/not_found.tpl'));
I noticed this in my error log after a customer complained about a blank page.
OC-errors.gif
I have had other customers pay with paypal express since that happened without any problem. Any ideas what could have happened? I am not good enough with php to figure out what it was OC didn't find since it wanted to show the not_found template.

Did you manage to fix this ?

Active Member

Posts

Joined
Sat Apr 18, 2015 2:18 am

Post by OSWorX » Thu May 14, 2015 6:18 pm

Replace that code

Code: Select all

/template/payment/not_found.tpl
with that:

Code: Select all

/template/error/not_found.tpl
inside the

Code: Select all

pp_express.php

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 19 guests