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: Error  (Read 342 times)
0 Members and 1 Guest are viewing this topic.
mphacker
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: January 08, 2004, 02:40:00 PM »

I have a customer who has been using the calendarscript for about 2 - 3 monthis without issue.  He contacted me today saying that he is getting the following error when he tries to login to the admin section:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


Can't call method "get" on an undefined value at C:\Inetpub\wwwroot\calendar\calendar.pl line 469.

Any suggestions?


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 09, 2004, 02:15:00 PM »

Has anything changed on the server recently?

Have you checked file and directory permissions?

** Can't call method "get" on an undefined value at C:\Inetpub\wwwroot\calendar\calendar.pl line 469. **

If they're using CalendarScript version 3.2 (the current version) that error message is referring to the following line of the calendar.pl file:

$localtime_offset = 3600*$Config->get("time_zone_offset");

All the script is doing is attempting to access a variable stored in the config.txt file. Maybe its permissions have changed (for some reason) and the script is unable to access it?

Dan O.

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

Logged
mphacker
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: January 09, 2004, 02:52:00 PM »

A change in the permissions was my thought.   I am going to be speaking to our client on Monday.   I will see if he changed the directories permissions.

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

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 09, 2004, 08:58:00 PM »

mphacker,

Are you the host?

If not, hosts frequently make changes to the server setting and/or scripts which run on it and can wreak havoc on permissions settings. Their support sometimes doesn't know or won't say (for whatever reason) if such changes have taken place. I experienced that myself.

JMO

Dan O.

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

Logged
mphacker
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #4 on: January 14, 2004, 09:04:00 AM »

Nope, we are not hosting the script.  It is running on our clients dedicated webserver.

The client has configured many different calendars and each of them has a config.txt that looks good.   The permissions on them are set so everyone has full control.   I am still digging to see what I can come up with.   Any other ideas?

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

Logged
mphacker
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #5 on: January 14, 2004, 09:10:00 AM »

I think I found the error.  Instead of trying to login using the link from calendar.pl I went directly into calendar_admin.pl and got an error that said that c:\inetpub\wwwroot\calendar\calendarscript\session was not a directory.   I took a look and that directory was missing.   I created it and now everything seems to be back working as normal.    I am going to do a bit of testing to make sure.   I will make another post here if it does not solve the problem.

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

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