Hi, I changed the php.ini file, but I still contunue with the error, I can't display postgis layers. The message in the error.log file is:
[Tue Mar 20 15:58:22 2007] [error] [client 127.0.0.1] FAILURE!!!FAILURE!!! [Tue Mar 20 15:58:27 2007] [error] [client 127.0.0.1] FAILURE!!!FAILURE!!! [Tue Mar 20 15:58:40 2007] [error] [client 127.0.0.1] FAILURE!!!, referer: http://localhost/mapserver/map.phtml How can I know if the problem is with postqresql connection? Any idea, Thanks. Isa Armin Burger wrote: > > you could try this > > http://svn.pmapper.net/trac/wiki/DocQuickinstall#PHP.INI > > armin > >> >> Hi, >> I've tried both things. >> First y moved "the_geom FROM landsat AS foo USING UNIQUE gid using srid = >> 4326" to >> DATA "the_geom from landsat" and it does not work. >> Then I've looked for Apache error-log in ms4w\Apache\logs and i got two >> errors: >> >> [Mon Mar 19 12:57:02 2007] [error] [client 127.0.0.1] Incorrect setting >> for >> 'error_log' in 'php.ini'. Set to a valid file name. >> [Mon Mar 19 12:57:13 2007] [error] [client 127.0.0.1] FAILURE!!!, >> referer: >> http://localhost/mapserver/map.phtml >> >> I've been looking in the php.ini, but I don't know what to do...Could >> you >> explain me a little more? >> >> Thanks a lot >> Isa >> >> >> >> Salvator*eL*arosa wrote: >> > >> > >> > isaisa wrote: >> >> >> >> Hi, >> >> I'm a new user of mapserver, pmapper 3.1-beta3 and postgis layers. I >> am >> >> working with postgis data and shapefiles at the same time. I can view >> the >> >> shapefiles but not the postgis layers (I' can view the name of the >> >> postgis layers in the legend but not in the map zone) What am I doing >> >> wong? >> >> >> >> I creted my *.map using a extension for arcview 3.2, just for the >> >> shapefiles layers, then I added the postgis layers. >> >> My postgis layers were creted with shp2pgsql extension and I have a >> gid >> >> column but not a OID column. >> >> >> >> Some of the layers I'am using in my *.map are: >> >> >> >> >> >> Thanks very much and sorry about my English >> >> >> >> >> > >> > Hi isaisa, >> > Did you watch to your apache error-log or php error-log files? >> > Can you try to replace DATA "the_geom FROM landsat AS foo USING UNIQUE >> gid >> > using srid = 4326" with >> > DATA "the geom from landsat"? >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/pmapper-and-postgis-tf3426156.html#a9550897 >> Sent from the pmapper users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users > > -- > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > -- View this message in context: http://www.nabble.com/pmapper-and-postgis-tf3426156.html#a9574341 Sent from the pmapper users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users