Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunitySetup and InstallationInstallation and Setup (Moderators: scott, DanO, Marty)Network Solutions Admin install problem
Pages: [1]   Go Down
Print
Author Topic: Network Solutions Admin install problem  (Read 521 times)
0 Members and 1 Guest are viewing this topic.
djeam
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: January 11, 2006, 11:53:00 AM »

I have been trying to run the calendar on a Network Solutions Unix server, the calendar works but the admin is malfunctioning, the debug program shows all is well?!

Admin screen one: http://www.wgmeunfair.com/cgi-bin/CalendarScript321/calendar_admin.pl

Admin screen two: http://www.wgmeunfair.com/~598840.610942//cgi-bin/CalendarScript321/calendar_admin.pl

It is adding some junk to the ip address. Ideas?

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: January 11, 2006, 12:31:00 PM »

** It is adding some junk to the ip address. Ideas? **

Than the server is not reporting several server variables properly.

You can try adding the line:

$ENV{SCRIPT_NAME} =~ s/~598840.610942\///;

to the calendar_admin.pl file in a similar way to how jbrau suggested (in the previous forum message "Go Daddy & Sbox") as a fix for a similar problem when the script is hosted at Go Daddy

    This code is untested so use at your own risk.

Dan O.
www.much2.com
Unofficial CalendarScript - Mods and Plugins site

------------------

Logged
djeam
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: January 11, 2006, 01:47:00 PM »

Getting closer, it came back with cannot find server and this in the address bar. There must be a variable to add the domain/cgi...
http://cgi-bin/CalendarScript321/calendar_admin.pl

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: January 12, 2006, 01:11:00 AM »

Try

$ENV{SCRIPT_NAME} =~ s/~598840.610942\\///;

(note the \\)

Although I would have thought the first should have worked.

Or you can even try the following to avoid the confusion with the / character you're trying to get rid of:

$ENV{SCRIPT_NAME} =~ s,~598840.610942/,,;

Dan O.

------------------

Logged
djeam
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #4 on: January 12, 2006, 11:41:00 AM »

That caused an internal server error, argh. I have never had this program not install on the first try. Any other ideas?

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #5 on: January 12, 2006, 12:37:00 PM »

** That caused an internal server error **

Which? I supplied 2 different lines to try.

** Any other ideas? **

No.

Dan O.

------------------

Logged
rlwing
New Member
*

Karma: 0
Offline Offline

Posts: 0

Java Developer


WWW
« Reply #6 on: January 20, 2006, 01:01:00 PM »

Change the following line:

# The CGI URL for call-back
$Template::CGI_URL = $ENV{'SCRIPT_NAME'} | | $ENV{'REQUEST_URI'};

To this:

# The CGI URL for call-back
$Template::CGI_URL = $ENV{'REQUEST_URI'};

I'm not sure why, but SCRIPT_NAME returns that garbage on this host.

--Rob

------------------

Logged
rlwing
New Member
*

Karma: 0
Offline Offline

Posts: 0

Java Developer


WWW
« Reply #7 on: January 20, 2006, 01:05:00 PM »

oops!  In calendar.pl you also need to remove $SCRIPT_NAME but it's slightly different there.  Look for it and remove the double pipe too.

------------------

Logged
djeam
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #8 on: January 24, 2006, 06:37:00 PM »

I just found out Net Sol does not allow shell access to their servers at this time. They will be able to allow this by Arpil. That is why all my cgi programs start but won't completely work. Correct?

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #9 on: January 24, 2006, 08:36:00 PM »

** I just found out Net Sol does not allow shell access to their servers. That is why all my cgi programs start but won't completely work. Correct? **

No. Having shell access has no affect on whether scripts run or not. It is just another method which can be used to run them. It is usually only helpful in debugging.

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: