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

Can't Build, Please Help...Please!!!

(Page 1 of 2)
> >
Quote Reply
Can't Build, Please Help...Please!!!
Everything is working fine, but when I go to build (any option), this is what pops up in the main frame.
"The page cannot be displayed"
As if it can't find the nph-build.cgi file.
BUT the file is in the right place.

Any ideas???

Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Check your path and variable configs in the links.cfg file...I betcha that your $db_script_url and $db_script_path are not configured correctly.

Regards,

Eliot Lee
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
no, they all seem to be right. :(


Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Really? Betcha they aren't! Because the error you are experiencing is DEFINITELY attributed to improperly defined path and url variables in your links.cfg file.

Please save your links.cfg as a text file, upload the text file to a publicly accessible directory in your web server, and then post the URL to the text file...so, that we can see the codes you are using.

Regards,

Eliot Lee
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Ok,
I've got the file posted at
http://---------------------

Now my cgi directory is /CGI and /CGI-BIN like most others.
Just thought I'd let you know :)

Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
File NOT FOUND!

Please give the proper URL.

Regards,

Eliot Lee
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
sorry its
http://----------------------

Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
As I stated you are NOT using the COMPLETE PATHS (FULL) in your PATH variables! You are using relative paths, which will NOT work!

The following variables are ALL wrong:

Code:

$db_script_path = "/cgi/links/admin";
$build_root_path = "/web/links";
$build_new_path = "/web/links/new";
$build_cool_path = "/web/links/cool";
$build_ratings_path = "/web/links/ratings";


The first two variables, should look something like the following:

Code:

$db_script_path = "/path/to/account/cgi/links/admin";
$build_root_path = "/path/to/account/web/links";


Refer to your hosting company's documentation for setting up custom CGI/Perl scripts.

The latter variables I posted should look like the following:

Code:

$build_new_path = "$build_root_path/new";
$build_cool_path = "$build_root_path/cool";
$build_ratings_path = "$build_root_path/ratings";


Got it?

Regards,

Eliot Lee
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Well, I made your suggested changes, and now the damn thing won't come up at all.
Guess I'll just have to play with it some more

Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Uh...I gave EXAMPLES of paths to use...if you simply inserted /path/to/account/, then of course, the script won't work...you have to replace these codes with the CORRECT ABSOLUTE PATH where your account is located!

Got it?

Regards,

Eliot Lee
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
yea...I know...

Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Could you make your links.cfg file accessible on the web so we can look at it please.

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Post deleted by Codeman In reply to
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Heres the links.cfg file
http://www.JeepYJ.net/links.txt

I know that the paths are supposed to be "full paths"
but when I called my host, they said that how I had it was
correct, so I put it back they way I had, and have no idea what the problem is.
If you could help me I'd appreciate it.

Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Well as Eliot has mentioned about 3-4 times in this thread you need to use full paths in links.cfg. Your host obviously doesn't know how to setup Links2 Smile

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Yep, they're not too bright =/
At first they kept giving me URLs and I finally
gave up. Can you give me an example of a full path
so I can see if I'm going to the right direction

Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
/home/sites/site3/web/

/home/username/domain-www/web/

/home/username/domain-www/www/

/home/username/domain-www/htdocs/

....something like that but ask your host.

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Uh...I already GAVE you examples of full paths! Please read my replies more carefully and try to listen to members in this forum...some of whom like myself have been using Links for more than three years...I think we know a little more than your hosting company.

Regards,

Eliot Lee
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Also, to find YOUR full path, simply type in the following command in telnet...

Code:

pwd


(Stands for Present Working Directory)

You should get results like the following:

Code:

machine1:/path/to/youraccount# pwd
/path/to/youraccount



Regards,

Eliot Lee
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Eliot, thank you for understanding what I was saying, finally.
I didn't know how to find the full path, and the idiots that provide the hosting services didn't know either.

However, this is what I get when typing PWD in telnet
"
vde$ pwd
/
vde$
"
Not exactly what I need is it?
Any other suggestions?


Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
No, it's not...looks like they have not configured their UNIX servers correctly...because as a standard, you should be able to find your ROOT path directory by typing in the command line I gave you...

Regards,

Eliot Lee
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Actually I think it looks ok - you are just in the root directory.....

vde$ pwd
/
vde$

The one forward slash means you are in the root of the server - if you type dir it will tell you what other directories/files are in the root and you can then make your way to the Links2 directory by using the cd command and type pwd again and it will give you the path.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Ok Paul, I did that, and guess what!
Its exactly how I have it configed in the text file I showed you guys.
Heres what I get.

Ok, I go to the admin directory, type pwd, and get
"/cgi/link/admin"
which is exactly how it is currently configured =/

sigh....may just have to try some other program


Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
Uh...you should type in dir in the ROOT directory/folder as soon as you login via TELNET.

Regards,

Eliot Lee
Quote Reply
Re: Can't Build, Please Help...Please!!! In reply to
uh...yea thats what I did the first time with no results,
and then Paul told me to try it in the links directory

> >