{"action":"created","issue":{"url":"https://api.github.com/repos/google/google-api-php-client/issues/640","labels_url":"https://api.github.com/repos/google/google-api-php-client/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-php-client/issues/640/comments","events_url":"https://api.github.com/repos/google/google-api-php-client/issues/640/events","html_url":"https://github.com/google/google-api-php-client/issues/640","id":101828841,"number":640,"title":"Datastore.php / Windows Dev AppEngine produces CGI/FastCGI issue","user":{"login":"mf01","id":1529283,"avatar_url":"https://avatars.githubusercontent.com/u/1529283?v=3","gravatar_id":"","url":"https://api.github.com/users/mf01","html_url":"https://github.com/mf01","followers_url":"https://api.github.com/users/mf01/followers","following_url":"https://api.github.com/users/mf01/following{/other_user}","gists_url":"https://api.github.com/users/mf01/gists{/gist_id}","starred_url":"https://api.github.com/users/mf01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mf01/subscriptions","organizations_url":"https://api.github.com/users/mf01/orgs","repos_url":"https://api.github.com/users/mf01/repos","events_url":"https://api.github.com/users/mf01/events{/privacy}","received_events_url":"https://api.github.com/users/mf01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/google/google-api-php-client/milestones/1","html_url":"https://github.com/google/google-api-php-client/milestones/v2","labels_url":"https://api.github.com/repos/google/google-api-php-client/milestones/1/labels","id":1347599,"number":1,"title":"v2","description":null,"creator":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2015-10-09T17:01:56Z","updated_at":"2015-11-04T18:16:53Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-08-19T07:52:21Z","updated_at":"2015-11-07T22:25:51Z","closed_at":null,"body":"I'm using AppEngine under Windows for development. I've tried to create data in Datastore.\r\n\r\nUnfortunately CGI/FastCGI will gone every time I call the demo script \r\nhttps://github.com/amygdala/appengine_php_datastore_example/blob/master/datastore_connect.php\r\n\r\n![cgi_fastcgi_issue](https://cloud.githubusercontent.com/assets/1529283/9351156/5c24848a-4657-11e5-91e1-43a3e0631f98.png)\r\n\r\nI've found that this line is producing the issue.\r\n\r\n    $service_dataset->commit($dataset_id, $req, []);\r\n\r\nAfter looking to the Datastore.php from this lib I've replaced return value by a simple return.\r\n\r\n```php\r\n  /**\r\n   * Commit a transaction, optionally creating, deleting or modifying some\r\n   * entities. (datasets.commit)\r\n   *\r\n   * @param string $datasetId Identifies the dataset.\r\n   * @param Google_CommitRequest $postBody\r\n   * @param array $optParams Optional parameters.\r\n   * @return Google_Service_Datastore_CommitResponse\r\n   */\r\n  public function commit($datasetId, Google_Service_Datastore_CommitRequest $postBody, $optParams = array())\r\n  {\r\n    $params = array('datasetId' => $datasetId, 'postBody' => $postBody);\r\n    $params = array_merge($params, $optParams);\r\n    return;\r\n    return $this->call('commit', array($params), \"Google_Service_Datastore_CommitResponse\");\r\n  }\r\n```\r\n\r\n\r\nThe issue was gone. As expected without data in the Google Datastore.\r\n"},"comment":{"url":"https://api.github.com/repos/google/google-api-php-client/issues/comments/154758214","html_url":"https://github.com/google/google-api-php-client/issues/640#issuecomment-154758214","issue_url":"https://api.github.com/repos/google/google-api-php-client/issues/640","id":154758214,"user":{"login":"Abbe98","id":2631719,"avatar_url":"https://avatars.githubusercontent.com/u/2631719?v=3","gravatar_id":"","url":"https://api.github.com/users/Abbe98","html_url":"https://github.com/Abbe98","followers_url":"https://api.github.com/users/Abbe98/followers","following_url":"https://api.github.com/users/Abbe98/following{/other_user}","gists_url":"https://api.github.com/users/Abbe98/gists{/gist_id}","starred_url":"https://api.github.com/users/Abbe98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abbe98/subscriptions","organizations_url":"https://api.github.com/users/Abbe98/orgs","repos_url":"https://api.github.com/users/Abbe98/repos","events_url":"https://api.github.com/users/Abbe98/events{/privacy}","received_events_url":"https://api.github.com/users/Abbe98/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T22:25:51Z","updated_at":"2015-11-07T22:25:51Z","body":"Getting `Fatal error: Class 'Google_Auth_AssertionCredentials' not found` from `master-dev`. \r\n\r\nSo the crash is fixed and the **Hello Analytics API: PHP** is outdated."}}