Hey guys,
After upgrading my test Observium server to revision 5188, all API calls return a blank page. Going through the Apache error logs, I found:
/[Tue Apr 01 16:37:13 2014] [error] [client //REDACTED//] PHP Fatal error: Call to undefined function get_vars() in /opt/observium/html/api.php on line 26/
Comparing this section of api.php to my production Observium server running revision 5167, there are some differences:
*r5188 api.php* /$vars = get_vars('GET');// //$vars['module'] = (!empty($vars['module']) ? $vars['module'] : "demo");
/*r5167 api.php */foreach ($_GET as $key=>$get_var) {// // if (!empty($get_var)) {// // $vars[$key] = filter_var($get_var, FILTER_SANITIZE_STRING);// // }// //}/*
*Any ideas where to start on this one? Admittedly, PHP is Greek to me but hopefully this means something to you folks over in Dev Land. If there's any additional info you'd like, please feel free to ask.
Regards,
SG