I'm using this package to parse 2 HTML pages which I suppose are identical in structure.
$firstPageHTML = 'https://controlc.com/bfa5ec9a'
$secondPageHTML = 'https://controlc.com/e8188d3e'
$parser = HtmlDomParser::str_get_html($secondPageHTML);
It seems that when I try to parse the second page HTML, HtmlDomParser's str_get_html method doesn't log anything. Eventually I get the following error:
Call to a member function find() on bool
$tableLength = count($parser->find('div[id="content"] table[class="tabelcalorii"] tr')) - 2;
What could be the issue here? $firstPageHTML works fine, using the latest version of the package
LE: increasing MAX_FILE_SIZE within simple_html_dom.php seems to fix the issue.
I'm using this package to parse 2 HTML pages which I suppose are identical in structure.
It seems that when I try to parse the second page HTML, HtmlDomParser's
str_get_htmlmethod doesn't log anything. Eventually I get the following error:What could be the issue here?
$firstPageHTMLworks fine, using the latest version of the packageLE: increasing
MAX_FILE_SIZEwithinsimple_html_dom.phpseems to fix the issue.