View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015542||phplist application||Statistics||public||23-09-10 16:43||01-02-12 23:56|
|Platform||Linux X86||OS||CentOS||OS Version||5.2|
|Target Version||2.10.X||Fixed in Version||2.11.6|
|Summary||0015542: When Click Tracking enabled, [UNSUBSCRIBE] doesn't work anymore|
|Description||I have just noticed that the [UNSUBSCRIBE] links generated in the signature doesn't work anymore when click tracking is enabled:|
404 Not Found
The requested document was not found on this server
Please contact the Administrator
|Steps To Reproduce||To reproduce, simply send yourself a test message with the [UNSUBSCRIBE] tag and try clicking on the message. Do this with click tracking enabled and disabled in config.php|
|Additional Information||I have done this test on my production server and a fresh install. Both give the same result.|
I upgraded to 2.10.12 from 2.10.9 which had the same issue.
|Tags||No tags attached.|
A number of other users reported the same issue in this forum thread: http://forums.phplist.com/viewtopic.php?f=17&t=29344
vdrews suggests the issue might be caused by a configuration error in pageroot and adminpages:
==== Start quote ====
I found the mistake!!
In my config.php file, the values of pageroot & adminpages were wrong! (Someone else set phplist up, so it took me some time to even consider that it might be something wrong with the setup … :-S)
I have no clue what exactly happens here, but I guess that's why all the links get changed when setting CLICKTRACK to 1.
The (for me) correct version is:
$pageroot = '/lists';
$adminpages = '/lists/admin';
(it was '/lists/index.php' & '/lists/admin/index.php' – don't ask me why …)
check it for yourself!
To use the wrong path here has an effect on various functions & stuff in phplist but obviously you don't necessarily notice it in the first place, because the most functions will work.
==== End quote ====
I've added a warning in the config file about tampering with the pageroot variable.
but I suspect there's more the matter. When I add the "index.php" to the pageroot, I get tracking links like this:
which basically loads the top subscribe page and doesn't give a 404
would be good to get some more data on how to reproduce this. If anyone can add some examples on how to do that that would be great.