CalendarScript 4 will soon be released for public beta. Our hosted solution continues development...
Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced search
8043
Posts in
1856
Topics- by
2099
Members
- Latest Member:
roi
Calendar Script Community
Everything Else
General Use
(Moderators:
scott
,
DanO
,
Marty
)Admin Log-In Error [SOLVED]
« previous
next »
Pages: [
1
]
2
Go Down
Author
Topic: Admin Log-In Error [SOLVED] (Read 2462 times)
0 Members and 1 Guest are viewing this topic.
Lady Di
Jr. Member
Karma: 0
Offline
Posts: 51
Admin Log-In Error [SOLVED]
«
on:
August 22, 2007, 04:48:37 PM »
Quote
Premature end of script headers: /hsphere/local/home/lREMOVED/HERDOMAIN. com/cgi-bin/calendar. pl
Ok, explain what I did to get this new error when I attempted to log-in? I don't have an exact line HTML editor. I use Arachnophilia. Thank you!!
«
Last Edit: August 30, 2007, 08:42:14 PM by Lady Di
»
Logged
My long running account in here is under 'LadyDi' and my calendar is located
here
.
DanO
Moderator
Full Member
Karma: 13
Offline
Posts: 230
Please don't PM me. Post in the open forum.
Re: Admin Log-In Error
«
Reply #1 on:
August 23, 2007, 12:33:51 AM »
** Premature end of script headers:... **
That just means
something
went wrong but tells us nothing at all about what actually did.
** ...home/lREMOVED/HERDOMAIN. com... **
Is whatever path was actually reported in the error message at least the correct path to were the script is?
Dan O.
Logged
Lady Di
Jr. Member
Karma: 0
Offline
Posts: 51
Re: Admin Log-In Error
«
Reply #2 on:
August 23, 2007, 08:31:19 AM »
Oooooh yeah DanO. I just changed my user name (not given) and domain - shaggysstudio.com - trying to protect my server and site, I guess. Next...
Logged
My long running account in here is under 'LadyDi' and my calendar is located
here
.
Lady Di
Jr. Member
Karma: 0
Offline
Posts: 51
Re: Admin Log-In Error
«
Reply #3 on:
August 26, 2007, 05:33:04 AM »
Any suggestions on a solution to my error? I cant log-in.
Logged
My long running account in here is under 'LadyDi' and my calendar is located
here
.
DanO
Moderator
Full Member
Karma: 13
Offline
Posts: 230
Please don't PM me. Post in the open forum.
Re: Admin Log-In Error
«
Reply #4 on:
August 26, 2007, 01:16:02 PM »
No, because you didn't answer my question:
Is whatever path reported in the error message at least the correct path to were the script is?
Dan O.
Logged
Lady Di
Jr. Member
Karma: 0
Offline
Posts: 51
Re: Admin Log-In Error
«
Reply #5 on:
August 27, 2007, 03:59:19 AM »
Yes DanO
Quote from: Lady Di on August 23, 2007, 08:31:19 AM
Oooooh yeah DanO. I just changed my user name (not given) and domain - shaggysstudio.com - trying to protect my server and site, I guess. Next...
Logged
My long running account in here is under 'LadyDi' and my calendar is located
here
.
DanO
Moderator
Full Member
Karma: 13
Offline
Posts: 230
Please don't PM me. Post in the open forum.
Re: Admin Log-In Error
«
Reply #6 on:
August 27, 2007, 03:57:53 PM »
If "Premature end of script headers" was the error message recorded in the server error log file, you'll have to try running the script from the command line (telnet, SSH, etc.) to see if Perl reports a more detailed error message. As I said, the error message just means something went wrong but tells us nothing at all about what actually did. Until that is known, it is not possible to say how to correct it.
Dan O.
Logged
Lady Di
Jr. Member
Karma: 0
Offline
Posts: 51
Re: Admin Log-In Error
«
Reply #7 on:
August 27, 2007, 04:12:00 PM »
Quote from: DanO on August 27, 2007, 03:57:53 PM
If "Premature end of script headers" was the error message recorded in the server error log file, you'll have to try running the script from the command line (telnet, SSH, etc.) to see if Perl reports a more detailed error message. As I said, the error message just means something went wrong but tells us nothing at all about what actually did. Until that is known, it is not possible to say how to correct it.
Dan O.
I am guessing you saw your PM then?!? Anyhow, how do I go about "running the script from the command like"?? I need exact details as I have never done it before. Thank you!! How do I access "telnet, SSH, etc"?
Logged
My long running account in here is under 'LadyDi' and my calendar is located
here
.
DanO
Moderator
Full Member
Karma: 13
Offline
Posts: 230
Please don't PM me. Post in the open forum.
Re: Admin Log-In Error
«
Reply #8 on:
August 28, 2007, 12:17:33 PM »
** I am guessing you saw your PM then? **
No I didn't (and I would prefer not to get them).
I've read it now, "Can't call method "get" on an undefined value at calendar.pl line 470" but don't know what would cause it. What is on line 470 and the couple of lines preceding it?
** How do I access "telnet, SSH, etc"? **
You need a web account that allows it and also the user client to use. Check your host's FAQ's or ask them if they'll run it for you.
Dan O.
Logged
Lady Di
Jr. Member
Karma: 0
Offline
Posts: 51
Re: Admin Log-In Error
«
Reply #9 on:
August 29, 2007, 04:05:17 PM »
Quote from: DanO on August 28, 2007, 12:17:33 PM
** I am guessing you saw your PM then? **
No I didn't (and I would prefer not to get them).
I've read it now, "Can't call method "get" on an undefined value at calendar.pl line 470" but don't know what would cause it. What is on line 470 and the couple of lines preceding it?
** How do I access "telnet, SSH, etc"? **
You need a web account that allows it and also the user client to use. Check your host's FAQ's or ask them if they'll run it for you.
Dan O.
Understood on all accounts DanO. Will work it out and report back.
EDIT
Host says they do not offer SSH and never got a real reply on telnet. So here's what on lines 451 - 470.
Code:
# COMMANDS
# -----------------------------------------------
if ($in{'command'} eq "login") {
unless(&handleCustomFunction("before_login")) {
#$Session->cleanupExpiredSessions();
my ($result) = $User->login($in{password});
if ($result == 1) {
# User logged in
$Session->{'username'} = $User->{'username'};
$Session->{'name'} = $User->{'name'};
&addUserMessage(&getMessage("USER_LOGGED_IN_SUCCESSFULLY",($User->{'name'} || $User->{'username'})));
}
elsif ($result == 2) {
# Must change password
$Session->{'username'} = $User->{'username'};
$Session->{'name'} = $User->{'name'};
&addUserMessage(&getMessage("USER_LOGGED_IN_SUCCESSFULLY",($User->{"name"} || $User->{"username"})));
&addUserMessage(&getMessage("USER_MUST_CHANGE_PASSWORD"));
«
Last Edit: August 29, 2007, 04:19:56 PM by Lady Di
»
Logged
My long running account in here is under 'LadyDi' and my calendar is located
here
.
DanO
Moderator
Full Member
Karma: 13
Offline
Posts: 230
Please don't PM me. Post in the open forum.
Re: Admin Log-In Error
«
Reply #10 on:
August 30, 2007, 02:59:49 AM »
Nothing pops out as being wrong. Have you tried uploading a fresh copy... in ascii mode?
Dan O.
Logged
Lady Di
Jr. Member
Karma: 0
Offline
Posts: 51
Re: Admin Log-In Error
«
Reply #11 on:
August 30, 2007, 07:40:27 AM »
Quote from: DanO on August 30, 2007, 02:59:49 AM
Nothing pops out as being wrong. Have you tried uploading a fresh copy... in ascii mode?
Dan O.
Yes. I cleared my cache, temp file and history, removed calendar_admin from the server and uploaded it again. Nothing. My host asked me was this a updated version of perl. I am guessing because of whatever version they are using, maybe there is a conflict with this?? I have logged in since the upgrade and added info. I am confused as to what may have gone wrong all of a sudden. First time ever....
NEW INFO
I downloaded the files again. I uploaded the calendar_admin.pl in ascii. This time I was given the same error message but now it is is in the calendar.pl file. I Re-uploaded it and to no avail. Here's what's on lines 458 - 471 on the calendar.pl (blank line is on 470):
Code:
&handleCustomFunction("display_after_search");
}
# Load the required template and execute it
# -----------------------------------------
&showScreen();
END {
if (defined $main::Session && ref($main::Session) eq "CGISession") {
$main::Session->saveSession();
}
}
##################################################
# Populate variables and references for templates
##################################################
«
Last Edit: August 30, 2007, 12:32:59 PM by Lady Di
»
Logged
My long running account in here is under 'LadyDi' and my calendar is located
here
.
DanO
Moderator
Full Member
Karma: 13
Offline
Posts: 230
Please don't PM me. Post in the open forum.
Re: Admin Log-In Error
«
Reply #12 on:
August 30, 2007, 12:57:22 PM »
** Here's what's on lines 458 - 471 on the calendar.pl **
Why is that different than what you posted previously as "So here's what on lines 451 - 470"??
** removed calendar_
admin
from the server and uploaded it again. **
I thought you said you were having a problem with the
calendar.pl
file?
** My host asked me was this a updated version of perl. **
It should run on any server running Perl 4 or above, I believe.
Dan O.
PS. Please stop with the marque (ie. scrolling) text. TIA
Logged
Lady Di
Jr. Member
Karma: 0
Offline
Posts: 51
Re: Admin Log-In Error
«
Reply #13 on:
August 30, 2007, 02:12:45 PM »
I was having issues with the calendar_admin.pl when we first started this but now the error in the server logs is reporting it in calendar.pl and hence the reason why I am showing you what's on line 470 there as well. Seems it is flipping between the 2 script files. I have no clue, I copied and pasted what the last server error log reads when I attempt to log onto the calendar is all I can tell you DanO.
Logged
My long running account in here is under 'LadyDi' and my calendar is located
here
.
DanO
Moderator
Full Member
Karma: 13
Offline
Posts: 230
Please don't PM me. Post in the open forum.
Re: Admin Log-In Error
«
Reply #14 on:
August 30, 2007, 05:39:59 PM »
Sorry but I have no idea what would be causing the errors. This same version
was
working Ok at one time wasn't it?
Dan O.
Logged
Pages: [
1
]
2
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> FAQS
=> Advertise on CalendarScript
-----------------------------
Setup and Installation
-----------------------------
=> Installation and Setup
=> Problems and Solutions
-----------------------------
Customization
-----------------------------
=> Customizing CalendarScript
=> Hacks and Mods
=> Plugins
-----------------------------
Making CalendarScript Better
-----------------------------
=> Suggestions and Ideas
=> Showcase
-----------------------------
Licensing
-----------------------------
=> Licensing
-----------------------------
Everything Else
-----------------------------
=> General Use