Gossamer Forum
Home : Products : Links 2.0 : Discussions :

BUG in Jump.cgi

Quote Reply
BUG in Jump.cgi
Hi all,

I this just me?

When i search for a link. it will find and display links before the site has been built. This i understand.

What i dont understand is if this link is marked new and you try and click on the URL it tries to download jump.cgi

it doesnt do it if you modify a review and then search before building only when there is a new review before building.

Any ideas or fixes??



Regards

MDJ1
http://www.isee-multimedia.co.uk
Quote Reply
Re: BUG in Jump.cgi In reply to
Download the file...Open it up in a text editor..and then read the error message. That should provide you some clues. I betcha you will find something like "Can't find ID: ID".

This means that you have not built your index and the url.db file is not updated and does not include the new ID number of the new links you've added to your links.db file.

Hope this helps.

Regards,

Eliot Lee

Quote Reply
Re: BUG in Jump.cgi In reply to
Hi eliot,

This sounds about right, but why does it do it. It seems a bit silly, some sites have thousands of links added every day and only build once a week.

Is there anyway to rectify this apart from re-building evertime you add links.



Regards

MDJ1
http://www.isee-multimedia.co.uk
Quote Reply
Re: BUG in Jump.cgi In reply to
You could use link.db rather than [/b]url.db[/b] in the jump.cgi, HOWEVER, this will dramatically slow down processing time since it will have to go through tons of data on tons of lines in the links.db to find the specific ID.

Another solution is to add a subroutine in the add.cgi file that automatically adds the ID and URL to the url.db file.

Of course, you could just use Cron to automatically build your index a few times a day and the problem could be somewhat alleviated. This has been discussed MANY times in the Links Discussion Forum.

BTW: This is NOT a bug with jump.cgi. Wink

Regards,

Eliot

Quote Reply
Re: BUG in Jump.cgi In reply to
Thanks Eliot.


Regards

MDJ1
http://www.isee-multimedia.co.uk
Quote Reply
Re: BUG in Jump.cgi In reply to
You're welcome. And you do know that this is NOT a problem in LINKS SQL, since data is parsed directly from the Links table.

Wink

Regards,

Eliot Lee

Quote Reply
Re: BUG in Jump.cgi In reply to
Hi eliot,

I gathered that would be the case with the SQL version.



Regards

MDJ1
http://www.isee-multimedia.co.uk