Gossamer Forum
Home : Products : Links 2.0 : Discussions :

the link 2.0 next link., umm dont work....

Quote Reply
the link 2.0 next link., umm dont work....
come on some on answer this question. How come the link 2.0 makes the next button on the bottom of the page, but when I click on it, says 404 page not found.. Why is this??


Some one answer this please. THank you
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
Look at what link the 'next' button is trying to access.

Make sure that it's a valid path, and that you got your links.cfg file set up properly.

Otherwise, you need to provide MUCH MORE information to get any help. Not enough there to figure anything out. It's up to you to provide as much info as possible.

Thanks,
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
yea the url is right but I dont know why. here is the url
And it seens to be a right link. And dont know whats wrong with it.??

http://indiansite.hypermart.net/cgi-bin/links/admin/search.cgi?query=bollywood&nh=2
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
I just went to your site (home page) and did a search for "bollywood". As expected, the results returned were on two pages. When I click on the link for the second page, it asked for a username and password. A look at the source code shows:

Quote:
<P><FONT face="Arial" size="2">Pages: 1 <A href="http://indiansite.hypermart.net/cgi-bin/links/admin/search.cgi?query=bollywood&nh=2">2</A> <A href="http://indiansite.hypermart.net/cgi-bin/links/admin/search.cgi?query=bollywood&nh=2">[>>]</A> </FONT></P>

Your User accessible scripts (add.cgi, search.cgi, modify.cgi, subscribe.cgi, rates.cgi, jump.cgi) should not be located in your admin directory since that directory is password protected. They should be in the cgi-bin/links directory, above the admin directory.

I hope this helps.
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
no its not in the admin directory. When I go in it just says 404 not found it dont ask for me the password. I dont know why. I think is that I login to my admin this morning thats why. But Next Button Should work and it doesnt.

Thank you
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
K I just used a different browser and it does ask for the password and username..

But the search script is in the cgi bin folder, and the admin is in cgi bin/links/admin folder. what is wrong..

Thank you
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
Look at how you are SUPPOSED to set up the scrpts Smile

.../links/admin/search.cgi

Admin is a sub-directory that is *not* supposed to be user accessible. Only the admin scripts should be there. ANything user accessible should be one directory up -- that goes for search.cgi.

Read the install instructions again Smile

Scott
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
  
Quote:
no its not in the admin directory. When I go in it just says 404 not found it dont ask for me the password. I dont know why. I think is that I login to my admin this morning thats why. But Next Button Should work and it doesnt.

Your search.cgi may not be in the links/admin directory but your script sure thinks it is. That code I posted above is exactly the hyperlinks on your search results page. They are pointing to links/admin/search.cgi, not links/search.cgi as they should.

If search.cgi is not in links/admin, then you need to check the paths you are using because something is telling the script that that is where to look. For you, you get no password prompt (because you were already there once -- try closing and restarting your browser without logging in and try the search).


[This message has been edited by Bobsie (edited July 16, 1999).]
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
k i chech the the search.cgi files and in side I put .. require "links/admin/links.cfg

becuase I have to link links.cfg and thats were it is located. At. Does anyone know what do I have to change.

Thank you
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
k In links.cfg flie I put

$db_script_path = "/data1/hypermart.net/indiansite/cgi-bin/links/admin";
$db_dir_url = "http://indiansite.hypermart.net/cgi-bin/links/admin";

I think that might be the problem. so do I change the http url to http://indiansite.hypermart.net/cgi-bin/

Thank you
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
Set these like this:

Code:
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/data1/hypermart.net/indiansite/cgi-bin/links/admin";
$db_dir_url = "http://indiansite.hypermart.net/cgi-bin/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://indiansite.hypermart.net/cgi-bin/links";

That should do it as long as the user accessible scripts are in the /cgi-bin/links directory and not the /cgi-bin/links/admin directory.

[This message has been edited by Bobsie (edited July 16, 1999).]
Quote Reply
Re: the link 2.0 next link., umm dont work.... In reply to
k bobsie I did what you told me to put in my links.cfg file and then when I click on search it says 404 not found. it goes like http://indiansite.hypermart.net/cgi-bin/links/search.cgi <--dont work.. Do you want me to upload the search.cgi file in that directory..???Or how come this doesnt work. Will that work.. I dont know whats wrong????

Thank you