The script is old. Fortumo most probably have changed their servers. Change the allowed IP list:
$forumtoIPs=array('81.20.151.38','81.20.148.122','209.20.83.207','79.125.125.1');
The servers IP-s probably can be found on their website, if not - ask the support.