From Charles.Blais@agr.gouv.qc.ca Thu Mar 4 21:56:46 2004 From: Charles.Blais@agr.gouv.qc.ca (Charles.Blais@agr.gouv.qc.ca) Date: Thu, 4 Mar 2004 16:56:46 -0500 Subject: [ms4w-users] problem running apps Message-ID: <6369CE0CFAE7D411AC900002A5092B39EB8909@nclt1-ntcoup1.mapaq.gouv.qc.ca> Hi, I'm using MS4W Base installer 0.8 and I installed 3 applications : CWC2 1.0.5, GMap75 and MapLab 3.0 pre1. On the main MS4W page, I see 3 applictions with some links, but these links are not working, except for CWC2 apps. What I'm doing wrong ? Thanks Charles From bartvde@xs4all.nl Fri Mar 5 13:24:09 2004 From: bartvde@xs4all.nl (Bart van den Eijnden) Date: Fri, 05 Mar 2004 14:24:09 +0100 Subject: [ms4w-users] problem running apps In-Reply-To: <6369CE0CFAE7D411AC900002A5092B39EB8909@nclt1-ntcoup1.mapaq.gouv.qc.ca> References: <6369CE0CFAE7D411AC900002A5092B39EB8909@nclt1-ntcoup1.mapaq.gouv.qc.ca> Message-ID: Hi, did you copy the httpd.conf files for all applications into the /ms4w/httpd.d/ directory and restart Apache? Every application has its own httpd_applicationname.conf file in the /ms4w/httpd.d/ directory. Best regards, Bart On Thu, 4 Mar 2004 16:56:46 -0500, wrote: > Hi, > > I'm using MS4W Base installer 0.8 and I installed 3 applications : CWC2 > 1.0.5, GMap75 and MapLab 3.0 pre1. > > On the main MS4W page, I see 3 applictions with some links, but these > links > are not working, except for CWC2 apps. > > What I'm doing wrong ? > > Thanks > > Charles > _______________________________________________ > ms4w-users mailing list > ms4w-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/ms4w-users > -- From bartvde@xs4all.nl Fri Mar 5 15:47:23 2004 From: bartvde@xs4all.nl (Bart van den Eijnden) Date: Fri, 05 Mar 2004 16:47:23 +0100 Subject: [ms4w-users] problem running apps In-Reply-To: <6369CE0CFAE7D411AC900002A5092B39EB890A@nclt1-ntcoup1.mapaq.gouv.qc.ca> References: <6369CE0CFAE7D411AC900002A5092B39EB890A@nclt1-ntcoup1.mapaq.gouv.qc.ca> Message-ID: Hi, can you compare the aliases in your .conf files with the links set in the pkg.html files. E.g. for Maplab 3.0: in the conf file: Alias /maplab/ "/ms4w/apps/maplab-3.0/htdocs/" in the pkg.html file It could also be that your Maplab application is interfering with your Maplab3 application for instance (as they use the same alias). Try removing the httpd_maplab.conf file and restarting Apache to see if Maplab 3.0 then works. BTW: Are you using the ms4w built-in Apache or your own Apache server? Best regards, Bart On Fri, 5 Mar 2004 09:20:30 -0500, wrote: > Hi, > > Yes I did. The list of file in my /ms4w/httpd.d/ directory is : > - httpd_cwc2.conf > - httpd_gmap.conf > - httpd_maplab.conf > - httpd_maplab3.conf > > Thanks > > Charles > > -----Message d'origine----- > De : Bart van den Eijnden [mailto:bartvde@xs4all.nl] > Envoyé : 5 mars 2004 08:24 > À : Blais Charles (DRCQ) (Nicolet); ms4w-users@lists.maptools.org > Objet : Re: [ms4w-users] problem running apps > > > Hi, > > did you copy the httpd.conf files for all applications into the > /ms4w/httpd.d/ directory and restart Apache? > > Every application has its own httpd_applicationname.conf file in the > /ms4w/httpd.d/ directory. > > Best regards, > Bart > > On Thu, 4 Mar 2004 16:56:46 -0500, wrote: > >> Hi, >> >> I'm using MS4W Base installer 0.8 and I installed 3 applications : CWC2 >> 1.0.5, GMap75 and MapLab 3.0 pre1. >> >> On the main MS4W page, I see 3 applictions with some links, but these >> links >> are not working, except for CWC2 apps. >> >> What I'm doing wrong ? >> >> Thanks >> >> Charles >> _______________________________________________ >> ms4w-users mailing list >> ms4w-users@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/ms4w-users >> > > > -- From bartvde@xs4all.nl Fri Mar 5 17:34:08 2004 From: bartvde@xs4all.nl (Bart van den Eijnden) Date: Fri, 05 Mar 2004 18:34:08 +0100 Subject: [ms4w-users] problem running apps In-Reply-To: <6369CE0CFAE7D411AC900002A5092B39EB890C@nclt1-ntcoup1.mapaq.gouv.qc.ca> References: <6369CE0CFAE7D411AC900002A5092B39EB890C@nclt1-ntcoup1.mapaq.gouv.qc.ca> Message-ID: Hi, try changing your links in the pkg.html file to mapserv_40.exe? instead of mapserv_40? should be: Also verify if the Mapserver CGI you have in the cgi-bin directory is named "mapserv_40.exe" and not e.g. mapserv_41.exe or mapserv.exe. Best regards, Bart On Fri, 5 Mar 2004 11:57:48 -0500, wrote: > Hi Bart, > > You got it ! (for maplab). I deleted httpd_maplab.conf and now maplab is > working. Great > > But for GMap application, the links below "GMap OGC WMS Server Instances" > and "GMap OGC WFS Server Instances" are not working yet. The only thing > working is when I choose the link below "GMap (PHP MapScript Sample > Application)" and then select : gmap75.phtml. Notice that when I select > gmap75.php3 the result is "Fatal error: Call to undefined function: > ms_getversion() in C:\ms4w\apps\gmap\htdocs\gmap75.php3 on line 51" > Thanks > Charles > Also, > > for GMap: > > I compared the files: > > conf file: > Alias /gmap/ "/ms4w/apps/gmap/htdocs/" > > in the pkg.html file > ****************************** > GMap OGC WMS Server Instances > OnlineResource: > > > GetCapabilities: > href="/cgi-bin/mapserv_40?map=/ms4w/apps/gmap/htdocs/gmap75_wms.map&version= > 1.1.0&request=GetCapabilities"> > > GetMap > href="/cgi-bin/mapserv_40?map=/msroot/apache/htdocs/gmap/htdocs/gmap75_wms.m > ap&version=1.1.0&request=GetMap"> > > GMap OGC WFS Server Instances > OnlineResource: > href="/cgi-bin/mapserv_40?map=/ms4w/apps/gmap/htdocs/gmap75_wfs.map&service= > WFS&">40?map=/ms4w/apps/gmap/htdocs/gmap75 > > GetCapabilities: > href="/cgi-bin/mapserv_40?map=/ms4w/apps/gmap/htdocs/gmap75_wfs.map&version= > 1.0.0&service=WFS&request=GetCapabilities"> > > GetFeature > href="/cgi-bin/mapserv_40?map=/ms4w/apps/gmap/htdocs/gmap75_wfs.map&service= > WFS&version=1.0.0&request=GetFeature"> > ******************************** > > > > I'm using the ms4w built-in Apache. > > Thanks > > Charles > > > -----Message d'origine----- > De : Bart van den Eijnden [mailto:bartvde@xs4all.nl] > Envoyé : 5 mars 2004 10:47 > À : Blais Charles (DRCQ) (Nicolet) > Cc : ms4w-users@lists.maptools.org > Objet : Re: [ms4w-users] problem running apps > > > Hi, > > can you compare the aliases in your .conf files with the links set in the > pkg.html files. > > E.g. for Maplab 3.0: > > in the conf file: > Alias /maplab/ "/ms4w/apps/maplab-3.0/htdocs/" > > in the pkg.html file > > > It could also be that your Maplab application is interfering with your > Maplab3 application for instance (as they use the same alias). Try > removing the httpd_maplab.conf file and restarting Apache to see if > Maplab > 3.0 then works. > > BTW: Are you using the ms4w built-in Apache or your own Apache server? > > Best regards, > Bart > > On Fri, 5 Mar 2004 09:20:30 -0500, wrote: > >> Hi, >> >> Yes I did. The list of file in my /ms4w/httpd.d/ directory is : >> - httpd_cwc2.conf >> - httpd_gmap.conf >> - httpd_maplab.conf >> - httpd_maplab3.conf >> >> Thanks >> >> Charles >> >> -----Message d'origine----- >> De : Bart van den Eijnden [mailto:bartvde@xs4all.nl] >> Envoyé : 5 mars 2004 08:24 >> À : Blais Charles (DRCQ) (Nicolet); ms4w-users@lists.maptools.org >> Objet : Re: [ms4w-users] problem running apps >> >> >> Hi, >> >> did you copy the httpd.conf files for all applications into the >> /ms4w/httpd.d/ directory and restart Apache? >> >> Every application has its own httpd_applicationname.conf file in the >> /ms4w/httpd.d/ directory. >> >> Best regards, >> Bart >> >> On Thu, 4 Mar 2004 16:56:46 -0500, wrote: >> >>> Hi, >>> >>> I'm using MS4W Base installer 0.8 and I installed 3 applications : CWC2 >>> 1.0.5, GMap75 and MapLab 3.0 pre1. >>> >>> On the main MS4W page, I see 3 applictions with some links, but these >>> links >>> are not working, except for CWC2 apps. >>> >>> What I'm doing wrong ? >>> >>> Thanks >>> >>> Charles >>> _______________________________________________ >>> ms4w-users mailing list >>> ms4w-users@lists.maptools.org >>> http://lists.maptools.org/mailman/listinfo/ms4w-users >>> >> >> >> > > > -- From andrecruvinel@yahoo.com.br Tue Mar 9 16:36:14 2004 From: andrecruvinel@yahoo.com.br (=?iso-8859-1?q?Andre=20Cruvinel=20Resende?=) Date: Tue, 9 Mar 2004 13:36:14 -0300 (ART) Subject: [ms4w-users] MS4W - Mapserver-4.1 with PostGis! Message-ID: <20040309163614.50481.qmail@web13425.mail.yahoo.com> Hello, Are you planning to built a mapserv_41.exe with support to POSTGIS to use in ms4w? I´m having some problems to load data from postgis. And at postgis-list they tell me to get the latest cvs of mapserver, but i don´t have experience in compiling and a compiler on my XP. My setting are: On a XP - MS4W, and on a RedHat 9 the postgres+postgis; When i use the mapserv_40.exe this error: " msDrawMap(): Image handling error. Failed to draw layer named 'uf'. " So, i try 4.0.1 msDrawMap(): Image handling error. Failed to draw layer named 'uf'. prep_DB(): Query error. Error executing POSTGIS DECLARE (the actual query) statement: 'DECLARE mycursor BINARY CURSOR FOR SELECT REGIAO::text,asbinary(force_collection(force_2d()),'NDR'),OID::text from WHERE && setSRID('BOX3D(-59.9659 -33.751,-45.7011 -22.516)'::BOX3D, find_srid('','','') )' After i try the mapserv_41.exe this error: "msDrawMap(): Image handling error. Failed to draw layer named 'uf'. msPOSTGISLayerOpen(): Query error. msPOSTGISLayerOpen called but unimplemented! (mapserver not compiled with postgis support) " Any suggestion? Thanks... Andre ______________________________________________________________________ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html