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
Pages: [1]   Go Down
Print
Author Topic: Problem with installation  (Read 701 times)
0 Members and 1 Guest are viewing this topic.
scannepa
Guest
« on: March 11, 2007, 06:00:00 PM »

I have used calendar script before and it has worked great.  I have switched over to a new hosting provider and I am now getting errors, when I never had gotten them before.  I installed the script and chmoded everything and it seemed like it was working great.  When I go to www.scannepa.com/cgi-bin/calendar.pl,  the first page comes up fine, but then when you try to click on anything else, it says it can't find that page.  It also does the same when you go to www.scannepa.com/cgi-bin/calendar_admin.pl.  I would appreciate it if someone could please help me.
Logged
scannepa
Guest
« Reply #1 on: March 11, 2007, 06:09:00 PM »

I have ran debug and it says that it should be running smoothly.

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

Logged
scannepa
Guest
« Reply #2 on: March 11, 2007, 06:37:00 PM »

Sorry about the post, but I found out what is causing the problem and still need help.  When you go to the calendar (http://www.scannepa.com/cgi-bin/calendar.pl) it comes up fine.  But then if you click on something else it shows an error.  The url is http://www.scannepa.com/~1199975.1278557//cgi-bin/calendar.pl?view=Three-Week.   If you notice it adds a section of numbers (~1199975.1278557/) to the url.  But if you delete those numbers it works fine. (http://www.scannepa.com/cgi-bin/calendar.pl?view=Three-Week).  Somehow when you click on something else it adds those sections of number and screws things up.  Can anyone help me and give me a idea on how this is happening and possibly how I can fix it.

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

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: March 11, 2007, 09:23:00 PM »

** I have switched over to a new hosting provider and I am now getting errors, when I never had gotten them before. **

Is this a 'fresh' installation or was the script packed up and moved from that other site??

Dan O.

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

Logged
scannepa
Guest
« Reply #4 on: March 11, 2007, 09:25:00 PM »

This was a fresh install

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

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: March 11, 2007, 09:57:00 PM »

Than your server is likely reporting the wrong information for at least one server variable.

In calendar.pl the line:

$Template::CGI_URL = $AdminConfig->get("calendar_url") | | $ENV{'SCRIPT_NAME'} | | $ENV{'REQUEST_URI'};

will need to be changed and in calendar_admin.pl the line:

$Template::CGI_URL = $ENV{'SCRIPT_NAME'} | | $ENV{'REQUEST_URI'};

You can try reversing the $ENV{'SCRIPT_NAME'} and $ENV{'REQUEST_URI'} variables to see if that might correct the problem.

If that doesn't correct it, you may need to contact your host's support to see if they can correct it on their end of know of a work around. Those values might even be able to be 'hard coded'.

JMO

Dan O.

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

Logged
scannepa
Guest
« Reply #6 on: March 11, 2007, 10:34:00 PM »

Ok I did exactly as you stated and it is finally working!  Thanks for the help and the quick reply!!!

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #7 on: March 12, 2007, 01:21:00 AM »

Glad to hear it.

Dan O.

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

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