You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to load the OAuth2 credendials and running with Eclipse IDE in console:
$oAuth2Credential = (new OAuth2TokenBuilder())
->fromFile()
->build();
I get this error, since in the php-cli for Eclipse IDE doesn't exist defined the php function posix_getpwuid:
PHP Fatal error: Call to undefined function posix_getpwuid() in somepath/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/ConfigurationLoader.php on line 38
According to http://php.net/manual/es/function.posix-getpwuid.php#82387 in case that the function is not defined (checking with function_exists('posix_getpwuid') ) you can try getenv('USERNAME') or other way, but at least avoid the Fatal Error, even throw a exception. Also for windows php users that function will not be defined at all.
The text was updated successfully, but these errors were encountered:
Thanks @vtsao !! I can see a big diff commit, but it is hard to follow the changes between releases mostly because you are pushing moster commits. Could be possible that you commit in small commits per issue or changes related? I mean follow the standard principle for "Atomic Commits" https://en.wikipedia.org/wiki/Atomic_commit it would be a lot for see the progress
Trying to load the OAuth2 credendials and running with Eclipse IDE in console:
I get this error, since in the php-cli for Eclipse IDE doesn't exist defined the php function posix_getpwuid:
According to http://php.net/manual/es/function.posix-getpwuid.php#82387 in case that the function is not defined (checking with function_exists('posix_getpwuid') ) you can try getenv('USERNAME') or other way, but at least avoid the Fatal Error, even throw a exception. Also for windows php users that function will not be defined at all.
The text was updated successfully, but these errors were encountered: