Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (David Dreezer, nick1, Ruben Rocha), 26 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/13/06
Posts: 87
Top Posters (30 Days)
Ruben Rocha 106
Rick 80
Mark S 72
Thelockman 58
Gizmo 54
driv 35
Sirdude 34
ntdoc 32
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Page 1 of 4 1 2 3 4 >
Topic Options
Rate This Topic
#144326 - 11/13/01 07:55 PM How to find the correct perl paths
Anonymous
Unregistered


When I go into my control panel and I check my variables it shows me this: PATH : /usr/local/bin:/usr/bin:/bin

Based on that info, what is my perl path? Or is that the wrong way to find it?

Also, when I modify those 3 scripts during the upgrade, I'm just modifying the 1st line, right

Top
#144327 - 11/13/01 08:02 PM Re: How to find the correct perl paths
Anonymous
Unregistered


Your Environmental Variables
Use these to help you figure out your absolute file paths, and other system information.

Perl Info:
You are using Perl Version 5.00404

Your Environmental Variables:
Note: "DOCUMENT_ROOT" shows your absolute path to your root web directory. "SCRIPT_FILENAME" shows you absolute path of your CGI directory. If your SCRIPT_FILENAME shows "/www/whatever/whatever/cgi-bin/cpanel.cgi", your Absolute Path variable for your CGI directory would be "/www/whatever/whatever/cgi-bin". On some servers this value is called PATH_TRANSLATED.

SERVER_SOFTWARE: Apache/1.3.20 (Unix) PHP/4.0.6 FrontPage/4.0.4.3
GATEWAY_INTERFACE: CGI/1.1
DOCUMENT_ROOT: /www/boxingfanatics
REMOTE_ADDR: 24.4.254.89
SERVER_PROTOCOL: HTTP/1.0
REQUEST_METHOD: GET
HTTP_REFERER: http://www.boxingfanatics.com/cgi-bin/cpanel2.cgi
QUERY_STRING: action=env
HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90; MSOCD; AtHome020)
PATH : /usr/local/bin:/usr/bin:/bin
HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
HTTP_CONNECTION: keep-alive
REMOTE_PORT: 25085
HTTP_ACCEPT_LANGUAGE: en-us
SCRIPT_NAME: /cgi-bin/cpanel.cgi
SCRIPT_FILENAME: /www/boxingfanatics/cgi-bin/cpanel.cgi
SERVER_NAME: boxingfanatics.com
HTTP_COOKIE: login=5777103-FM7GK; menu_expand=site_maintenace; UserNameCP=Rebel; PasswordCP=reneebas; sessionLogin=2452227.2043; sessionLoginDT=11-13-2001 %3A43%20PM; UserName=Rebel; Password=reneebas; lastLogin=2452227.2051; LastLoginDT=11-13-2001 %3A51%20PM
SERVER_PORT: 80
HTTP_HOST : www.boxingfanatics.com
HTTP_VIA : HTTP/1.1 cv1.sdca.home.com[180D0BA3] (Traffic-Server/4.0.14-11957 [uSc ])
SERVER_ADMIN: webmaster@boxingfanatics.com

Top
#144328 - 11/13/01 08:03 PM Re: How to find the correct perl paths
Anonymous
Unregistered


Remember, I get as far as the hello scripts, which work fine. After that, I'm stuck on the those three files and the perl path issue.

Please help! I'll hook you up with free boxing fights. LOL

Top
#144329 - 11/13/01 08:04 PM Re: How to find the correct perl paths
Anonymous
Unregistered


Your Environmental Variables
Use these to help you figure out your absolute file paths, and other system information.

Perl Info:
You are using Perl Version 5.00404

Your Environmental Variables:
Note: "DOCUMENT_ROOT" shows your absolute path to your root web directory. "SCRIPT_FILENAME" shows you absolute path of your CGI directory. If your SCRIPT_FILENAME shows "/www/whatever/whatever/cgi-bin/cpanel.cgi", your Absolute Path variable for your CGI directory would be "/www/whatever/whatever/cgi-bin". On some servers this value is called PATH_TRANSLATED.

SERVER_SOFTWARE: Apache/1.3.20 (Unix) PHP/4.0.6 FrontPage/4.0.4.3
GATEWAY_INTERFACE: CGI/1.1
DOCUMENT_ROOT: /www/boxingfanatics
REMOTE_ADDR: 24.4.254.89
SERVER_PROTOCOL: HTTP/1.0
REQUEST_METHOD: GET
HTTP_REFERER: http://www.boxingfanatics.com/cgi-bin/cpanel2.cgi
QUERY_STRING: action=env
HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90; MSOCD; AtHome020)
PATH : /usr/local/bin:/usr/bin:/bin
HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
HTTP_CONNECTION: keep-alive
REMOTE_PORT: 25085
HTTP_ACCEPT_LANGUAGE: en-us
SCRIPT_NAME: /cgi-bin/cpanel.cgi
SCRIPT_FILENAME: /www/boxingfanatics/cgi-bin/cpanel.cgi
SERVER_NAME: boxingfanatics.com
HTTP_COOKIE: login=5777103-FM7GK; menu_expand=site_maintenace; UserNameCP=Rebel; PasswordCP=reneebas; sessionLogin=2452227.2043; sessionLoginDT=11-13-2001 %3A43%20PM; UserName=Rebel; Password=; lastLogin=2452227.2051; LastLoginDT=11-13-2001 %3A51%20PM
SERVER_PORT: 80
HTTP_HOST : www.boxingfanatics.com
HTTP_VIA : HTTP/1.1 cv1.sdca.home.com[180D0BA3] (Traffic-Server/4.0.14-11957 [uSc ])
SERVER_ADMIN: webmaster@boxingfanatics.com

Top
#144330 - 11/13/01 08:05 PM Re: How to find the correct perl paths
Anonymous
Unregistered


Your Environmental Variables
Use these to help you figure out your absolute file paths, and other system information.

Perl Info:
You are using Perl Version 5.00404

Your Environmental Variables:
Note: "DOCUMENT_ROOT" shows your absolute path to your root web directory. "SCRIPT_FILENAME" shows you absolute path of your CGI directory. If your SCRIPT_FILENAME shows "/www/whatever/whatever/cgi-bin/cpanel.cgi", your Absolute Path variable for your CGI directory would be "/www/whatever/whatever/cgi-bin". On some servers this value is called PATH_TRANSLATED.

SERVER_SOFTWARE: Apache/1.3.20 (Unix) PHP/4.0.6 FrontPage/4.0.4.3
GATEWAY_INTERFACE: CGI/1.1
DOCUMENT_ROOT: /www/boxingfanatics
REMOTE_ADDR: 24.4.254.89
SERVER_PROTOCOL: HTTP/1.0
REQUEST_METHOD: GET
HTTP_REFERER: http://www.boxingfanatics.com/cgi-bin/cpanel2.cgi
QUERY_STRING: action=env
HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90; MSOCD; AtHome020)
PATH : /usr/local/bin:/usr/bin:/bin
HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
HTTP_CONNECTION: keep-alive
REMOTE_PORT: 25085
HTTP_ACCEPT_LANGUAGE: en-us
SCRIPT_NAME: /cgi-bin/cpanel.cgi
SCRIPT_FILENAME: /www/boxingfanatics/cgi-bin/cpanel.cgi
SERVER_NAME: boxingfanatics.com
HTTP_COOKIE: login=5777103-FM7GK; menu_expand=site_maintenace; UserNameCP=Rebel; PasswordCP=; sessionLogin=2452227.2043; sessionLoginDT=11-13-2001 %3A43%20PM; UserName=Rebel; Password=; lastLogin=2452227.2051; LastLoginDT=11-13-2001 %3A51%20PM
SERVER_PORT: 80
HTTP_HOST : www.boxingfanatics.com
HTTP_VIA : HTTP/1.1 cv1.sdca.home.com[180D0BA3] (Traffic-Server/4.0.14-11957 [uSc ])
SERVER_ADMIN: webmaster@boxingfanatics.com

Top
#144331 - 11/13/01 08:06 PM Re: How to find the correct perl paths
Anonymous
Unregistered


I got rid of the pwd because I don't want just anyone getting a hold of it but if anyone needs it to help me, please email me at admin@boxingfanatics.com

Top
#144332 - 11/13/01 10:36 PM Re: How to find the correct perl paths
Anonymous
Unregistered


Hi Salvador, don't forget to include "perl" in your perl path

And yes, you are modifying the first line only.

Try this:
#!/usr/local/bin/perl

Ted O'Neill
CEO, Infopop Corporation

Top
#144333 - 11/14/01 06:41 PM Re: How to find the correct perl paths
Anonymous
Unregistered


[QUOTE]Originally posted by Ted O'Neill:
Hi Salvador, don't forget to include "perl" in your perl path

And yes, you are modifying the first line only.

Try this:
#!/usr/local/bin/perl

Ted O'Neill
CEO, Infopop Corporation[/QUOTE]My host just told me that these are the perl locations on my server:

sbin/perl

/usr/bin/perl <---- They said that most likely
this is the one the UBB
software is looking for.


Can you figure out the exact path from that information?

Also, I'm upgrading from version 5.47b. Does that mean that I have to upgrade to the latest 5x version and then upgrade to 6x? Curious.

Please help. Thank you!!!!

Top
#144334 - 11/14/01 09:19 PM Re: How to find the correct perl paths
Anonymous
Unregistered


I also got this from my host:
Resolution:
Hello, paths are below for your server express10.propagation.net

/usr/bin/perl5.00404
/usr/bin/perl
/usr/bin/perl5.004
/usr/bin/perl5.003
/usr/local/bin/perl
/usr/local/bin/perl5.004

Top
#144335 - 11/15/01 05:33 AM Re: How to find the correct perl paths
Anonymous
Unregistered


Your Perl path is:
#!/usr/bin/perl

You could use any of the others. If you downloaded either of the full UBB zip files and have not changed the paths, it will work.

Harold Kost
User only - no other connection to Infopop.
Please do not PM or email me for help. Post all questions on the board.

Top
Page 1 of 4 1 2 3 4 >


Moderator:  AllenAyres, Gizmo, Ian, Ron M 
Shout Box

Today's Birthdays
GOTMYSELFA...., smilinjack
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
01/08/09 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
01/07/09 10:00 PM
Chaging the "max online" number and date
by wanted
01/07/09 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
01/07/09 10:26 AM
Custom island with sql connection
by Robje01
01/07/09 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156010 Posts

Max Online: 978 @ 06/24/07 08:19 PM