Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (Telly), 33 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/06/10
Posts: 14
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 4 1 2 3 4 >
Topic Options
#144326 - 11/13/01 10: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
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#144327 - 11/13/01 11: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 11: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 11: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 11: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 11: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/14/01 01:36 AM 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 09: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/15/01 12:19 AM 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 08: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 >



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
How do I make a selection between helpdesk and service desk
by Telly
09:47 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
09:03 AM
Island Permissions
by ThreadsUser
03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10488 Members
36 Forums
33836 Topics
181688 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image