Hi, Did you checkout everything from Github recently, incl. the complete libs directory? We had a migration from OpenLayers 2.10 to 2.12 recently.
Maybe there is still an old OpenLayers around in your javascript source tree? Also, you said that you are using GetCapabilities and not GetProjectSettings - any chance you can use a newer QGIS server that supports GetProjectSettings. We are more and more building on GetProjectSettings instead of GetCapabilities and you will miss functionality if you are still use GetCapabilities. I think it may be best if you could make your QGIS server somewhere available so I could debug your problem and see your js sources. Andreas Am 27.03.2013 13:59, schrieb Jan Koopmann: > Hi, > I renamed the GlobalOptions.js before. > > Looking at the console it gives me the following error: > """ > TypeError: OpenLayers.Format.OWSCommon is not a constructor > http://localhost/qgis-web-client/site/libs/openlayers/OpenLayers.js > Line 967: > var root=data.documentElement;var > exceptionInfo={exceptionReport:null};if(root){this.readChildNodes(data,exceptionInfo);if(exceptionInfo.exceptionReport===null){exceptionInfo=new > OpenLayers.Format.OWSCommon().read(data);}} > """ > Do you know anything about that? > > Greetings, > Jan! > > 2013/3/27 Andreas Neumann [via OSGeo.org] < > [email protected]> > >> Hi Jan, >> >> Do you see any Javascript error messages in the Javascript Console of >> your browser? >> >> Did you rename the GlobalOptions.js.template to GlobalOptions.js ? >> >> Andreas >> >> On Wed, 27 Mar 2013 05:39:14 -0700 (PDT), Jan Koopmann wrote: >> >>> Hello! >>> >>> Showing the layers as a WMS in QGIS 1.8.0 is working now. >>> A restart was good. >>> >>> Because of the GlobalOptions.js-settings, I misspelled that in the >>> post. >>> Sorry. >>> Correctly the ServerAndCGI-var was set to "/qgis/qgis_mapserv.fcgi". >>> >>> The ScripAlias in the qgis_mapserver.conf is pointing to the right >>> dir. >>> >>> I worked with the Firebug-Extension in Firefox. >>> Following the GetCapabilities-request shown in the network-tab is >>> working. >>> The shown answer in the answer-tab is the same as running it >>> manually. >>> >>> I am trying to publish a link to the server this afternoon. >>> >>> If you have any more suggestions before, I woukd be very welcome. >>> >>> Greetings, >>> Jan! >>> >>> >>> >>> >>> -- >>> View this message in context: >>> >>> >> http://osgeo-org.1560.n6.nabble.com/QGIS-web-client-on-centos-tp5043049p5043273.html >>> Sent from the Quantum GIS - User mailing list archive at Nabble.com. >>> _______________________________________________ >>> Qgis-user mailing list >>> [hidden email] <http://user/SendEmail.jtp?type=node&node=5043274&i=0> >>> http://lists.osgeo.org/mailman/listinfo/qgis-user >> >> -- >> -- >> Andreas Neumann >> Böschacherstrasse 10A >> 8624 Grüt (Gossau ZH) >> Switzerland >> _______________________________________________ >> Qgis-user mailing list >> [hidden email] <http://user/SendEmail.jtp?type=node&node=5043274&i=1> >> http://lists.osgeo.org/mailman/listinfo/qgis-user >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://osgeo-org.1560.n6.nabble.com/QGIS-web-client-on-centos-tp5043049p5043274.html >> To unsubscribe from QGIS web client on centos, click >> here<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5043049&code=amFuX2tvb3BtYW5uQHdlYi5kZXw1MDQzMDQ5fDE2Mjg2ODEwMjY=> >> . >> NAML<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/QGIS-web-client-on-centos-tp5043049p5043280.html > Sent from the Quantum GIS - User mailing list archive at Nabble.com. > > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user > _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
