PHP parsing errors on API v201603

46 views
Skip to first unread message

César Romero Martín

unread,
Apr 13, 2016, 9:11:10 AM4/13/16
to AdWords API Forum
Hi,

I've updated my server to the last version of adwords API (googleads 8.3.0). Everything works fine when I execute my code from my local computer, but when I execute the same code on my server I get errors like:

mod_fcgid: stderr: PHP Parse error:  syntax error, unexpected 'c' (T_STRING), expecting function (T_FUNCTION) in Google/Api/Ads/AdWords/v201603/AdGroupService.php on line 5126


mod_fcgid: stderr: PHP Parse error:  syntax error, unexpected '0' (T_LNUMBER), expecting function (T_FUNCTION) in Google/Api/Ads/AdWords/v201603/BudgetService.php on line 42


Any ideas? Thanks!

M.

Thanet Knack Praneenararat (AdWords API Team)

unread,
Apr 13, 2016, 9:55:29 PM4/13/16
to AdWords API Forum
Hi Cesar,

Provided that it works fine on your local environment and I haven't got any reports about this, 
this might probably be an issue on your server, such as PHP version or server environments.

Unfortunately I can't see all your environments and thus can't inspect what happened there.
This is a post in StackOverflow about how to investigate parsing errors, which may help you in this case.

Cheers,
Thanet, AdWords API Team
Reply all
Reply to author
Forward
0 new messages