Forum Moderators: coopster
$service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME;
Note the same error occurs with a fake constant:
$service = Zend_Gdata_Calendar::FAKE_CONSTANT;
Parse error: syntax error, unexpected ';', expecting '(' in /path/event_calendar.php on line 26
Could this be the result of a php configuration change on the shared host? If so, how can I fix it
$service = (Zend_Gdata_Calendar::AUTH_SERVICE_NAME);
Parse error: syntax error, unexpected ')', expecting '(' in /home/colawnc3/public_html/en/event_calendar.php on line x
It seems as if the parser is expecting a function. The following line look likes like this and produce no errors:
$client = Zend_Gdata_ClientLogin::getHttpClient($user,$pass,$service);