POSSA / freepbx-weather-by-zip

FreePBX module, reads back weather forcast from dtmf zip code input
4 stars 5 forks source link

Can't upgrade this module #3

Closed lgaetz closed 11 years ago

lgaetz commented 12 years ago

install.php script fails during upgrade when it tries to create the feature code that already exists. Uninstall old version first than install new version will work.

lgaetz commented 12 years ago

Page on how to properly set/read feature codes: http://www.freepbx.org/trac/wiki/ApiFeaturecodes

lgaetz commented 11 years ago

Problem was not caused by feature code definition in install.php. Problem was caused by install.sql, when INSERT commands tried to overwrite existing records. Problem solved in ver. 1.3.0 beta 1 by changing to REPLACE commands.