Hm, strange... everything seems to be okay. At the moment I have no idea. PHP says there is an error close to line 30 but I can't find anything...
Maybe you can try to remove this block:
Maybe you can try to remove this block:
else
{
$location = array(0, 0);
$zoom = 2;
}