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


Login with username, password and session length

Search

 
Advanced search

8040 Posts in 1853 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: calendar_admin problems  (Read 366 times)
0 Members and 1 Guest are viewing this topic.
CMC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: May 26, 2003, 02:07:00 PM »

Hello:

I have recently moved my calendars from my home server to an ISP server. Since the move calendar.pl seems to work fine and I can view my calendars but I get a 404 error when trying to use calendar_admin.pl. The problem seems to be the the '$CGI_URL' defaults to '/var/www/cgi-bin/calendar/calendar_admin.pl' which does not work (calendar_admin.pl by itself does work)

I have set the $BASE_DIR to everything I can think of, without any luck.

Anyone have any ideas as to how I can get around this problem??

My browser is IE6.
My ISP running Apache-1.3.27-ensim1.
Everything was uploaded in ASCII mode.
Path to Perl is fine.
Debug.pl says it should run fine.
My ISP is Doteasy.com, their help has been little more than
sending me a list of other calendar software providers.

Thanks.

A calendar can be reached at http://cogbl.com/cgi-bin/calendar/calendar.pl?calendar=MississaugaW

Admin at http://cogbl.com/cgi-bin/calendar/calendar_admin.pl

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 227

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


WWW
« Reply #1 on: May 27, 2003, 01:44:00 PM »

** I have recently moved my calendars from my home server to an ISP server. Since the move calendar.pl seems to work fine **

Does it? All the links look wrong to me.

You will at least need to change the values of the "calendar_url" and "calendar_admin_url" variables in the config.txt file located in the calendarscript directory. They must be URLs as well, not paths.

** I have set the $BASE_DIR **

I don't know that that would be necessary.

Dan O.

[This message has been edited by DanO (edited May 27, 2003).]

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 227

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


WWW
« Reply #2 on: May 29, 2003, 07:42:00 PM »

Glad to see you got it working.

Dan O.

[This message has been edited by DanO (edited May 31, 2003).]

Logged
Micki
Guest
« Reply #3 on: May 29, 2003, 09:16:00 PM »

Fellow Doteasy member,

Here's the issue:

When we define the BASE_DIR as whatever, the doteasy server appends it to the html directory. Here's the last line from my error_log:

[Thu May 29 19:16:55 2003] [error] [client 68.160.229.56] File does not exist: /home/virtual/site202/fst/var/www/html/var/www/cgi-bin/calendar_admin.pl


At this point, I'm not sure that you or I can do anything about it. If you're like me and just upgraded to the Ultra Hosting, this isn't the only nuisance that you've encountered.

Logged
CMC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #4 on: May 31, 2003, 11:14:00 AM »

I finally did get it working !

I played with every setting and nothing worked.

I fond that the only way I could get it to work was to change line 322 (on my calendar_admin.pl)

FROM:

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

TO:

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

Removing the $ENV worked in my case.

Thanks for your help, I will arrange for payment for the script at or next league meeting.

PS: you are right Micki this 'Ultra' hosting has been an 'Ultra' pain.

CMC

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

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