Affiliate Links Not Working in Latest Update

Discussion in 'Troubleshooting' started by aseba, Jul 1, 2016.

  1. aseba

    aseba aMember Pro Customer

    Jun 9, 2010
    Hi there, we upgraded the other day but the affiliate links no longer work. They produce an error that says:

    var data = "<a href=\"http:\/\/\/amember\/aff\/go\/aplc?i=17\" rel=\"nofollow\">DFYT - Blog Planning and Content Building Templates<\/a>";

    There is also an issue with the file protections not working properly. It won't let you select a product. It just defaults to product 0. I'm not urgently concerned about that, but am hoping for a quick solution for the affiliate links.

    Any ideas?

  2. caesar

    caesar aMember Pro Developer Staff Member

    Oct 16, 2009
    Hello Alice,

    It is not affiliate link itself but code to place on webpage. Complete code should looks like
    <script type="text/javascript" src="http://localhost/amember/b/777148337048/000004"></script>
    This code automatically update links/banner on affiliate site in event of you change its settings in your aMember admin interface.

    Direct affiliate link for my example above is

    In affiliate section you should see both option 'Affiliate Link' and 'Code to place on web page'.

    Regarding issue with protection please contact us in helpdpesk - we will troubleshoot it.

    Best Regards.

Share This Page