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

Got a problem with executing nph files?

Quote Reply
Got a problem with executing nph files?
In the FAQs I found the article
"Got a problem with executing nph files?"

And yes, I did have problems. That is to say: I got one ERROR 500 - Internal Server Error after the other.

So I followed the instructions and wow! Building and Mailing now seems to work.

Only to be sure I didn't mess up anything:
It says I should delete
--------------
$nph ;
--------------
I didn't find it anywhere. So I deleted
--------------
$nph++;
--------------
Was that right?

And in nph-verify.cgi I do not find $nph; nor $use_html = 0;

So verifing links still results in an Error 500.

What can I do?

Thanx
Quote Reply
Re: Got a problem with executing nph files? In reply to
In the nph-verify.cgi, you need to comment out the following line of codes:

Code:
my $use_html = $ENV{'REQUEST_METHOD'};;

And change it to the following:

Code:
my $use_html = 1;

Regards,


------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Got a problem with executing nph files? In reply to
Thanx a lot!
Quote Reply
Re: Got a problem with executing nph files? In reply to
You're welcome.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Got a problem with executing nph files? In reply to
Ok, I read all the posts about this issue and I keep getting an error. I made all the sugested changes but nothing...this is what happens when I click on Build All:

CGI ERROR
==========================================
Error Message : Error building! Links database is 0 bytes!
Script Location : nph-build.cgi
Perl Version : 5.00404

If any of you could help that would be very welcome. Thanks.
Quote Reply
Re: Got a problem with executing nph files? In reply to
Do you have any links in your links.db and also categories in your categories.db?

If not...you need to add links and categories in your database files.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Got a problem with executing nph files? In reply to
Tonight I just found out how stupid I can be...yes, I forgot to add a link Smile Although I used Links already and this version has some different features...anyway, it's working now. Thanks a lot for your time.
Quote Reply
Re: Got a problem with executing nph files? In reply to
You're welcome.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums