Plugin Author
HSteeb
(@hsteeb)
Hi Dawson,
(sorry for late reply – I didn’t get a notice about your question, or maybe overlooked it)
This looks like your PHP environment does not allow access to the remote URL of bible2.net. I do not yet have a solution for this, but maybe you can help find one! Would you try to create a file called php.ini with the line
allow_url_fopen=on
in the folder of the widget (typically wordpress/wp-content/plugins/the-word-widget/) and in the sub-folder includes there?
If this does not help, to find an alternative way that works, you might fetch the zip file
http://bible2.net/download/dev/2014-10-06_test_simplexml_load_file.zip
and put the 4 contained .php files in some folder on your server, then open them in order in your browser (the php.ini in the zip file is just the same as described above).
loadtheword0.php just reports the setting of allow_url_fopen.
loadtheword1.php uses the same mechanism as the plugin (simplexml_load_file).
loadtheword2.php uses slightly modified code (setting user agent, memory limit…).
loadtheword3.php uses a rather different mechanism curl.
Plugin Author
HSteeb
(@hsteeb)
I just released version 0.4
which falls back to a safer method to retrieve data from bible2.net
on restricted server configurations. It works even if allow_url_fopen=Off.
Sorry for inconvenience!