[Cartoweb-users] Views problem: Views don't show up.

Kurt Gerber kurt.gerber at cde.unibe.ch
Wed Nov 19 07:48:31 EST 2008


Hi

On cartoweb 3.5, mapserver 5.x I have enabled views. 
In client.ini I have made the following settings:

; views configuration
viewOn = true
viewStorage = file
viewAuth = loggedIn
viewablePlugins = location, layers, outline
viewMetas = author

Now I can store views as authenticated user. This works fine.

But when I try to show a view out of the views drop-down, I receive an
error instead of the map.

I have attached the error message.

Can anybody tell me, what I did wrong?


Regards

Kurt Gerber 



*******************************************

Centre for Development and Environment
Institute of Geography University Bern
3012 Bern
 
www: http://www.cde.unibe.ch

********************************************   
-------------- next part --------------
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 7: parser error : StartTag: invalid element name in /var/www/cartoweb3/client/Views.php on line 635

Warning: simplexml_load_string() [function.simplexml-load-string]: ev_class_0";O:10:"LayerClass":9:{s:2:"id";s:12:"elev_class_0";s:5:"label";s:6:"< in /var/www/cartoweb3/client/Views.php on line 635

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /var/www/cartoweb3/client/Views.php on line 635

Notice: Trying to get property of non-object in /var/www/cartoweb3/client/Views.php on line 637

Warning: Invalid argument supplied for foreach() in /var/www/cartoweb3/client/Views.php on line 637

Fatal error: Uncaught exception 'CartocommonException' with message 'Error [2, Cannot modify header information - headers already sent by (output started at /var/www/cartoweb3/client/Views.php:635), /var/www/cartoweb3/client/FormRenderer.php, 463] Backtrace: file: UNKNOWN - UNKNOWN call: Common::cartowebErrorHandler(2, "Cannot modify header information - headers already sent by (outp...", "/var/www/cartoweb3/client/FormRenderer.php", 463, Array(1)) file: 463 - /var/www/cartoweb3/client/FormRenderer.php call: header("HTTP/1.1 500 Internal Server Error") file: 1321 - /var/www/cartoweb3/client/Cartoclient.php call: FormRenderer->showFailure(Object(CartocommonException)) file: 33 - /var/www/cartoweb3/htdocs/client.php call: Cartoclient->main() file: 3 - /var/www/cartoweb3/htdocs/sudan.php call: require_once("/var/www/cartoweb3/htdocs/client.php") ' in /var/www/cartoweb3/common/Common.php:302 Stack trace: #0 [internal function]: Common::cartowebErrorHandler(2, 'Cannot modify h...', '/var/www/cartow...', 463, Array) #1 /v in /var/www/cartoweb3/common/Common.php on line 302


More information about the Cartoweb-users mailing list