location of PERL?

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
User avatar
ReV|Donatello
This is my homepage
This is my homepage
Posts: 103
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Nov 11, 2004 4:25 pm
Location: Upland, California
Contact:

location of PERL?

Post by ReV|Donatello »

ok im trying to install a dl counter and i get this
Change the first line of countdown.cgi to the location of PERL on your system.
in the default config it has
#!/usr/local/bin/perl

what should i change it to?
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

#!/usr/bin/perl

If you forget, we also list it in the errors section of the Website FAQ.
User avatar
ReV|Donatello
This is my homepage
This is my homepage
Posts: 103
Joined: Thu Nov 11, 2004 4:25 pm
Location: Upland, California
Contact:

Post by ReV|Donatello »

im getting this error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, edge100x@nuclearfallout.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

my file is located at
http://nba1341.nuclearfallout.net/unico ... counter.pl
in there i have
#!/usr/bin/perl
but stil get the error is this because its not straight in the webserver folder?
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

Have you checked out our webspace faq yet? Like Edge mentioned previously, we list the most common errors at the bottom:

http://rentals.nuclearfallout.net/rent. ... hosting#16
-Nick
User avatar
ReV|Donatello
This is my homepage
This is my homepage
Posts: 103
Joined: Thu Nov 11, 2004 4:25 pm
Location: Upland, California
Contact:

Post by ReV|Donatello »

looked at it and it had none of those problems and i made it read, write, exuctue for owner only i don't no what else to do
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

If it's none of the things covered in the FAQ, unfortunately that means it's most likely a bug in the script.
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

When uploading, you must use ASCII mode otherwise the end-of-line markers may be invalid and the script will fail.

You must set the access rights of the script file and the directory to 755.

Once its properly installed and setup, try http://nba1341.nuclearfallout.net/unico ... &create=23

If it is working correctly, the returned value should read document.write('23')

I got that from the author's site. more info you can read here

If after doing what that site says, it still doesn't work, then like Edge said, its buggy. Hope that helps
-Nick
User avatar
ReV|Donatello
This is my homepage
This is my homepage
Posts: 103
Joined: Thu Nov 11, 2004 4:25 pm
Location: Upland, California
Contact:

Post by ReV|Donatello »

ok ill try it with smart ftp should i choose passive or uncheck passive?
User avatar
ReV|Donatello
This is my homepage
This is my homepage
Posts: 103
Joined: Thu Nov 11, 2004 4:25 pm
Location: Upland, California
Contact:

Post by ReV|Donatello »

ah ok nvm this stuff is to confusing
Post Reply