473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

malformed header from script

I am getting this error from server when I try to write a xml file on server using cgi script.

malformed header from script. Bad header=<file><record><Item name="N.bm:

Thanks
Jul 11 '08 #1
4 2190
I am using CGI module to print header. like

print header();
print start_html(-title => "test", -script=>{-src=>$jsurl}),.....
Jul 11 '08 #2
KevinADC
4,059 Expert 2GB
It could be there is a problem in the script before that section of your code. Add this to your program:

use CGI::Carp qw/fatalsToBrowser warningsToBrowser/;

see the CGI::Carp modules documentation for more details.
Jul 11 '08 #3
Thanks for quick reply,


One thing I forgot to tell was that sometimes every thing runs fine and sometimes I get an error:--

malformed header from script. Bad header=<file><record><Item name="N.bm: c:/program files/apache group/apache/cgi-bin/folderbased.cgi


also using cgi::carp does not show some extra errors the errors are same.

Thanks.
Jul 12 '08 #4
KevinADC
4,059 Expert 2GB
Sorry, I don't know what the problem is.
Jul 12 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Margaret MacDonald | last post by:
I'm seeing a problem that has me flummoxed. The only thing I can think of is that I'm violating some rule I don't know about. I have some code that does some processing and then does a...
1
by: Kiran B. | last post by:
hello, Im getting this error everytime i load this page. malformed header from script. Bad header=*** You don't have the (right): c:/program files/apache group/apache/cgi-bin/fig28_18.py I...
8
by: Magnus Lie Hetland | last post by:
According to The Sgmlop Module Handbook , the handle_entityref() callback is called for "malformed character entities". What does that mean, exactly? What is a malformed character entity? I've...
1
by: lawrence | last post by:
Hey, I'm working on a PHP script to make an RSS feed for my weblog. I've got a "malformed" error at this validator: ...
1
by: Patrick Gibbons | last post by:
What I would like to do is create header and footer information for my webpages which are created by calling from a referenced .js page . . . for example in Header.js: <script...
6
by: Jason Collins | last post by:
There seems to be an inconsistency (bug?) in the way the Set-Cookie header is handled by the WebHeaderCollection. That is, the values of Set-Cookie, when an Expires is specified, contain the ","...
1
by: Shalako | last post by:
I check my error log and see these entries: malformed header from script. Bad header= Missing gauge reports are ind: padata.pl /perl/pema/padata.pl did not send an HTTP header malformed...
4
by: Jens | last post by:
Hello, We have several cases where an email, send with the CDO.Message object in ASP, is received malformed at the receiver's e-mail address. code in it. When the message is received at the...
8
by: madevo8 | last post by:
Hi All I am getting a 500 internal server error plus the below message in my log file when trying to execute a script. malformed header from script. Bad header=/home/fhlinux159/f/*domain*:...
4
by: Call Me Tom | last post by:
I was looking at an application with the following code snippet: ob_start(); session_name('foo'); session_start(); if (!$_SESSION) { header("Location: http://" . $_SERVER . dirname($_SERVER)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.