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

Error including libraries: Can't locate...

Quote Reply
Error including libraries: Can't locate...
Hi, I am encountering the same problem like Harrylatino after installation. I know that the case is the same...I have read the posted reply and I even applied it. But still it didn't work...please help me Unsure Error including libraries: Can't locate /home/www/htdocs/bisaya.de/admin/db.pl at admin.cgi line 28.Make sure they exist, permissions are set properly, and paths are set correctly.
Quote Reply
Re: [beng_hafner] Error including libraries: Can't locate... In reply to
You getting any more debug information? Its most likely that you are using the wrong path.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Error including libraries: Can't locate... In reply to
hi andy,

it's the only debug info i got so far...i can't go any further anyway because i can't login to admin. what makes me confuse is that it says can't locate /home/www/blah blah... at admin.cgi line 28. which file shall i really edit is it now the links.cfg or admin.cgi?
Beng of Germany
Quote Reply
Re: [beng_hafner] Error including libraries: Can't locate... In reply to
If you upload this script, and run it (obviously CHMOD it to 755), what does the path tell you there? Its almost definate that your path is wrong... otherwise you wouldn't get that error Wink

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Error including libraries: Can't locate... In reply to
Frownwaaaaa, i spent the whole night fixing this on my own...know what i'll send you copy of the links.cfg so you'll see it...Crazy
Beng of Germany
Quote Reply
Re: [beng_hafner] Error including libraries: Can't locate... In reply to
Your paths are definatly wrong. Try the following;

Code:
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/www/htdocs/bisaya.de/links/cgi-bin/admin";
$db_dir_url = "http://www.bisaya.de/links/cgi-bin/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/www/htdocs/bisaya.de/links/pages";
$build_root_url = "http://www.bisaya.de/links/pages";

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Error including libraries: Can't locate... In reply to
hi andy, thanx a lot for being so patient with me...i copied and pasted the codes you have given me but still it didn't work. now i have made a bit of changes:

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

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/www/htdocs/bisaya.de/links/pages";
$build_root_url = http://www.bisaya.de/links/pages;

and it works!!!! yupeee well, i might come back to you again...we'll see what problem comes next Unsure, but hopefully no more

thanx....muaaahh

Beng of Germany
Quote Reply
Re: [beng_hafner] Error including libraries: Can't locate... In reply to
Glad to hear it Cool

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!