Help/PhpWeatherPlugin

Synopsis

The PhpWeatherPlugin is a Help:WikiPlugin that uses PhpWeather to display a block of text with the current weather for some airport in the world. It looks like this:


Fatal error: Uncaught Error: Call to undefined method pw_db_null::base_object() in /var/www-mts/phpwiki-1.5.5-svn/lib/phpweather-2.2.2/db/pw_db_common.php:78 Stack trace: #0 /var/www-mts/phpwiki-1.5.5-svn/lib/phpweather-2.2.2/db/pw_db_null.php(33): pw_db_common->pw_db_common(Array) #1 /var/www-mts/phpwiki-1.5.5-svn/lib/phpweather-2.2.2/db_layer.php(52): pw_db_null->pw_db_null(Array) #2 /var/www-mts/phpwiki-1.5.5-svn/lib/phpweather-2.2.2/db_layer.php(35): db_layer->set_db_type('null') #3 /var/www-mts/phpwiki-1.5.5-svn/lib/phpweather-2.2.2/data_retrieval.php(64): db_layer->__construct(Array) #4 /var/www-mts/phpwiki-1.5.5-svn/lib/phpweather-2.2.2/phpweather.php(63): data_retrieval->__construct(Array) #5 /var/www-mts/phpwiki-1.5.5-svn/lib/plugin/PhpWeather.php(80): phpweather->__construct() #6 /var/www-mts/phpwiki-1.5.5-svn/lib/WikiPlugin.php(529): WikiPlugin_PhpWeather->run(Object(WikiDB_dba), 'menu=true', Object(WikiRequest), 'Help/PhpWeather...') #7 /var/www-mts/phpwiki-1.5.5-svn/lib/CachedMarkup.php(857): WikiPluginLoader in /var/www-mts/phpwiki-1.5.5-svn/lib/phpweather-2.2.2/db/pw_db_common.php on line 78