P.Z. Low Cost CPanel Web Hosting  

Go Back   P.Z. Low Cost CPanel Web Hosting > Page-Zone Web Hosting Main Forum > General FAQ > General Questions and Comments

General Questions and Comments Post your question or grace us with your knowledge. Posting limited to registered members.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Problems running a perl cgi script
Old
  (#1 (permalink))
sunshin
Registered User
sunshin is on a distinguished road
 
Status: Offline
Posts: 1
Join Date: Oct 2003
Rep Power: 0
Problems running a perl cgi script - 10-09-2003, 12:58 AM

I'm attempting to install the My Photo Album perl software on my web account and am having limited success. I have all of the necessary files installed and am able to bring up some portions of there configuration interface, however the main application page and most of the configuration pages return Internal errors from apache. The error log says:

Premature end of script headers: /home/sunshin/public_html/cgi-bin/photo/index.cgi

I do not have shell access for my account so it's difficult for me to debug what is happening. Any help or suggestions would be greatly appreciated. The URL to see the error is:

http://sunshinelady.net/cgi-bin/photo/index.cgi
   
Reply With Quote
Old
  (#2 (permalink))
midwest
blink and it's over
midwest will become famous soon enough
 
midwest's Avatar
 
Status: Offline
Posts: 802
Join Date: Oct 2002
Location: Big Sky, MT
Rep Power: 78
10-10-2003, 04:43 PM

try adding this line right after the bang line(#!/usr/bin/perl)

use CGI::carp qw(carpout fatalstobrowser);

This will output a more meaingful error


Ronnie Gauthier
www.instaguide.com

======================
for official page-zone support please visit
www.page-zone.com/support.shtml
   
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
sshd not running on root14? JEDavis General Questions and Comments 0 11-15-2006 03:05 PM
Perl/ PHP david General Questions and Comments 1 08-07-2006 09:19 PM
running a Perl script nleco General Questions and Comments 1 01-04-2003 07:53 PM
Perl? DWalley General Questions and Comments 2 09-21-2002 01:42 PM
IMAP services running Jim Announcements 0 08-25-2002 07:06 AM


Live Help



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
vBulletin Skin developed by: vBStyles.com
Copyright © 2002 Page-Zone Web Hosting. All rights reserved.
Smilies provided by Crack's Smilies http://www.mysmilies.com