Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: gzdecode(): data error #24

Closed
ValenokPC opened this issue Nov 18, 2017 · 1 comment
Closed

Warning: gzdecode(): data error #24

ValenokPC opened this issue Nov 18, 2017 · 1 comment

Comments

@ValenokPC
Copy link

Warning: gzdecode(): data error in ./../hquery.php on line 2272

@duzun
Copy link
Owner

duzun commented Nov 19, 2017

It is most likely an issue with the page you are trying to access.
I can't tell what exactly is wrong without a context.

You could try to fetch contents using any other method and pass it to hQuery::fromHTML($contents, $url).

The transport functionality of this library is really basic and not it's real power because there are a lot of specialized libraries for fetching data over the network (eg. php-http, guzzle, cURL, to name a few).

Please provide at least the URL you are trying to access or try an alternative method of fetching HTML contents.

@duzun duzun closed this as completed Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants