Post by Microbe » Sun Apr 15, 2012 7:37 am

Email to affiliate had the following login link

http://domain.comindex.php?route=affiliate/login

It is missing the forward slash between the domain and index.php

\admin\model\sale\affiliate.php has the line

Code: Select all

$message .= HTTP_CATALOG . 'index.php?route=affiliate/login' . "\n\n";
I have fixed my install by adding the /

Code: Select all

$message .= HTTP_CATALOG . '/index.php?route=affiliate/login' . "\n\n";
I was tempted to add it to the end of HTTP_CATALOG in the config file, but I am not sure where that is defined or if that would have repercussions elsewhere.
Last edited by Microbe on Sun Apr 15, 2012 7:40 am, edited 1 time in total.

Newbie

Posts

Joined
Tue Nov 01, 2011 9:36 am

Post by Microbe » Sun Apr 15, 2012 7:39 am

OK, on looking in /admin/config.php I see that the definition of HTTP_CATALOG is the only definition missing the trailing /

I am not sure if this is an install issue or it has been edited, so may not be a true bug.

Newbie

Posts

Joined
Tue Nov 01, 2011 9:36 am
Who is online

Users browsing this forum: No registered users and 3 guests