Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Quick Fix needed :-)

Quote Reply
Quick Fix needed :-)
Hi All,

Just building our database for links in our directory, and we have a few that are bcentral affiliate links. Can anyone explain why we get an error when tryin got click through to the url.

Here is an example of an url :

http://tracker.clicktrade.com/tracker/tracker.dll?to='http://www.deals4u.com/d/art/index.htm'&ad=115018.19&lp=289786

We have edited the links.def to allow for the larger URL size but we still get an dns server error when we try to click on the link once its input into the database...

My first thought is that it has something to do with the characters used in the URL...... anyone got any idea and a fix for me ?

Thanks for any help in advance

Ian



Quote Reply
Re: Quick Fix needed :-) In reply to
Well a dns server error probably means they incorrectly added the url. (mistyped or something)



Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Quick Fix needed :-) In reply to
Hi Paul,

We have added the links ourselves for the bcentral links, and the url works in a browser, but for some reason wont click through from the links database. Othe rlinks in the database work fine, but for some reason these dont... :-(

I figured that maybee the script jump.cgi when reading the url from the database was chopping it short due to the characters in the url, therefore the url is broken when the browser tries to print it.

Any ideas and help much appreciated

Thanks

Ian

Quote Reply
Re: Quick Fix needed :-) In reply to
Probably to do with the ? and the & in the affiliate URL. The script is probably taking these as seperate variables, so it isn't being passwed as one cariable, possibly 3 or 4 instead. This would confuse the affiliate at the other end and maybe that is why you are getting problems.

In links.html change the http://www.yoursite.com/cgi-bin/jump.cgi?<%ID%> to <%URL%>. This will put the URL in place of it, so you can see what link Links 2 is trying to take you to.

Hope this helps

Andy



http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Quick Fix needed :-) In reply to
Thanks Andy,

I at last found that although I had changed the url.db file, I had not changed the url in the links.db file, so it was only printing the url to a max lenght of 75, hence chopping the url in half. Fixed now and is working...

Thanks

Ian

Quote Reply
Re: Quick Fix needed :-) In reply to
No Andy that would not work.

jump.cgi is setup to require jump.cgi?ID=<%ID%> in the query string. If you change it to <%URL%> you will get an error.

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Quick Fix needed :-) In reply to
No, what i mean't was remove the whole of the jump.cgi link, so the whole URL was blank, and in place of it put the <%URL%> tag....do you see what i mean?

Andy

http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Quick Fix needed :-) In reply to
I do indeed but it looks like he fixed it already..........

Paul Wilson.
new - http://www.wiredon.net