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

random link and build all

Quote Reply
random link and build all
I'm experiencing these 2 problems in an otherwise flawless (or so I think) install...

1) When I attempt a "random link" I get the following error:

Error: Can't find random line: 0.

There IS only one category and one link set up... Does it need multiples???

2) On build all and staggered build I get the following error:

Error Message : Unable to copy links backup. Reason: Permission denied
Script Location : /webadmin/home/pub/tjmintl/public_html/links/cgi-bin/admin/nph-build.cgi
Perl Version : 5.00404

Well, I can SEE what (possibly) the problem is here: the path is NOT what I have spec'd in links.cfg, which is: /home/tjmintl/public_html/links . I believe that somehow it is reading path information from the server...???

However, staggered auto DOES work, even tho' I get the same error message at the beginning of the process???

I've run nph-build from the shell and get the following: (horrors!)

fpage3.ba.best.com% perl nph-build.cgi
syntax error in file nph-build.cgi at line 36, next 2 tokens "use vars"
syntax error in file nph-build.cgi at line 57, next 2 tokens "} and"
Illegal modulus of constant zero in file nph-build.cgi at line 73, next 2 tokens
"in ="
Illegal expression (MODULO) as lvalue in file nph-build.cgi at line 73, next 2 t
okens "\parse_form;"
Illegal modulus of constant zero in file nph-build.cgi at line 77, next 2 tokens
"steps ="
syntax error in file nph-build.cgi at line 77, next 2 tokens "=>"
Execution of nph-build.cgi aborted due to compilation errors.

the installation is at: http://www.tjmintl.com/links

Thanks for any insights!

Teri

[This message has been edited by webwitch (edited June 11, 1999).]

[This message has been edited by webwitch (edited June 11, 1999).]
Quote Reply
Re: random link and build all In reply to
Based on the information you are showing in the error messages, I would say that your scripts are pointing to Perl version 4, not Perl version 5. Nothing will work right if that is the case.

I hope this helps.