[Mapserver-users] PostGIS Query Results

Pericles S. Nacionales nacional at cbs.umn.edu
Mon Aug 18 15:03:43 PDT 2003


Damian,

Just as I thought.  Check your error log as it will surely contain
relevant info about what's causing this "internal error".  Your
application is just fine, I think you're missing a library required by
MapServer (possibly libpq.so).  This could also be due to having
duplicate copies of some libraries (or having compiled against different
versions of libraries?).

I don't use PHP/MapScript so others could probably give you more
specific pointers as to what could cause this problem.

-Perry

On Mon, 2003-08-18 at 16:17, Damian Schroder wrote:
> Below is my error message from preforming a query with
> PostGIS data layers. Mapserver/Rosa is working great
> in that all my vector based data is being displayed. I
> have other PHP application accessing Postgresql easy
> enough. It is something with Rosa/PHP/Mapscript, but
> not sure where.
> 
> TIA 
> 
> ----
> Internal Server Error
> The server encountered an internal error or
> misconfiguration and was unable to complete your
> request.
> 
> Please contact the server administrator,
> webmaster at localhost and inform them of the time the
> error occurred, and anything you might have done that
> may have caused the error.
> 
> More information about this error may be available in
> the server error log.
> 
> Apache/1.3.27 Server at localhost Port 80
> ----
> 
> --- "Pericles S. Nacionales" <nacional at cbs.umn.edu>
> wrote:
> > And what might the message be?  Without knowing
> > where to start, I'll
> > shoot blindly and claim that your error is due to
> > missing PostGIS client
> > library. :)  If not, then I would say you forgot to
> > update all your
> > libraries and application files.  I tell you this
> > because they are the
> > two most common problems that people seem to run
> > into these days.
> > 
> > But really, what does the error message say?  Don't
> > forget to check
> > Apache's error log as well.
> > 
> > Good luck!
> > Perry N.
> > 
> > 
> > On Mon, 2003-08-18 at 14:49, Damian Schroder wrote:
> > > I originally built a site (PHP/MapScript)
> > accessing
> > > shapefiles. Using the ROSA applet the query worked
> > > fine. Now that I switched over to PostGIS it
> > doesn't
> > > work and returns a server error(apache style).
> > Does
> > > anyone have any ideas why this would happen? (RH9
> > &
> > > Mapserver 4.0b)
> > > 
> > > TIA
> > > 
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! SiteBuilder - Free, easy-to-use web site
> > design software
> > > http://sitebuilder.yahoo.com
> > > _______________________________________________
> > > Mapserver-users mailing list
> > > Mapserver-users at lists.gis.umn.edu
> > >
> >
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > -- 
> > Pericles S. Nacionales <nacional at cbs.umn.edu>
> > University of Minnesota
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
-- 
Pericles S. Nacionales <nacional at cbs.umn.edu>
University of Minnesota



More information about the MapServer-users mailing list