Gossamer Forum
Quote Reply
Doesn't work
I thin k i have everything setup right except when i press build all, it doesn't do anything. The page stays blank and there is no html files created. I tried staggered and staggered auto but those don't work either
Quote Reply
Re: Doesn't work In reply to
1) Check your Perl Path in your nph-build.cgi file.

2) Check the required library files in your nph-build.cgi file.

3) Make sure that you have set the permissions of this file to 755 (rwxr--r--).

4) Your server may not allow nph files to be executed...contact your server administrator for assistance.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Doesn't work In reply to
You said that my server may not allow the nph file to run, would renaming them make a difference?
Quote Reply
Re: Doesn't work In reply to
Nope.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Doesn't work In reply to
I was told that if it is a perl script and if it is in the cgi-bin, it should work perfectly.
I had it running a few months ago on hypermart, i mentioned that to them and they said that if it worked there, then it should work fine here too.
What's wrong?
Quote Reply
Re: Doesn't work In reply to
There are variables in the nph file that make it a non parsed header file.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Doesn't work In reply to
Non Parsed Header file?
I mentioned that to them and they said that any and all cgi files should run correctly.
What exactly needs to be modified on the server to allow for this file to run?
Quote Reply
Re: Doesn't work In reply to
It is not on the server...It is in the file.

Change the following:

1) Delete the following codes:

Code:
$nph++;

2) Change the following codes:

Code:
use vars qw(%category %subcategories @links @new_links @review_links @award_
links @cool_links %stats $grand_total $use_html $nph $date $time);

to the following:

Code:
use vars qw(%category %subcategories @links @new_links @review_links @award_
links @cool_links %stats $grand_total $use_html $date $time);

3) Change the following codes:

Code:
$use_html = 0;

to the following:

Code:
$use_html = 1;

4) Change the extension of the file to cgi or pl depending on what your server allows.

BTW: nph stands for NON PARSED HEADER files. If your server administrator or hosting company does not know what these are, then that is a tell tale sign that you should consider switching hosting companies.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Doesn't work In reply to
My server admin doesn't seem to know much about it, since when i told him about non-parsed header, he just avoided it and said it should work, if not then he'll try to get it working for me(he made it sound like i didn't know how to setup cgi and that he was willing to help me out).
I should talk directly with my hosting company to find out whats going on.
Would changing and deleting the stuff you mentioned here, affect the script in anyway?would the script be still the same with these modifications?
Quote Reply
Re: Doesn't work In reply to
Thanks, I think i got it working with the last suggestion, but as a last question, should i change all my nph_*.cgi in this manner or only the nph_build.cgi?
Does this little modification affect or deter the script in any way?