Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Html reader won't read system path files anymore #384

Closed
sloba88 opened this issue Jun 9, 2014 · 1 comment
Closed

Html reader won't read system path files anymore #384

sloba88 opened this issue Jun 9, 2014 · 1 comment

Comments

@sloba88
Copy link

sloba88 commented Jun 9, 2014

Back in #c2a277c the html reader would accept system path to read html file, in latest version it throws error.

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity

Not sure why and how since both versions use loadHTMLFile() php function and the error is gone in new version after you replace loadHTMLFile() with loadHTML()

@MarkBaker
Copy link
Member

Added version check to HTML Reader so it only uses option flags if PHP >= 5.4.0

MarkBaker pushed a commit that referenced this issue Aug 24, 2014
@Progi1984 Progi1984 added this to the 1.8.0 milestone Aug 26, 2014
MarkBaker pushed a commit that referenced this issue Sep 9, 2014
…ags when using PHP < 5.4.0

Additional check that libxml is running at an appropriate version by testing if libxml flag value constants are defined
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants