Page 1 of 1

Unable to approve affiliates (Version 2.0.1.0)

Posted: Thu Aug 04, 2016 3:41 am
by auz87
Hi there,

Clicking approve affiliate simply takes me to the admin login page again. Hovering over the approve button I can see that the url is just that, a link to the admin login page. Is there a fix or a workout around that someone knows of for this please?

Opencart version 2.0.1.0

Regards,

Austin

Re: Unable to approve affiliates (Version 2.0.1.0)

Posted: Thu Aug 04, 2016 8:04 pm
by ocmta
It's a bug in this version, to fix:

admin/controller/marketing/affiliate.php Line 395, replace:

Code: Select all

if ($result['approved']) {
with

Code: Select all

if (!$result['approved']) {

Re: Unable to approve affiliates (Version 2.0.1.0)

Posted: Thu Aug 04, 2016 8:12 pm
by straightlight
This topic will be moved to the Bug Reports section of the forum.