Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /WebServer/poiu/phpweather-2.2.2/base_object.php on line 52

Fatal error: Uncaught Error: Call to undefined function ereg() in /WebServer/poiu/phpweather-2.2.2/db/pw_db_mysql.php:26 Stack trace: #0 /WebServer/poiu/phpweather-2.2.2/db_layer.php(56): pw_db_mysql->pw_db_mysql(Array) #1 /WebServer/poiu/phpweather-2.2.2/db_layer.php(35): db_layer->set_db_type('mysql') #2 /WebServer/poiu/phpweather-2.2.2/data_retrieval.php(64): db_layer->db_layer(Array) #3 /WebServer/poiu/phpweather-2.2.2/phpweather.php(63): data_retrieval->data_retrieval(Array) #4 /WebServer/poiu/phpweather-2.2.2/index.php(10): phpweather->phpweather() #5 {main} thrown in /WebServer/poiu/phpweather-2.2.2/db/pw_db_mysql.php on line 26