AW: AW: AW: AW: [Mapbender-users] MB 2.5: Error in saveWMC / loadWMC
Schönhammer, Herbert
Schoenhammer.Herbert at Regensburg.de
Tue Nov 4 09:23:24 EST 2008
Marco thanks for the tipp, it leeded me to the solution !
Things got a bit difficult:
First of all: I'm NOT using the php version 5.1.2 which is shipped with SLES 10. Because I need some things like oci8-support for php5 and other things. I did not get these things working with the SLES-php.
So I use(d) the php 5.2.5 source available from http://de.php.net/ or http://www.php.net . This was the only distribution I got working with all the needed stuff like oci8, gettext, mbstring, ... .
Trying ./configure --help in this distribution only offers this: --disbale-dom
There is no --enable-dom.
So, I first thought, that dom-support is included by default.
Nevertheless (in my despair)I tried to recompiled php 5.2.5 with option --enable-dom.
No error-message during configuration and recompiling.
After installing this new version of php I found dom-support in the phpinfo.
At the first sight savewmc and loadwmc do their work !! (The second sight will be done later !)
Thanks a lot !
Greeitngs
Herbert Schoenhammer
P.S. Is it possible to maintain the installation docu at mapbender homepage. Not only gettext and mbstring is needed, also dom-support !
>-----Ursprüngliche Nachricht-----
>Von: mapbender_users-bounces at lists.osgeo.org
>[mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag
>von Marco Lechner
>Gesendet: Dienstag, 4. November 2008 14:00
>An: Mapbender User List
>Betreff: Re: AW: AW: AW: [Mapbender-users] MB 2.5: Error in
>saveWMC / loadWMC
>
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>try installing php5-dom package
>
>Marco
>
>Schönhammer schrieb:
>> Hello,
>>
>> I'm using php Version 5.2.5, libxml Version 2.6.23 and Server OS is
>SuSE Linux Enterprise Server 10.
>>
>> Greetings
>> Herbert Schoenhammer
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: mapbender_users-bounces at lists.osgeo.org
>>> [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag
>>> von Christoph Baudson
>>> Gesendet: Dienstag, 4. November 2008 13:44
>>> An: Mapbender User List
>>> Betreff: Re: AW: AW: [Mapbender-users] MB 2.5: Error in
>>> saveWMC / loadWMC
>>>
>>>
>>> Thanks for your reply. My PHP installation lists the DOM
>>> library as follows
>>>
>>> dom
>>> DOM/XML enabled
>>> DOM/XML API Version 20031129
>>> libxml Version 2.6.30
>>> HTML Support enabled
>>> XPath Support enabled
>>> XPointer Support enabled
>>> Schema Support enabled
>>> RelaxNG Support enabled
>>>
>>> I'm using PHP 5.2.3. What PHP version are you using? What is
>>> your server OS?
>>>
>>> Thanks
>>>
>>> Christoph Baudson
>>>
>>>
>>> Schönhammer schrieb:
>>>> Hello Christoph, hello Mr. Scholle,
>>>>
>>>> phpinfo() does NOT list a DOM-library.
>>>>
>>>> Reading the doc's in
>>> http://de2.php.net/manual/de/dom.setup.php no specail library
>>> should be installed. Only the php-xml module should be installed.
>>>> phpinfo() says:
>>>>
>>>> php Version 5.2.5
>>>>
>>>> configure-Settings are: ..., '--enable-libxml'...
>>> '--enable-xml' '--enable-simplexml' ...
>>>> ...
>>>> libXML Support: active
>>>> libXML Version 2.6.23
>>>> libXML streams: enabled
>>>>
>>>> greetings
>>>> Herbert Schoenhammer
>>>>
>>>>
>>>>
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: mapbender_users-bounces at lists.osgeo.org
>>>>> [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag
>>>>> von Christoph Baudson
>>>>> Gesendet: Dienstag, 4. November 2008 12:54
>>>>> An: Mapbender User List
>>>>> Betreff: Re: AW: [Mapbender-users] MB 2.5: Error in saveWMC
>>> / loadWMC
>>>>>
>>>>> Hello,
>>>>>
>>>>> do you have the DOM library installed in PHP? Just check
>>> via phpinfo().
>>>>> Christoph Baudson
>>>>>
>>>>>
>>>>> Schönhammer schrieb:
>>>>>
>>>>>> Hello Mr. Scholle,
>>>>>>
>>>>>> thank you for your reply.
>>>>>>
>>>>>> I'm using SLES10 as Server-OS. That's fix, my IT wants
>this server.
>>>>>>
>>>>>> I've tried now FF 3.x, IE7 and now the latest Opera. It's
>>>>>>
>>>>> all the same.
>>>>>
>>>>>> But I had just a look in the webserver error_log. I get
>>> the following
>>>>>> error-message when saving the the wmc:
>>>>>>
>>>>>> PHP Fatal error: Class 'DOMDocument' not found in
>>>>>> /home/mapbender/mapbender_2.5/http/classes/class_wmc.php
>>> on line 239
>>>>>> Will a developper or something else have a tipp for further
>>>>>>
>>>>> "researches" ?
>>>>>
>>>>>> Thanks
>>>>>> Herbert Schoenhammer
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> *Von:* mapbender_users-bounces at lists.osgeo.org
>>>>>> [mailto:mapbender_users-bounces at lists.osgeo.org] *Im Auftrag von
>>>>>> *Burghardt.Scholle at stadt.wolfsburg.de
>>>>>> *Gesendet:* Dienstag, 4. November 2008 08:37
>>>>>> *An:* mapbender_users at lists.osgeo.org
>>>>>> *Betreff:* AW: [Mapbender-users] MB 2.5: Error in
>saveWMC / loadWMC
>>>>>>
>>>>>> Hello Mr. Schönhammer,
>>>>>>
>>>>>> I still have the same problems in a system combination
>>>>>>
>>>>> with Ubuntu
>>>>>
>>>>>> 8.04 (Server) and the IE6 (Client). With FF or IE7 I
>don't have
>>>>>> any Problems. In a system combination Debian
>>> Etch/Lenny (Server)
>>>>>> and any Browser I don't have any problems with
>>> save/load WMC too.
>>>>>> Perhaps you can try another combination to test the
>behavior of
>>>>>> the module mod_savewmc.php. Unfortunately I don't know
>>> a solution
>>>>>> for the first combination.
>>>>>>
>>>>>> Greetings
>>>>>> Burghardt Scholle
>>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> *Von:* mapbender_users-bounces at lists.osgeo.org
>>>>>>
>[mailto:mapbender_users-bounces at lists.osgeo.org]*Im Auftrag
>>>>>> von *Schönhammer, Herbert
>>>>>> *Gesendet:* Dienstag, 4. November 2008 08:16
>>>>>> *An:* mapbender_users at lists.osgeo.org
>>>>>> *Betreff:* [Mapbender-users] MB 2.5: Error in
>>>>>>
>>>>> saveWMC / loadWMC
>>>>>
>>>>>> Hi list,
>>>>>>
>>>>>> I want to generate a WMC-Document with MB 2.5 using
>>>>>>
>>>>> the module
>>>>>
>>>>>> mod_savewmc.php.
>>>>>>
>>>>>> Clicking the button "Save workspace as Web Map Context
>>>>>> Document" I am asked for the name of the workspace.
>>>>>>
>>>>>> And that was all.
>>>>>>
>>>>>> The wmc-document ist not offered using module
>>>>>>
>>>>> mod_loadwmc.php.
>>>>>
>>>>>> MapBender does not create an entry in mb_error_logs.
>>>>>>
>>>>>> I don't find any record in the table mb_user_wmc
>>> or any file
>>>>>> on the server or an my client.
>>>>>>
>>>>>> I have tried all combinations with the var saveInSession:
>>>>>>
>>>>>> - the var was set / unset
>>>>>> - the var was filled with the values 0/1
>>>>>> - the var was filled with the values true/false
>>>>>>
>>>>>>
>>>>>> The behaviour is reproducable with the shipped guis
>>>>>>
>>>>> gui1 and gui2.
>>>>>
>>>>>> Where is the problem ?
>>>>>>
>>>>>> Has anybody a solution for me ?
>>>>>>
>>>>>> Greetings
>>>>>> Schönhammer Herbert
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------
>>>>> ---------
>>>>>
>>>>>> _______________________________________________
>>>>>> Mapbender_users mailing list
>>>>>> Mapbender_users at lists.osgeo.org
>>>>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>>>>>
>>>>>>
>>>>> --
>>>>> ********************************************
>>>>> Where2B-Konferenz
>>>>> Die Geo-IT Konferenz der WhereGroup
>>>>> vom 9.-10. Dezember 2008 in Bonn
>>>>> Web: www.where2b-conference.com
>>>>> ********************************************
>>>>> _______________________________________
>>>>>
>>>>> W h e r e G r o u p GmbH & Co. KG
>>>>>
>>>>> Siemensstraße 8
>>>>> 53121 Bonn
>>>>> Germany
>>>>>
>>>>> Christoph Baudson
>>>>> Anwendungsentwickler
>>>>>
>>>>> Fon: +49 (0)228 / 90 90 38 - 15
>>>>> Fax: +49 (0)228 / 90 90 38 - 11
>>>>> christoph.baudson at wheregroup.com
>>>>> www.wheregroup.com
>>>>> Amtsgericht Bonn, HRA 6788
>>>>> _______________________________________
>>>>>
>>>>> Komplementärin:
>>>>> WhereGroup Verwaltungs GmbH
>>>>> vertreten durch:
>>>>> Olaf Knopp, Peter Stamm
>>>>> _______________________________________
>>>>>
>>>>> _______________________________________________
>>>>> Mapbender_users mailing list
>>>>> Mapbender_users at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>>>>
>>>>>
>>>> _______________________________________________
>>>> Mapbender_users mailing list
>>>> Mapbender_users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>>>
>>>
>>> --
>>> ********************************************
>>> Where2B-Konferenz
>>> Die Geo-IT Konferenz der WhereGroup
>>> vom 9.-10. Dezember 2008 in Bonn
>>> Web: www.where2b-conference.com
>>> ********************************************
>>> _______________________________________
>>>
>>> W h e r e G r o u p GmbH & Co. KG
>>>
>>> Siemensstraße 8
>>> 53121 Bonn
>>> Germany
>>>
>>> Christoph Baudson
>>> Anwendungsentwickler
>>>
>>> Fon: +49 (0)228 / 90 90 38 - 15
>>> Fax: +49 (0)228 / 90 90 38 - 11
>>> christoph.baudson at wheregroup.com
>>> www.wheregroup.com
>>> Amtsgericht Bonn, HRA 6788
>>> _______________________________________
>>>
>>> Komplementärin:
>>> WhereGroup Verwaltungs GmbH
>>> vertreten durch:
>>> Olaf Knopp, Peter Stamm
>>> _______________________________________
>>>
>>> _______________________________________________
>>> Mapbender_users mailing list
>>> Mapbender_users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>>
>> _______________________________________________
>> Mapbender_users mailing list
>> Mapbender_users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.9 (GNU/Linux)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>iEYEARECAAYFAkkQR2AACgkQRTmqCdK7E6r8EgCg3O445iDWmrQsPPTSp+7XuBBm
>g3UAn3sXbHPAUR13FTXeqd5blv2fZhY3
>=upK7
>-----END PGP SIGNATURE-----
>
>
More information about the Mapbender_users
mailing list