Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Jump.cgi --Error: No link specified!

Quote Reply
Jump.cgi --Error: No link specified!
Hi.
I installed the script and everything works exept for when I click "Random Link" it starts to download the cgi file. Once it downloaded and I open it in notepad it says
"Error: No link specified!"...

The script is in testing process, and I have only 3 links in the database. Would this be the problem? Or should I have more links?

Any ideas?




[This message has been edited by Dvd (edited May 03, 2000).]
Quote Reply
Re: Jump.cgi --Error: No link specified! In reply to
Possibly.

However you need to check the following:

1) That you have changed the permission of your data/hits directory to 777 (drwxrwxrwx), so that the index.count file can be read.

2) Check your url.db file. Make sure that you have ids and urls listed in this file.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Jump.cgi --Error: No link specified! In reply to
Eliot

The permissions are set to 777 on data/hits directories. All files in /data/ directory are set to 666.

I checked the url.db file-- it's empty. (?!)
I also submitted a couple of test links -- but the url.db is still empty.

If I click on "random link" i get the following message "Error: Can't find random line: 0."

If I want to click on a link of a website that was submitted to the database it also downloades the jump.cgi with the following error message "Error: Can't find link id: 5"


What shall I do?

Thanks so much for your help!
Quote Reply
Re: Jump.cgi --Error: No link specified! In reply to
 
Quote:
I also submitted a couple of test links -- but the url.db is still empty.

Well...that is one of your problems. Make sure that the url.db file is set to 666 (rw-rw-rw-).

Quote:
If I click on "random link" i get the following message "Error: Can't find random line: 0."

If I want to click on a link of a website that was submitted to the database it also downloades the jump.cgi with the following error message "Error: Can't find link id: 5"

Again...these errors are caused by the url.db file is empty.

What you need to do is check the permission of the url.db file...change it to 666 (rw-rw-rw-).

Then re-build your directory via the Build All option in the nph-build.cgi file.

Regards,


------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Jump.cgi --Error: No link specified! In reply to
Eliot

Thanks. I clicked "Build all"(Duh) and everything started to work Smile!

Thanks again.
Dvd
Quote Reply
Re: Jump.cgi --Error: No link specified! In reply to
Good. Some of the most biggest problems have the easiest solutions.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.