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: Blank calender_admin screen  (Read 614 times)
0 Members and 1 Guest are viewing this topic.
nrbeard
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: January 20, 2006, 08:41:00 PM »

I have installed the files on my server.  calender.pl works fine and debug.pl comes back successful.  But calendar_admin.pl comes back with a blank screen, no error, no nothing.

I have gone through and made sure that all permissions are open (for the time being):

calendar and calendar_admin are -rwxr-xr-x
all sub-folders and files in calendarscript are drwxrwxrwx or -rwxrwxrwx

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 20, 2006, 09:23:00 PM »

** calendar_admin.pl comes back with a blank screen, no error, no nothing. **

If you're viewing using IE, the script is probably returning nothing at all and IE is making that blank page you see itself rather than the script outputting it.  

It sounds like the script is terminating prematurely.... for whatever reason. You'll need to check the server error logs to see if a detailed error message was recorded. If not, try running the script from the command line (telnet, SSH, etc.) to see what errors Perl reports. Once you have that error message, if you post it here we may be able to tell you the problem.

JMO

Dan O.

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

Logged
nrbeard
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: January 22, 2006, 08:46:00 PM »

Under what my host is saying is an erro rlog, there is nothing.  But what they calssify as a transfer log, I find the following:

(IP Address) - - [22/Jan/2006:20:41:00 -0600] "GET /cgi-bin/calendar_admin.pl HTTP/1.1" 200 5 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"

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

Logged
nrbeard
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #3 on: January 22, 2006, 08:53:00 PM »

My host doesn't allow shell access, so I am unable to get any errors that way.

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

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: January 23, 2006, 02:16:00 AM »

** what they calssify as a transfer log **

That looks like just an access log and will be of no help.

** My host doesn't allow shell access **

Maybe to you but they should be able to try running it for you. Try asking them.

There's not a lot I can suggest without more information.  

Dan O.

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

Logged
nrbeard
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #5 on: January 23, 2006, 07:34:00 AM »

I posted a request for them to urn it at the same time I posted my last reply here.  Here is what they have replied with:

When sub exitGracefully() is modified to not exit silently (we'd prefer to have at least $! passed back to caller(??), and CGI::Carp qw(fatalsToBrowser warningsToBrowser) is set, it show the following: http://www.(domain).com/cgi-bin/calendar_admin.pl
"Can't call method "hasPermission" on an undefined value at calendar_admin.pl line 214, <COMMANDLIST> line 4."
below the rendered page.
A note: when cgi script terminating prematurely, status 500 will be returned to client always.

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

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: January 23, 2006, 12:22:00 PM »

I'm afraid I have no idea what would cause such an error, maybe one of the files was corrupted during the upload? Have you tried re-uploading the files making sure its done in ascii mode?

BTW. do not rely on FTP clients 'auto detect' mode for ascii/binary detection.

JMO

Dan O.

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

Logged
nrbeard
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #7 on: January 23, 2006, 01:54:00 PM »

I moved the files over, again.

This time I get the admin page to display correctly, but I get the follwoing error when trying to log in as Administrator:

Username not found in database: Administrator.  I have checked teh users.txt file and it includes both the Administrator and anonymous

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #8 on: January 23, 2006, 04:39:00 PM »

** Username not found in database: Administrator. I have checked the users.txt file and it includes both the Administrator and anonymous **

It may be looking in the wrong place for the files. Does the debug.pl file still report Ok?

If it does, all I can think of is possibly incorrect file or directory permissions not allowing the script to open the file.

Dan O.

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

Logged
nrbeard
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #9 on: January 23, 2006, 10:14:00 PM »

I ended up deleting all previously installed files, redownloading the zip, unpacking, changing the asc to ascii in the ftpscript.txt file and re-installing.  It appears that everything is now working.

thank you.

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #10 on: January 24, 2006, 02:57:00 AM »

Glad to hear it.

Dan O.

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

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