php - Curl error while unencoding -


hi sending simple request curl, works sites have had use on except last one. when response weird unencoding error. verbose.

* connect() www.shufersal.co.il port 80 (#0) *   trying 212.199.57.42... * connected * connected www.shufersal.co.il (212.199.57.42) port 80 (#0) > /pages/catalog.aspx http/1.1 user-agent: mozilla/5.0 (windows nt 6.1) applewebkit/536.5 (khtml, gecko) c hrome/19.0.1084.52 safari/536.5 host: www.shufersal.co.il accept: */* accept-encoding: gzip,deflate,sdch referer: cookie: smc=; tseb84b7=6c5fc932ce03e1ab1ca864bae7ec71c8d659417300b51c794fce0178  < http/1.1 200 ok < cache-control: private < transfer-encoding: chunked < content-type: text/html; charset=utf-8 < content-encoding: gzip < vary: accept-encoding < sprequestguid: 217857fb-493b-4542-a5b4-575023c5767a < x-sharepointhealthscore: 0 * added cookie asp.net_sessionid="5lwlq2ify1glmxirhndgdm45" domain www.shufe rsal.co.il, path /, expire 0 < set-cookie: asp.net_sessionid=5lwlq2ify1glmxirhndgdm45; path=/; httponly < x-aspnet-version: 2.0.50727 < x-ua-compatible: ie=8 < date: tue, 05 jun 2012 12:58:24 gmt * added cookie bigipserverb2c_commerce="1533875210.20480.0000" domain www.sh ufersal.co.il, path /, expire 0 < set-cookie: bigipserverb2c_commerce=1533875210.20480.0000; path=/ * replaced cookie tseb84b7="6c5fc932ce03e1ab1ca864bae7ec71c8d659417300b51c794fce 0178" domain www.shufersal.co.il, path /, expire 1338902005 < set-cookie: tseb84b7=6c5fc932ce03e1ab1ca864bae7ec71c8d659417300b51c794fce0178;  max-age=900; path=/ < * error while processing content unencoding: invalid block type * failed writing data * closing connection #0 php fatal error:  call member function find() on non-object in c:\wamp\ww w\adwords\grocery_scraper.php on line 86 php stack trace: php   1. {main}() c:\wamp\www\adwords\grocery_scraper.php:0  fatal error: call member function find() on non-object in c:\wamp\www\adw ords\grocery_scraper.php on line 86  call stack:     0.0011     367424   1. {main}() c:\wamp\www\adwords\grocery_scraper.php:0   c:\wamp\www\adwords>php grocery_scraper.php * connect() www.shufersal.co.il port 80 (#0) *   trying 212.143.91.230... * connected * connected www.shufersal.co.il (212.143.91.230) port 80 (#0) > /pages/catalog.aspx http/1.1 user-agent: mozilla/5.0 (windows nt 6.1) applewebkit/536.5 (khtml, gecko) c hrome/19.0.1084.52 safari/536.5 host: www.shufersal.co.il accept: */* accept-encoding: gzip,deflate,sdch referer:  < http/1.1 200 ok < cache-control: private < transfer-encoding: chunked < content-type: text/html; charset=utf-8 < content-encoding: gzip < vary: accept-encoding < sprequestguid: 8adff954-20d7-4d0a-9cab-193bc6cd6e72 < x-sharepointhealthscore: 0 < x-aspnet-version: 2.0.50727 * added cookie asp.net_sessionid="ji00xpqq5z1ufa454t1c0c45" domain www.shufe rsal.co.il, path /, expire 0 < set-cookie: asp.net_sessionid=ji00xpqq5z1ufa454t1c0c45; path=/; httponly * added cookie smc="" domain www.shufersal.co.il, path /, expire 1370437143 < set-cookie: smc=; expires=wed, 05-jun-2013 12:59:03 gmt; path=/; httponly < x-ua-compatible: ie=8 < date: tue, 05 jun 2012 12:59:02 gmt * added cookie bigipserverb2c_commerce="1533875210.20480.0000" domain www.sh ufersal.co.il, path /, expire 0 < set-cookie: bigipserverb2c_commerce=1533875210.20480.0000; path=/ * added cookie tseb84b7="c054d61ec8ab44efb7ca8f8680023cf1889b86d8962f57f14fce029 7" domain www.shufersal.co.il, path /, expire 1338902044 < set-cookie: tseb84b7=c054d61ec8ab44efb7ca8f8680023cf1889b86d8962f57f14fce0297;  max-age=900; path=/ < * error while processing content unencoding: invalid stored block lengths * failed writing data * closing connection #0 

any ideas whats going wrong? or how fix it? maybe there parameter skip unencoding or , on php.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -