Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Not able to administer or Build any new Links

Quote Reply
Not able to administer or Build any new Links
I need help... At first I was building over my current links... Then when I attemted to fix the problem ~~~ of my links became unaccessable... Here is one of my errors at http://www.weightdirectory.com Error including libraries: Can't locate /home/sites/www.weightdirectory.com/users/web/cgi-bin/links/admin/db_utils.pl in @INC (@INC contains: /home/sites/site30/web/cgi-bin/links /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /home/sites/site30/web/cgi-bin/links/jump.cgi line 35.Make sure they exist, permissions are set properly, and paths are set correctly.
Quote Reply
Re: [mikereeves] Not able to administer or Build any new Links In reply to
Upload a current COPY of your jump.cgi as a TEXT file in this thread...then we can look at the exact codes you are using.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] Not able to administer or Build any new Links In reply to
I think I got it to you... Let me know.
Quote Reply
Re: [mikereeves] Not able to administer or Build any new Links In reply to
The problem is with the following line of code:

Quote:

exit; # There are only two exit c~~~s in the script, here and in in &cgierr.


I've uploaded an edited jump.txt file that may work for you.

Change the file name to "jump" and file extension to "cgi".
========================================
Buh Bye!

Cheers,
Me

Last edited by:

Heckler: Mar 31, 2002, 11:08 AM
Quote Reply
Re: [Heckler] Not able to administer or Build any new Links In reply to
The problem is to do with the path to db.pl, what made you think it was the exit?
Quote Reply
Re: [mikereeves] Not able to administer or Build any new Links In reply to
Paul is correct. My mistake and I apologize. The problem is with the tilda (~~) cleanup codes you added in the db_utils.pl file.

I would recommend reverting back to an older copy of db_utils.pl and then add the code hack again.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] Not able to administer or Build any new Links In reply to
Hmm I'm not sure I understand what you are saying.

You agreed that it was to do with the wrong path but then you said:

The problem is with the tilda (~~) cleanup codes you added in the db_utils.pl file.

The ~~ has no consequence whatsoever as it is preceeded with a # meaning that anything proceeding is ignored.
Quote Reply
Re: [Heckler] Not able to administer or Build any new Links In reply to
I disagree, Paul. The error indicates that there is a problem in the db_utils.pl file, which is the file that this user hacked recently.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] Not able to administer or Build any new Links In reply to
Read the error:

>>
Can't locate /home/sites/www.weightdirectory.com/users/web/cgi-bin/links/admin/db_utils.pl
<<

Meaning jump.cgi can't locate db_utils.pl

What that has to do with tildas I don't know Smile

All he needs to do is change the path to db_utils.pl in jump.cgi to:

/home/sites/site30/web/cgi-bin/links/admin

Last edited by:

Paul: Mar 31, 2002, 3:05 PM