-
Notifications
You must be signed in to change notification settings - Fork 15
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
SDK timing out on sunra/php-simple-html-dom-parser #60
Comments
We went through the issue with @dusekdan. It looks like, it is not a fault of the SDK itself. Maybe it is s combination with Laravel or just some application configuration fault. Sample app is using source sample kentico cloud project (975bf280-fd91-488c-994c-2f04416e5ee3). I have tried to run the same code the app is using for loading home page - already in the E2E test While debuging the request the simple_html_dom and simple_html_dom_node is descruted multiple times:
|
Extracting What helped, though, was commenting out While this will help me to progress with updating other parts of sample site, it solves nothing and we'll have to get at the bottom of this eventually. |
Shall we submit an issue to https://github.com/sunra/php-simple-html-dom-parser ? |
Or a PR? :) |
Further investigation revealed that the issue only occurs when using PHP v7.1.13. We will mention this to DG site's README and recommend not using this version of PHP. With that, I am closing this issue. (Relates to #13.) |
I am working on updating Stephenr85's DG sample app to use current SDK version and I have discovered a possible issue in our SDK.
Steps to reproduce:
composer update
and thenphp artisan serve
The page will be loading for quite some time (approximately 2*t_max-execution_time + 1-2 seconds). After maximum execution time is reached, you will be able to see PHP Fatal error that preceeds the page finally loading:
![image](https://user-images.githubusercontent.com/6360711/40704856-a56b46c6-63e9-11e8-859d-7e3ea7057870.png)
The text was updated successfully, but these errors were encountered: