On the admin side panel in the Reports section in the table "Products Viewed Report", when I click on the Reset button some error message appears:
"Notice: Undefined variable: url in /home/studiole/philarooms.com/admin/controller/extension/report/product_viewed.php on line 147Warning: Cannot modify header information - headers already sent by (output started at /home/studiole/philarooms.com/admin/controller/startup/error.php:34) in /home/studiole/philarooms.com/system/library/response.php on line 36"
A clue. In admin/controller/extension/report/product_viewed.php file,
find:
replace with:
This should rectify the problem.
find:
Code: Select all
$this->response->redirect($this->url->link('report/report', 'user_token=' . $this->session->data['user_token'] . '&code=product_viewed' . $url, true));
Code: Select all
$this->response->redirect($this->url->link('report/report', 'user_token=' . $this->session->data['user_token'] . '&code=product_viewed', true));
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.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: fegdeed and 37 guests