<div dir="ltr"><div><div><div>hello charles,<br></div><br>check your curl connection - is the server able to get urls from the given ip s and ports?<br></div>do you work via proxy?<br></div>here is our connection configuration (mapbender.conf)<br>
<br># --------------------------------------------
<br># type of server-connection
<br># curl, socket, http
<br># --------------------------------------------
<br>define("CONNECTION", "curl");
<br>#define("CONNECTION", "http");
<br>#define("CONNECTION", "socket");
<br><br>define("CONNECTION_PROXY", "XX.XX.XX.XX"); // ip
<br>define("CONNECTION_PORT", "8080"); // port
<br>#define("CONNECTION_PROXY", ""); // ip
<br>#define("CONNECTION_PORT", ""); // port
<br>#define("CONNECTION_USER", ""); // user
<br>define("CONNECTION_PASSWORD", ""); // password
<br>define("CONNECTION_USERAGENT", "Mapbender");
<br> <br># --------------------------------------------
<br># HOSTs not for Proxy (curl)
<br># --------------------------------------------
<br>define("NOT_PROXY_HOSTS", "localhost,127.0.0.1");
<br><br><div><div>we work via proxy.<br></div><div>if you have no proxy you have to define empty strings like:<br><br>define("CONNECTION_PROXY", ""); // ip
<br>define("CONNECTION_PORT", ""); // port
<br><br></div><div>i think, that your server has no connection to the network - or no php-curl module installed? (php5-curl)<br><br></div><div>please test to load the capabilities url via wget or curl at the shell. to use a proxy you may have first set the proxy environment:<br>
<br></div><div>export http_proxy=http://YOURPROXYIP:YOURPROXYPORT<br><br>wget -O /tmp/test1.xml '<a href="http://190.0.131.104:8080/geoserver/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1">http://190.0.131.104:8080/geoserver/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1</a>'<br>
<br></div><div><br></div><div>if the url can be loaded via curl you may have <a href="http://s.th">s.th</a>. to to with the missing library.<br><br></div><div>regards<br><br>armin<br></div><div><br><br><br></div><div><br>
</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/20 Charles Nievas <span dir="ltr"><<a href="mailto:cnievas-npm@adinet.com.uy" target="_blank">cnievas-npm@adinet.com.uy</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When i try to load wms from local geoserver mapbender tell me<br>
<br>
file: <a href="http://127.0.0.1:8080/geoserver/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1sql" target="_blank">http://127.0.0.1:8080/<u></u>geoserver/wms?REQUEST=<u></u>GetCapabilities&SERVICE=WMS&<u></u>VERSION=1.1.1sql</a> error: ERROR: no existe una sentencia preparada sin nombre ROLLBACK performed....<br>
<br>
Thanks very much<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Mapbender_users mailing list<br>
<a href="mailto:Mapbender_users@lists.osgeo.org" target="_blank">Mapbender_users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapbender_users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/mapbender_<u></u>users</a><br>
</div></div></blockquote></div><br></div>