Skip to content
This repository was archived by the owner on Nov 27, 2019. It is now read-only.

Scraperwiki php include errors #144

Open
rickvanscherpenzeel opened this issue Aug 6, 2015 · 1 comment
Open

Scraperwiki php include errors #144

rickvanscherpenzeel opened this issue Aug 6, 2015 · 1 comment

Comments

@rickvanscherpenzeel
Copy link

Hello,

All of my php scraper stopped working and all exit with an include error, because simple_html_dom.php can not be found. I haven't changed anything so has something changed on the server?

With kind regards

Rick

error:
require(simple_html_dom.php): failed to open stream: No such file or directory in /home/code/scraper on line 7
PHP Fatal error: require(): Failed opening required 'simple_html_dom.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/code/scraper on line 7
Finished run: 2015-08-06 16:45:31+00:00 Exit code: 255

@Kizambo
Copy link

Kizambo commented Nov 18, 2015

Hi,

Seems that developers have changed some paths.
Please add:

set_include_path(implode(PATH_SEPARATOR, array(get_include_path(), '/usr/share/scraperwiki-php')));

After <?php.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants