not working
-
Failed to retrieve Bible list from URL .
-
Do you still have the same effect? It works for me.
What’s the WordPress version?wordpress 4.4.2
still same message: “Failed to retrieve Bible list from URL .”Just published an extended version 0.5 of the plugin: the admin widget form collects debug infos and displays them in case of an error. Could you try 0.5? Hope this shows the cause of the failure.
Looking for .twd file list in WordPress cache…
… not in WordPress cache.
Getting .twd file list from ‘http://bible2.net/service/TheWord/twd11?format=atom’…
… trying simplexml_load_file
… failed to simplexml_load_file ‘http://bible2.net/service/TheWord/twd11?format=atom’, XML errors:
failed to load external entity “http://bible2.net/service/TheWord/twd11?format=atom”
… trying wp_remote_get
… wp_remote_get OK (got non-error Response).
… failed to wp_remote_get for ‘http://bible2.net/service/TheWord/twd11?format=atom’: HTTP 403.
Getting .twd file list failed
Retrieving Bible list failed from ‘http://bible2.net/service/TheWord/twd11?format=atom’.
Environment:
allow_url_fopen=1
php_version()=5.6.13
wp_version=4.4.2
required_php_version for WordPress=5.2.4OK, HTTP 403 means “Forbidden”. But I found no indication about this in the bible2.net server log. So sorry, I have no solution so far. Would you consider the following questions?
1. Is your server configured to block outgoing requests?
If you put the following lines into the your server’s root folder as file
loadtheword1.phpand enter the address for your siteYOURSITE.orgin your browser ashttp://YOURSITE.org/loadtheword1.php, does it show “OK”?<?php $Xml = simplexml_load_file("http://bible2.net/service/TheWord/twd11?format=atom"); echo "simplexml_load_file " . ($Xml ? "" : "NOT ") . "OK.<br />";or extended with some heuristic settings:
<?php ini_set("user_agent","Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"); ini_set("max_execution_time", 0); ini_set("memory_limit", "10000M"); $Xml = simplexml_load_file("http://bible2.net/service/TheWord/twd11?format=atom"); echo "simplexml_load_file " . ($Xml ? "" : "NOT ") . "OK.<br />";2. Otherwise: does your wp-config.php contain the following line?
define('WP_HTTP_BLOCK_EXTERNAL', true);In this case, you could allow access to bible2.net by adding
define('WP_ACCESSIBLE_HOSTS', 'bible2.net'); # comma separated3. Is your site run behind a proxy?
4. Is there any info in your WordPress logfile?
To inspect the WordPress logfile, create a file called
debug.log, make it server-writable, place it in thewp-contentdirectory, and add towp-config.php:define('WP_DEBUG_LOG', true) ini_set('error_log', WP_CONTENT_DIR . '/debug.log');Then configure the widget and inspect the
debug.logfile for info.Ensure to undo all changes after the testing.
The topic ‘not working’ is closed to new replies.