A simple counterscript? - I'm so frustrated!
Hi,
Please help, I'm sinking here.
I am trying to install Matt's textcounter for the 5th time?
Still not working. If I don't get it to work I think I'll quit the net and become a farmer instead. How tricky can pigs and cows be?
I followed the instructions in the readme file ( I think)
It wont work. Instead of a nice figure I get "[an error occurred while processing this directive]" output.
So I head for telnet.
perl counter.pl
I get "syntax error at counter.pl line 1, near "/usr/local"
Bareword found where operator expected at counter.pl line 1, near "/bin/perl"
(Missing operator before perl?)
Execution of counter.pl aborted due to compilation errors."
What do I do wrong?
Should the ! before it all go?
Thanks,
Jes
Anonymous posted this at 22:13 — 17th May 1999.
They have: 5,633 posts
Joined: Jan 1970
It should be:
#!/usr/whatever/
----------
Malte Ubl - Germany
http://goKewl.com/
Jes posted this at 22:27 — 17th May 1999.
They have: 120 posts
Joined: Apr 1999
goKewl,
That helped somewhat. Thanks
Jes
Jes posted this at 23:14 — 17th May 1999.
They have: 120 posts
Joined: Apr 1999
Now I get a URI not valid message, or something to that effect.
I troubleshot with FAQ - nothing.
Talked to my provider - "try getting another script.."
Grrr....!!
Jes
fairhousing posted this at 02:06 — 18th May 1999.
They have: 1,587 posts
Joined: Mar 1999
Hehe, I know the feeling cgi is one of the most fustrating things for a web designer in my mind, besides getting lots of traffic to your site. The littlest error can screw up a cgi script and lead to hour upon hour of fustration. Anyways, hang in there it just takes time to learn how to be an efficent web designer. Html is so easy once people learn that they think everything else is gonna be as easy and boy do they have another thing coming, cgi errors, hehe.
Good Luck!
----------
Get listed on a search engine/directory within 24 hrs. FREE!
http://www.birminghamnet.com/cgi-bin/links/pages/
Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?
Anonymous posted this at 02:08 — 18th May 1999.
They have: 5,633 posts
Joined: Jan 1970
what a reply.....
i know this problem pretty good:
contact your provider once more and ask them, which directory you have to use to store your scripts in AND how to point the URL to it!
maybe you stored the file into the directory cgi-bin at your server, but when you call it up, the server-software uses an alias that points to another directory!
the path written in the url is not always the local path!
to make a test, upload a html-file into that directory and call it with your browser. if you get "file not found" or something like this, it's a path-problem.
if you get the message "no valid file-type for this directory" like this, the bug is somewhere else, but i think it's just this little thing about the wrong directory, that causes the trouble...
cu
patrick
ps: did you ever try rename the script from *.pl to *.cgi or reverse???
fairhousing posted this at 21:00 — 18th May 1999.
They have: 1,587 posts
Joined: Mar 1999
Sounds like a good deal to me from what I understand. Your service provider installed a script for you. If they didn't charge you that's the best service around. In that case who's your service provider? If they charged you I don't want to know.
Thanks!
----------
Get listed on a search engine/directory within 24 hrs. FREE!
http://www.birminghamnet.com/cgi-bin/links/pages/
Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?
Jes posted this at 21:48 — 18th May 1999.
They have: 120 posts
Joined: Apr 1999
Fairhousing,
Hmm..I don't really share your view on service. Sure they installed a script. But they won't add pop-boxes or provide me with any other stuff I should get with the package and have been like that for 2 months.
Jes
Jes posted this at 02:40 — 19th May 1999.
They have: 120 posts
Joined: Apr 1999
I never got around to changin *.pl to * cgi or checking any paths.
After a heated discussion my provider installed another script and I learned very little about cgi
Funny how little service some providers will give you.
Thanks for all your help anyway guys! Next time I'll get it right!
Jes
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.