Affilistore 2.01 Content Unit Bug Fix

by David Cameron on August 17, 2008

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 comments… read them below or add one }

1 Vedis August 17, 2008 at 8:47 am

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

Reply

2 David Cameron August 18, 2008 at 9:57 am

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.

Reply

3 Vedis August 21, 2008 at 11:36 am

Hi, David,

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

Thanks

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Send To Twitter

Spam Protection by WP-SpamFree

Subscribe without commenting

Previous post:

Next post: