Post by xxvirusxx » Sun Mar 03, 2019 5:04 pm

Go to: admin/controller/extension/report/product_viewed.php

and replace this (line 147):

Code: Select all

$this->response->redirect($this->url->link('report/report', 'user_token=' . $this->session->data['user_token'] . '&code=product_viewed' . $url, true));
with this:

Code: Select all

$this->response->redirect($this->url->link('report/report', 'user_token=' . $this->session->data['user_token'] . '&code=product_viewed', true));
and this

Code: Select all

$data['reset'] = $this->url->link('extension/report/product_viewed/reset', 'user_token=' . $this->session->data['user_token'] . '&page={page}', true);
with this

Code: Select all

$data['reset'] = $this->url->link('extension/report/product_viewed/reset', 'user_token=' . $this->session->data['user_token'], true);

Refresh OCMOD, clear Theme cache, SASS Cache
Last edited by xxvirusxx on Mon Mar 25, 2019 9:13 pm, edited 1 time in total.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by straightlight » Sun Mar 03, 2019 9:09 pm

Issue already fixed on GitHub.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by xxvirusxx » Sun Mar 03, 2019 9:29 pm

Yes, but not in 3.0.3.1..

Most people install 3.0.3.1 and search on forum for bugs fix.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by straightlight » Sun Mar 03, 2019 9:50 pm

Indeed. However, it would also be great information to know if the GitHub files already involves those bug fixes or not yet. If you check my yesterday's posted topics on this section, I am referring to both ends so to reduce the questions and redundancies.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by eluk_shop » Thu Jan 21, 2021 11:54 pm

THANK YOU I also solved with changes from you in OC Versiunea 3.0.3.6 ... I owe you a beer
xxvirusxx wrote:
Sun Mar 03, 2019 5:04 pm
Go to: admin/controller/extension/report/product_viewed.php

and replace this (line 147):

Code: Select all

$this->response->redirect($this->url->link('report/report', 'user_token=' . $this->session->data['user_token'] . '&code=product_viewed' . $url, true));
with this:

Code: Select all

$this->response->redirect($this->url->link('report/report', 'user_token=' . $this->session->data['user_token'] . '&code=product_viewed', true));
and this

Code: Select all

$data['reset'] = $this->url->link('extension/report/product_viewed/reset', 'user_token=' . $this->session->data['user_token'] . '&page={page}', true);
with this

Code: Select all

$data['reset'] = $this->url->link('extension/report/product_viewed/reset', 'user_token=' . $this->session->data['user_token'], true);

Refresh OCMOD, clear Theme cache, SASS Cache

Newbie

Posts

Joined
Sun Jan 03, 2021 2:03 am
Who is online

Users browsing this forum: No registered users and 123 guests