Bug 800 - [Chameleon-Widget]ExtractWFSData widget needs php_ogr.so
: [Chameleon-Widget]ExtractWFSData widget needs php_ogr.so
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Linux
: P2 normal
: 1.99 beta 4
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-10-29 14:53 by
Modified: 2004-12-02 21:27 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-10-29 14:53:10
The ExtractWFSData widget in the "sample_ogc.phtml" application is looking for
the php_ogr module.  Maybe this is just a documentation issue.  


Fedora Core 2
Mozilla 1.6
Chameleon beta 3 20041022
------------------
PHP warning:

[29-Oct-2004 14:36:32] PHP Warning:  dl(): Unable to load dynamic library
'/usr/local/php436/lib/php/extensions/php_ogr.so' -
/usr/local/php436/lib/php/extensions/php_ogr.so: cannot open shared object file:
No such file or directory in
/home/nsavard/proj/chameleon_beta/htdocs/common/ogr/ogr2ogr.php on line 42
[29-Oct-2004 14:36:32] PHP Fatal error:  Call to undefined function: 
ogrregisterall() in
/home/nsavard/proj/chameleon_beta/htdocs/common/ogr/ogr2ogr.php on line 47
------- Comment #1 From 2004-10-29 21:26:39 -------
Changed target to 1.99 RC 1.
------- Comment #2 From 2004-11-01 20:22:12 -------
we definitely need to document that the php_ogr module is required by this
widget.

The widget should detect the failure to load the module in its constructor or
InitDefaults and record an appropriate error in the session error manager.  The
widget should also disable itself in this case.
------- Comment #3 From 2004-12-02 09:06:00 -------
Looking at this one now.
------- Comment #4 From 2004-12-02 11:57:25 -------
Fixed in CVS.  In order to prevent unecessary loading of modules, the check for
the ogr support is in the popup window.  If the module is not loaded then the
application returns an error message in the window instead of the interface.