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

Big.....BIG PROBLEM

Quote Reply
Big.....BIG PROBLEM
Error including libraries: Can't locate /home/user/www/cgi/links/admin/links.cfg in @INC (@INC contains: /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at admin.cgi line 27.

Make sure they exist, permissions are set properly, and paths are set correctly.

Can someone please tell me what that means? I know my host has perl5 running, as i have 4 scripts working fine on my site. I left the user name and domain out, as to privacy so my other scripts won't get messed with, but has anyone ever got that error???

I used the right perl path, /usr/bin/perl , and even tried changing it to /usr/bin/perl5, but i recieved an Internal Server Error when i tried that.

I'm pretty sure all my paths are correct.

One question:

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/usr/domain-www/cgi-bin/links/admin.cgi";
$db_dir_url = "http://www.mydomain.com/links/admin/admin.cgi";

Is that the correct path??

Also:

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url= "http://www.mydomain.com/cgi-bin/links";

Would that be right? I'm not sure on this script, its quite large. Haven't attempted one of this level yet.

But I sure hope someone can help me out!

THANK YOU!

Hopefully, I can change my name to Un-Stumped! =)



Quote Reply
Re: Big.....BIG PROBLEM In reply to
The following codes:

Code:

$db_script_path = "/home/usr/domain-www/cgi-bin/links/admin.cgi";


are not correct...they should be:

Code:

$db_script_path = "/home/usr/domain-www/cgi-bin/links";


Also, if you search this forum for Can't locate links.cfg, you will find a bunch of Threads that provide solutions.

Regards,

Eliot Lee

Quote Reply
Re: Big.....BIG PROBLEM In reply to
Ok...the second part of my question...

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url= "http://www.mydomain.com/cgi-bin/links";

Is that the same as the db script path then?

If i can't figure this one out, i'll search, but i read the post a couple down. At first time i ran, i was getting 3 framed windows, with no display...just wondering.... thx...



Quote Reply
Re: Big.....BIG PROBLEM In reply to
In Reply To:
Is that the same as the db script path then?
*sigh*...no.

Hint: path = absolute path, url = relative URL path

Look at the variable names more closely.

Regards,

Eliot Lee

Quote Reply
Re: Big.....BIG PROBLEM In reply to
Well, sorry for wasting your time. But it says "PATH and URL of Admin CGI directory." which to me, seems like it would be to the directory of the admin folder. /path/links/admin

Second part says, and in my second question. "URL of User CGI Directory". Which again, to me, seems like that would be the path to the "Directory" the whole script resides. Like /path/links.

I've searched for "Can't find links.cfg", and it doesn't tell me nothing that hasn't been posted recently. FAQS are down, and I can't get no help for this.

If i wasted your time, sorry. But I thought thats what this forum was for. Help. Some people don't "rule" in setting up scripts.

Quote Reply
Re: Big.....BIG PROBLEM In reply to
Read the following Threads:

1) http://www.gossamer-threads.com/...=25&Old=allposts

2) http://www.gossamer-threads.com/...250&Old=allposts

3) http://www.gossamer-threads.com/...250&Old=allposts

4) http://www.gossamer-threads.com/...500&Old=allposts

5) http://www.gossamer-threads.com/...500&Old=allposts

Regards,

Eliot Lee

Quote Reply
Re: Big.....BIG PROBLEM In reply to
Yeah, and funny thing is.....your the one who responded to them all. In your "script" language.

Never mind bro, i figured it out. By the way...

Anthro:

The following codes:



$db_script_path = "/home/usr/domain-www/cgi-bin/links/admin.cgi";


are not correct...they should be:



$db_script_path = "/home/usr/domain-www/cgi-bin/links";


Thats wrong.

I put:

$db_script_path = "/home/usr/domain-www/cgi-bin/links/admin"; , like i stated in the last reply, about it being the "Admin CGI Directory."

Guess what? Works perfect.

Dunno why you would try to steer people the wrong direction. This is, after all, a help forum.

I read all those links you posted in your last reply, and they are all "helped" in your script dialogue. No good to new users of the script.

Sorry for wasting your time. But if you have to *sigh* about answering a question. Simply don't answer it. Again, not all of us "rules" at scripting.

Un-Stumped



Quote Reply
Re: Big.....BIG PROBLEM In reply to
I sympathise and agree with you totally!

Eliot is good with perl, but has an attitude when it comes to helping others!

From Paul Wilson.
http://www.audio-grabber.com
On error resume next..