The current code does not check if the 'image' module is installed. This leads to an error on the styles config page.
TODO:
- Add a module_exists() to see if the image module is available.
Original:
I just installed openlayers 2.x (Feb-26), and i can't add, edit nor clone styles.
This is the error:
Fatal error: Call to undefined function image_style_options() in sites\all\modules\openlayers\modules\openlayers_ui\plugins\export_ui\openlayers_styles_ui.class.php on line 3
As far as i can see, i searched for "image_style_options" function, and it only appears in the detailed file. So i guess something is missing within the file or out of it.
Thanks for your time.
Comments
Comment #1
FAAREIA commentedWhat i meant is: Function is not defined, and it's called from line 30 (not 3, missing 0).
Hope it's clear enought.
Comment #2
FAAREIA commentedFixed. Needed to enable image module...
Comment #3
rob c commentedSounds more like the backend could use a small check module_exists() to see if the 'image' module is available.
Comment #4
polComment #4.0
polUpdated issue summary.