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] 2   Go Down
Print
Author Topic: Error Upon Login Again  (Read 3101 times)
0 Members and 1 Guest are viewing this topic.
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« on: February 22, 2008, 04:51:14 AM »

Quote
Can't call method "get" on an undefined value at calendar.pl line 470.
[Fri Feb 22 00:39:10 2008] [error] [client 85.90.206.117] Premature end of script headers: /hsphere/local/home/REMOVED/SITE REMOVED/cgi-bin/calendar.pl

DanO, long time no see. Had to come back and get a lil assistance on what this means. Maybe again??? Anyhow, when I attempt to log-in to my calendar this is what I get

Thank you!!
Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #1 on: February 22, 2008, 07:59:07 PM »

Has something changed in its installation?

Dan O.
Logged
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« Reply #2 on: February 25, 2008, 10:38:26 PM »

Ok, now I am told by my server host is telling me to check the error log and make corrections on the calendar that NO ONE has touched since the last time I was here. So, look at this and let me know what it means:

Quote
Name "Template::SEARCH_RESULTS" used only once: possible typo at calendar.pl line 452.
Name "Template::LAST_MONTH_NAME" used only once: possible typo at calendar.pl line 507.
Name "Template::NEXT_MONTH_YEAR" used only once: possible typo at calendar.pl line 504.
Name "Template::User" used only once: possible typo at calendar.pl line 406.
Name "Template::getEvent" used only once: possible typo at calendar.pl line 523.
Use of uninitialized value in string ne at calendar.pl line 251.
Use of uninitialized value in pattern match (m//) at calendar.pl line 301.
Can't call method "get" on an undefined value at calendar.pl line 472.
Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #3 on: February 26, 2008, 02:37:51 AM »

Those are just warnings and could be displayed depending on the server set up and the shebang you are using at the top of your scripts. Check with your host to see what shebang you should be using in your scripts.

JMO

Dan O.
Logged
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« Reply #4 on: February 26, 2008, 10:48:10 AM »

I'll use the information and forward to them Dan. Thank you and will post a note back if/when they respond.
Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« Reply #5 on: February 27, 2008, 08:47:14 AM »

Seems TS on IX doesn't understand what the last post I made is referencing Dan. I copied your response to them and here's what they asked in return:

Quote
Sorry, but could you please contact with your web application developers and verify with them what settings they asking exactly and what information should be provided to you in order to make your application work properly.

Thank you if you can help them help me get this back to working right.
Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #6 on: February 27, 2008, 01:44:15 PM »

The Perl interpreter is displaying warnings of *possible* problems in the script. They are not "errors" and as such should not prevent the script from running.

By setting the proper switches/flags on the shebang used in the script, those warnings will be ignored (as they should be except during a testing phase).

Give them this link so they can read up about the shebang (maybe while you're looking for a new web host?)

LINK > http://en.wikipedia.org/wiki/Shebang_(Unix)

Dan O.
Logged
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« Reply #7 on: February 27, 2008, 06:12:41 PM »

I had not had much problems with this host and any of the scripts up until recently when my calendar, one old database and now a new one started acting quirky. I see blank white pages for the first and last mentioned and rec'd critical error - could not connect to database on the middle one.

Anyhow, here's what they sent back. Really shows me they read as I already address this in the opening note to them:

Quote
This error was caused due to an unexpected difficulty in fulfilling the user request. The most likely cause of this error is a crashed or error'd CGI script or program. Please verify that the program is properly compiled and/or operational and carry out any necessary debugging.
If you are not responsible for this resource, please send a bug-report to the address listed below describing your problem. Please include in the report the date, time, your e-mail address, the website on which this error occured and what you were attempting to do when this error occured. Your compliance is appreciated.
Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« Reply #8 on: February 27, 2008, 07:08:05 PM »

I phoned TS and they created a ticket to look into what could be causing the issue. I went to check the error log and seems the error keeps changing:

Quote
Name "Template::in" used only once: possible typo at calendar.pl line 529.
Name "Template::RANGE_START" used only once: possible typo at calendar.pl line 613.
Name "Template::CALENDAR" used only once: possible typo at calendar.pl line 518.
Name "Template::SEARCH_RESULTS" used only once: possible typo at calendar.pl line 452.
Name "Template::LAST_MONTH_NAME" used only once: possible typo at calendar.pl line 507.
Name "Template::NEXT_MONTH_YEAR" used only once: possible typo at calendar.pl line 504.
Name "Template::User" used only once: possible typo at calendar.pl line 406.
Name "Template::getEvent" used only once: possible typo at calendar.pl line 523.
Use of uninitialized value in string ne at calendar.pl line 251.
Can't call method "get" on an undefined value at calendar.pl line 472.

Anyhow, I found something else strange Dan. I put in the wrong password and still rec'd the blank white page. Is that normal?? Or should I see the error page for wrong passwords??
Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #9 on: February 28, 2008, 02:55:27 AM »

The only time you would likely see a completely blank page is if the script failed to run... for whatever reason.

In fact the blank page you see is likely generated by your browser and not by the script at all. A 'Premature end of script headers' error occurs when the script fails to send any data at all and some browsers (IE in particular) just makes and displays the blank page to be more 'user friendly'. What a browser should do is display an error message like "No output from server" or "Failed to connect" when such a failure occurs.  Roll Eyes

JMO

Dan O.
Logged
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« Reply #10 on: February 28, 2008, 10:30:57 AM »

I mainly use Firefox but logged in on IE and same thing, blank white page. Let em see what they say and then let me tinker over here too.

Thanks always!!
Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« Reply #11 on: February 29, 2008, 05:11:31 AM »

Quote
Sorry, but there were no changes made in your server configuration, so please recheck your issue and error logs on your control panel under Web Options tab with your web developers, since we don't provide any codding/programming support for 3rd party software.

Sounds like I might need to you take your advice about a new host Dan.

Code:
Use of uninitialized value in string ne at calendar.pl line 251. 
Can't call method "get" on an undefined value at calendar.pl line 472. 

Use of uninitialized value in string eq at /hsphere/local/home/REMOVED/REMOVED/cgi-bin/calendarscript/lib/HTML.pm line 122. 
Use of uninitialized value in string eq at /hsphere/local/home/REMOVED/REMOVED/cgi-bin/calendarscript/lib/HTML.pm line 122. 
Use of uninitialized value in string eq at /hsphere/local/home/REMOVED/REMOVED/cgi-bin/calendarscript/lib/HTML.pm line 122. 
Use of uninitialized value in string ne at (eval 1) line 55. 
Use of uninitialized value in print at (eval 1) line 59. 
« Last Edit: February 29, 2008, 05:18:42 AM by Lady Di » Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« Reply #12 on: March 01, 2008, 04:14:03 PM »

I'm really upset that this calendar is not working on this host as I really like their services. But I am wondering will I have similar problems somewhere else??
Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #13 on: March 01, 2008, 11:08:40 PM »

** I am wondering will I have similar problems somewhere else?? **

That will likely depend on the host, the servers they use and how well their service will look after you. It should run on any server which runs Perl.

JMO

Dan O.
Logged
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« Reply #14 on: March 02, 2008, 01:08:43 AM »

Quote
n order to check your script I have added next string into your code:
use CGI::Carp qw[fatalsToBrowser];
From now your script will redirect all fatal errors into browser, so you will be able to see them to debug your application.
If you try to log into your calendar you will see next error message:

Software error:
Can't call method "get" on an undefined value at calendar.pl line 473.

There is a problem with your code and there is no server-side issues there. Please recheck your code once again as we do not provide codding/debugging support. Thank you for your cooperation.

I have no clue what this means but here's the latest message from TS.
Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
Pages: [1] 2   Go Up
Print
Jump to: