haive / google-api-adwords-php

Automatically exported from code.google.com/p/google-api-adwords-php
Apache License 2.0
0 stars 0 forks source link

GZENCODE error in PHP5.4 #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of the library are you using?
v201206

Which version of PHP are you using?
5.4.x

What steps will reproduce the problem?
Running BasicOperations/GetCampaigns

What is the expected output? What do you see instead?
A list of campaigns is what I expect. 

Following error is thrown:
gzencode(): encoding mode must be either ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP 
or ZLIB_ENCODING_DEFLATE 
(../google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:180)

Please provide any additional information below.
Problem is also decribed here: 
https://github.com/contao/core/pull/4087#issuecomment-6818891
A possible/temp fix is to remove line 111 in SoapClientFactory

Original issue reported on code.google.com by KoenVerc...@gmail.com on 19 Oct 2012 at 11:16

GoogleCodeExporter commented 8 years ago
Fixed in #285:
https://code.google.com/p/google-api-adwords-php/source/detail?r=285

Original comment by api.pmat...@gmail.com on 21 Nov 2012 at 3:26