Affilistore 2.01 Content Unit Bug Fix

If you upgraded to Affilistore 2.01, then it appears that a bug has crept in in the Content Unit element whereby it fails to redirect to the merchant ( a call to go.php gets stuck in a perpetual refresh)

Whilst the developer is on holiday, I have worked out the fix.

Open up contentunit.php from your store root and look for the last line of code .. you will see

.$content['prodID'].

Change this for :

.$content['dbProdID'].

and everything should be sorted.

Just make sure that you observe the mixed case and enter exactly as shown above. If you fail to change the ‘p’ to an upercase ‘p’, it will still not work.

3 Responses to “Affilistore 2.01 Content Unit Bug Fix”

  1. Hi, David,

    I tried for my two affiliate stores, but to no avail.

    Before I changed, I saw http://yourdomain.com/go.php?proddb=2&l=0000000238, but after I changed, it’s like this http://yourdomain.com/go.php?proddb=2&l. The product ID number was gone.

    Could you help?

    Thanks

  2. Yep. I am sure that I can.

    I the original code, the ‘prodID’ had a loer case ‘P’. You must have the case correct and enter exatcly as ‘dbProdID’ with capital ‘P’ for this to work.

    It is very easy to miss that…. and over on the Affilistore forum, someone else has done the exact same thing … I will edit the post to make that importance clear.

  3. Hi, David,

    Thanks. You are right, I didn’t even realize the p should be capital P… so careless of me.

    Thanks

Leave a Reply