You need to log in before you can comment on or make changes to this bug.
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
Changed target to 1.99 RC 1.
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.
Looking at this one now.
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.