The Greatest Challenge for Mankind
Ok here is the ultimate challenge (and plea for help!)
I have been working on my site for a few months now. A few of you have reviewed it and a few of you have been kind and given me advise on it. Now! The second final stage!
I am sooo stuck it hurts I have almost felt like throwing the site away and never using it again!
The problem? The big CGI
I can't do it!!!! I have read all the rules and used matts scripts and other scripts. I have uploaded them in ascii and chmodded them to 755. I have uploaded perdiver.cgi and that works
What do I get? Nothing but damn internal server errors!!!!!! Not again!!! I have tried everything! Please please help me here.
Ok here are some details
I was told by my host that I have to refer to my cgi-bin as my domain name so my domain is noggy.net so that means I have to point to /cgi-noggy/script.cgi
tried everything tried http://noggy.net/cgi-noggy/script.cgi I have tried ../cgi-noggy/script.cgi I have even tried the absolute path htdocs/www/noggy/cgi-noggy/script.cgi
You can see my details if you go to http://www.noggy.net/cgi-noggy/perldiver.cgi and then have a look through my cgi scripts on www.noggy.net and see if you have any ideas.
The only script I have come close to getting working is my links script. You will find that funnily enough under links. You add the link, it looks for the cgi and then it takes you back to the links page as it should but with no link?
Any help on this will bring me back hope and also I will add a link to your site as I will look up to you as the person that helped me understand as so far not even bignosedbird or matt's help files have managed.
------------------
***********************
To spam or not to spam!
That is the question.
***********************
Ken Elliott posted this at 12:52 — 21st June 2000.
They have: 358 posts
Joined: Jun 1999
It would help some if you posted the error message that you recieve when you run the script.
VulKen
vy22 posted this at 12:55 — 21st June 2000.
They have: 296 posts
Joined: Sep 1999
I have! Look at line 8
"The server has encountered an internal server error please contact [email protected]"
~Vy~
Ken Elliott posted this at 13:45 — 21st June 2000.
They have: 358 posts
Joined: Jun 1999
well see if you can telnet to your server and run the script with the -c operator. That will give you all of the compilation errors including what line they were on. That standard error isn't worth the color it's displayed with...or something.
perl -c scriptname.cgi
if you can't telnet to em try ftping' with dos or something. I've never tried using dos to run a PERL script on a foreign host, but I imagine it might work.
Or if you have PERL installed on your computer just do the same thing to the script via a dos prompt and see what it gives you there.
Hope this helps.
Just keep this post going and we will rectify your problem sooner or later .
VulKen
Pimpin like a pimp with an electrofied pimpin machine!
vy22 posted this at 13:54 — 21st June 2000.
They have: 296 posts
Joined: Sep 1999
Ok I can telnet my host but unfortunatley my knowledge on telnet allows me to log in and thats it!
dos?
I have my own NT server with perl installed on it so I suppose I could upload it to IIS but how I would diagnose the script is beyond me,
Cheers
~Vy~
Ken Elliott posted this at 15:46 — 21st June 2000.
They have: 358 posts
Joined: Jun 1999
Well once you telnet to your server you can move around just like dos but the cd(change directory) is not cd.. it is cd .. to move back a directory.
Since you know the absolute path you could just press cd /htdocs/www/noggy.com/cgi-noggy/
and that will put you in your cgi folder. Then type "ls" to see it's contents. Then type
perl -c scriptname.cgi
and see what it's output is. My host has the benefit of having a PERL checker on their website so I don't have to go through all this. Well I also have perl installed so I do most of my debuggin' here.
Try that and then post the output.
VulKen
Pimpin like a pimp with an electrofied pimpin machine!
vy22 posted this at 09:35 — 22nd June 2000.
They have: 296 posts
Joined: Sep 1999
Well Vulken you are about to recieve a medal cause I got it working!!! Wooohooo!
No joke man I was summersaulting around my house yesterday as you have no idea how much this has been driving me round the bend.
~I did what you said and connected using telnet. I ran the perl -c on all my cgi scripts and all of them but one said Syntax ok! One of them said I was missing a bracket somewhere.
I noticed that a huge chunk of one of my cgi scripts had disapeared so I uploaded a new one and that worked! Telnet also helped me find my absolute path which helped me repair my links page.
Feel free to send me a button and a decription of your site to [email protected] and I will add it to te Noggy network with a good word for ya.
One last thing. if you go to my site and then look at the links page you will see that the links page works. However how do I place this page in my template and stilll keep it working? You will see what I mean when you have a look.
Thanks
~Vy~
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.