Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author HSteeb

    (@hsteeb)

    Do you still have the same effect? It works for me.
    What’s the WordPress version?

    Thread Starter htauchner

    (@htauchner)

    wordpress 4.4.2
    still same message: “Failed to retrieve Bible list from URL .”

    Plugin Author HSteeb

    (@hsteeb)

    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.

    Thread Starter htauchner

    (@htauchner)

    Looking for .twd file list in WordPress cache…
    … not in WordPress cache.
    Getting .twd file list from ‘https://bible2.net/service/TheWord/twd11?format=atom’…
    … trying simplexml_load_file
    … failed to simplexml_load_file ‘https://bible2.net/service/TheWord/twd11?format=atom’, XML errors:
    failed to load external entity “https://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 ‘https://bible2.net/service/TheWord/twd11?format=atom’: HTTP 403.
    Getting .twd file list failed
    Retrieving Bible list failed from ‘https://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.4

    Plugin Author HSteeb

    (@hsteeb)

    OK, 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.php and enter the address for your site YOURSITE.org in your browser as https://YOURSITE.org/loadtheword1.php, does it show “OK”?

    <?php
    $Xml = simplexml_load_file("https://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("https://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 separated

    3. 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 the wp-content directory, and add to wp-config.php:

    define('WP_DEBUG_LOG', true)
    ini_set('error_log', WP_CONTENT_DIR . '/debug.log');

    Then configure the widget and inspect the debug.log file for info.

    Ensure to undo all changes after the testing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘not working’ is closed to new replies.