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: calendar_admin.pl error  (Read 429 times)
0 Members and 1 Guest are viewing this topic.
Jeff Hague
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: April 30, 2005, 02:18:00 PM »

When I go to administer the calendar at the address http://www.bville-rifle-pistol.org/cgi-bin/calendar_admin.pl  the first page comes up.  When I click on the next button I get a 500 error and the address is http://www.bville-rifle-pistol.org/~37423.38150//cgi-bin/calendar_admin.pl.   Any ideas.  The calendar page displays at calendar.pl
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: April 30, 2005, 04:38:00 PM »

It looks like you host's server is not reporting the SCRIPT_NAME envirnoment variable value correctly.

In the calendar_admin.pl file, find the line:

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

You can try changing it to the following to see if it makes any difference:

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

 NOTE: This forum adds a space between | | which shouldn't be there. If you copy and paste that line from here, be sure to remove the added space.


Dan O.

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

Logged
Jeff Hague
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: May 01, 2005, 09:21:00 AM »

Thank you very much.  That worked.

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

Logged
Jeff Hague
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #3 on: May 01, 2005, 09:25:00 AM »

After adding a user I attempted to logout as Administrator.  The following message appears and I cannot logout.
Couldn't open Template [/data/1/0/37/97/37423/user/38150/./cgi-bin/calendarscript/templates/admin/English/add_edit_user.htmlcommandlogout] : No such file or directory

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #4 on: May 01, 2005, 03:29:00 PM »

Sorry but I have no idea why that is occuring on whatever page you're attempting to logout from.

Try looking at what the link URL looks like to see if it gives you any clue.

Dan O.

[This message has been edited by DanO (edited May 01, 2005).]

Logged
TDPSS
Guest
« Reply #5 on: May 11, 2007, 08:07:00 PM »

I tried the following per the above reply and I no longer
get an error, but nothing happens in response to selecting anything. I also can't logout. Is this a problem to report to Host Server and if so, what do I tell them exactly what the code is attempting to do?
-------------------------------------------------------
In the calendar_admin.pl file, find the line:

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

You can try changing it to the following to
see if it makes any difference:

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

-edited so it  doesn't mangle - <djm>
-------------------------------------------------------

Thanks,
Dennis

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #6 on: May 11, 2007, 08:51:00 PM »

** edited so it doesn't mangle **

I don't know what you mean by that.

** I tried the following per the above reply and I no longer get an error, but nothing happens in response to selecting anything. **

I assume you mean just in the *drop-down* menu selector???

** I also can't logout. **

Both the drop down menu and the logout functions are JavaScript controlled. Make sure your browser has Javascript enabled and it is not generating browser error messages.

Dan O.

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

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