[Mapserver-users] Mapscript, Debian & Server Error
Vincenzo Patruno
patruno at istat.it
Wed Feb 18 06:13:36 PST 2004
This is a multi-part message in MIME format.
------=_NextPart_000_003F_01C3F631.C8099F10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all!
Unfortunately two weeks ago my server said me "goodbye" and crashed. =
(Hard Disk problem)
So I found a new server and I began installing all software I needed.
So I installed Mapserver - Mapscript 3.6.7 (My application uses =
'addcolor' that isn't supported by Mapserver 4)
and I installed also PHP (4.2.3, but I installed also all versions up to =
4.3.4)
You can check the system clicking on
http://www.geodemo.istat.it/test.php
and
http://www.geodemo.istat.it/itasca/demo_init.html
But when I test my application The system has a strange behaviour
If you go to
http://www.geodemo.istat.it/gpop2001/index_e.orig.php
and click "Map" the system display correctely a map
This appens also if you select "All provinces" and "All Regions" on the =
left side of the screen
But if you select a Geographical area other than "Italy" and you click =
"Map" the system display an error.
In the error_log file you can find: "Premature end of script headers: =
/usr/local/apache/cgi-bin/php"
We have the same problem using maplab.=20
http://www.geodemo.istat.it/maplab/htdocs/index.phtml
If you open the tutorial project and you want to display the preview of =
the mapfile, you obtain the same error.
I think the problem is related somehow to display more than one layer.
Infact, in "Geodemo" application the system fails exactly when more than =
one layer sould be displayed
(This happens also if you zoom in)
Any idea?
... On the new system I installed last version of Debian (3.0) while I =
used Red Hat 7.3 on the previous system
Thanks in advance
V
------=_NextPart_000_003F_01C3F631.C8099F10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>Hi all!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Unfortunately two weeks ago my server =
said me=20
"goodbye" and crashed. (Hard Disk problem)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>So I found a new server and I began =
installing all=20
software I needed.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>So I installed Mapserver - Mapscript =
3.6.7 (My=20
application uses 'addcolor' that isn't supported by Mapserver =
4)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and I installed also PHP (4.2.3, but I =
installed=20
also all versions up to 4.3.4)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>You can check the system clicking =
on</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.geodemo.istat.it/test.php">http://www.geodemo.istat.it=
/test.php</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>and</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.geodemo.istat.it/itasca/demo_init.html">http://www.geo=
demo.istat.it/itasca/demo_init.html</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>But when I test my application The =
system has a=20
strange behaviour</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If you go to</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.geodemo.istat.it/gpop2001/index_e.orig.php">http://www=
.geodemo.istat.it/gpop2001/index_e.orig.php</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>and click "Map" the system display =
correctely a=20
map</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>This appens also if you select "All =
provinces" and=20
"All Regions" on the left side of the screen</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>But if you select a Geographical area =
other than=20
"Italy" and you click "Map" the system display an error.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>In the error_log file you can =
find:=20
"Premature end of script headers: =
/usr/local/apache/cgi-bin/php"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>We have the same problem using maplab.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </DIV>
<DIV><A=20
href=3D"http://www.geodemo.istat.it/maplab/htdocs/index.phtml">http://www=
.geodemo.istat.it/maplab/htdocs/index.phtml</A></DIV>
<DIV>If you open the tutorial project and you want to display the =
preview of the=20
mapfile, you obtain the same error.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I think the problem is related somehow to display more than one=20
layer.</DIV>
<DIV>Infact, in "Geodemo" application the system fails exactly when more =
than=20
one layer sould be displayed</DIV>
<DIV>(This happens also if you zoom in)</DIV>
<DIV> </DIV>
<DIV>Any idea?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>... On the new system I installed last version of Debian (3.0) =
while I used=20
Red Hat 7.3 on the previous system<BR></DIV></FONT>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>V</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></DIV></BODY></HTML>
------=_NextPart_000_003F_01C3F631.C8099F10--
More information about the MapServer-users
mailing list