[Mapserver-users] premature end of script headers (php)
Charlton Purvis
cpurvis at asgnet.psc.sc.edu
Mon Feb 10 14:05:24 PST 2003
This is a multi-part message in MIME format.
------_=_NextPart_001_01C2D150.82D37D40
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi, folks:
=20
I've taken the list's advice and am forgoing "premature optimization"
(for now), so I'm simply trying to render my shapefile and its classes
rather than display a jagged TIFF.
=20
I'm running into a problem, though, and I haven't found a solution by
searching the archives or web.
=20
I have about 120 classes I need defined in my .map file so that they can
appear as different colors (different elevations). Well, all is well if
I display something like 50 of those classes. But when I try to display
the 51st, all goes to pot, and I get an internal server error. I've
made sure that my classes are intact and syntactically correct. As long
as I don't go above the total of 50 classes, I'm fine.
=20
My php log doesn't produce anything (I've got all the errors on in
php.ini).
=20
Apache log only has "Premature end of script headers:
/var/www/cgi-bin/php".
=20
I read somewhere that there is a maximum number of characters that can
be passed to php. Is this correct? If so, what can I do to get around
this problem.
=20
I'm working from w/i MapLab, so I don't interact w/ the scripts much.
=20
Any advice appreciated.
=20
Thanks,
=20
Charlton
=20
=20
=20
=20
Charlton Purvis
(803) 777-4453 : voice
(803) 777-8833 : fax
cpurvis at sc.edu
=20
Advanced Solutions Group
Department of Physics and Astronomy
University of South Carolina
Columbia, SC 29208
=20
------_=_NextPart_001_01C2D150.82D37D40
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml at 01C2D126.99EEED50">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PostalCode"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"State"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PlaceName"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PlaceType"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"place"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:DrawingGridHorizontalSpacing>6 pt</w:DrawingGridHorizontalSpacing>
=
<w:DisplayHorizontalDrawingGridEvery>2</w:DisplayHorizontalDrawingGridEve=
ry>
=
<w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:Arial;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
span.EmailStyle17
{mso-style-type:personal-compose;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>Hi, folks:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>I’ve taken the list’s advice and =
am forgoing
“premature optimization” (for now), so I’m simply =
trying to render
my shapefile and its classes rather than display a jagged =
TIFF.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>I’m running into a problem, though, =
and I haven’t
found a solution by searching the archives or =
web.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>I have about 120 classes I need defined in =
my .map file
so that they can appear as different colors (different elevations). =
<span
style=3D'mso-spacerun:yes'> </span>Well, all is well if I display =
something like
50 of those classes. <span style=3D'mso-spacerun:yes'> </span>But =
when I try
to display the 51<sup>st</sup>, all goes to pot, and I get an internal =
server error.
<span style=3D'mso-spacerun:yes'> </span>I’ve made sure that =
my classes
are intact and syntactically correct. <span
style=3D'mso-spacerun:yes'> </span>As long as I don’t go =
above the total
of 50 classes, I’m fine.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>My php log doesn’t produce anything =
(I’ve
got all the errors on in php.ini).<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>Apache log only has “Premature end of =
script
headers: /var/www/cgi-bin/php”.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>I read somewhere that there <span =
class=3DGramE>is</span>
a maximum number of characters that can be passed to php.<span
style=3D'mso-spacerun:yes'> </span>Is this correct?<span
style=3D'mso-spacerun:yes'> </span>If so, what can I do to get =
around this <span
class=3DGramE>problem.</span><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>I’m working from w/i MapLab, so I =
don’t
interact w/ the scripts much.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>Any advice =
appreciated.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>Thanks,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'>Charlton<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-bidi-font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-no-proof:yes'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-no-proof:yes'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-no-proof:yes'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
mso-bidi-font-family:Arial;mso-no-proof:yes'>Charlton =
Purvis</span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
mso-bidi-font-family:Arial;mso-no-proof:yes'>(803) 777-4453 : =
voice</span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
mso-bidi-font-family:Arial;mso-no-proof:yes'>(803) 777-8833 : =
fax</span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
mso-bidi-font-family:Arial;mso-no-proof:yes'><a =
href=3D"mailto:cpurvis at sc.edu">cpurvis at sc.edu</a></span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
mso-no-proof:yes'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
mso-bidi-font-family:Arial;mso-no-proof:yes'>Advanced Solutions =
Group<br>
Department of Physics and Astronomy<br>
</span></font><st1:place><st1:PlaceType><font size=3D1><span =
style=3D'font-size:
=
7.5pt;mso-bidi-font-family:Arial;mso-no-proof:yes'>University</span></fon=
t></st1:PlaceType><font
size=3D1><span =
style=3D'font-size:7.5pt;mso-bidi-font-family:Arial;mso-no-proof:
yes'> of </span></font><st1:PlaceName><font size=3D1><span =
style=3D'font-size:
7.5pt;mso-bidi-font-family:Arial;mso-no-proof:yes'>South =
Carolina</span></font></st1:PlaceName></st1:place><font
size=3D1><span =
style=3D'font-size:7.5pt;mso-bidi-font-family:Arial;mso-no-proof:
yes'><br>
</span></font><st1:place><st1:City><font size=3D1><span =
style=3D'font-size:7.5pt;
=
mso-bidi-font-family:Arial;mso-no-proof:yes'>Columbia</span></font></st1:=
City><font
size=3D1><span =
style=3D'font-size:7.5pt;mso-bidi-font-family:Arial;mso-no-proof:
yes'>, </span></font><st1:State><font size=3D1><span =
style=3D'font-size:7.5pt;
=
mso-bidi-font-family:Arial;mso-no-proof:yes'>SC</span></font></st1:State>=
<font
size=3D1><span =
style=3D'font-size:7.5pt;mso-bidi-font-family:Arial;mso-no-proof:
yes'> </span></font><st1:PostalCode><font size=3D1><span =
style=3D'font-size:7.5pt;
=
mso-bidi-font-family:Arial;mso-no-proof:yes'>29208</span></font></st1:Pos=
talCode></st1:place><o:p></o:p></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
=00
------_=_NextPart_001_01C2D150.82D37D40--
More information about the MapServer-users
mailing list