[Mapbender-users] MySQL error / possibly encoding?

Simos Dimitrios simos at geo.aegean.gr
Mon Apr 16 04:22:01 EDT 2007



Thank you very much!!! That solved my problem!

-----Αρχικό μήνυμα-----
Από: mapbender_users-bounces at lists.osgeo.org εκ μέρους Veselina Dencheva
Αποστολή: Δευ 16/04/2007 11:06
Προς: Mapbender User List
Θέμα: Re: [Mapbender-users] MySQL error / possibly encoding?
 
Hello,
The problem is not with the encoding. The error is a bug in MapBender
ver. 2.4.1 .

1. You have to save the GetCapabilities document (e.g. getcababilities.xml).
2. Substitute '1.0' with "1.0" in getcababilities1.xml , e.g. if you have
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
substitute with
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

3.  Load it in your webserver (ms4w/Apache/htdocs/getcababilities.xml)

4. and then  instead of
http://localhost/cgi-bin/mapserv.exe?map=...&mode=map&layers=all&REQUEST=GetCapabilities&SERVICE=wms&VERSION=1.1.1
load only
http://localhost/getcababilities.xml
in your MapBender.

V. Dencheva

2007/4/16, Simos Dimitrios <simos at geo.aegean.gr>:
>
>
>
>
>
> Hello all.
>
>  I have installed MySQL and Mapbender and have followed the
>  instructions on how to install Mapbender and configure it.
>
>  When I try to load a WMS I get the following error:
>  file:
> http://195.251.137.115:81/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/service/config.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.0sql
> error: You have an error in your SQL syntax; check the manual that
> corresponds to your MySQL server version for the right syntax to use near
> '1.0' encoding="ISO-8859-1" standalone="no" ?>
>
>  My WMS cababilities link is
> http://195.251.137.115:81/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/service/config.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.0
>
>  I suppose there is a problem with the encoding. I tried to reinstall
> Mapbender database
>  with ISO-8859-1 support, but the error persists. I tried with UTF-8, too,
> but nothing also.
>
>  Can someone help, please?
>
>  Thanx!
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
>


-- 
_______________________________________
Remote Sensing Applications Center (ReSAC)
61 Tzar Assen Str.
1463 Sofia, Bulgaria
Tel: +359 2 9800731
Tel: +359 2 9812231
Fax: +359 2 9818216

e-mail: resac at techno-link.com
URL: www.resac-bg.org
_______________________________________________
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapbender_users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4091 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapbender_users/attachments/20070416/e832cc4a/attachment.bin


More information about the Mapbender_users mailing list