Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter rbrtwhite

    (@rbrtwhite)

    It turns out the solution was as simple as editing php.ini to enable allow_url_fopen, but I wouldn’t have been able to figure that out without your help, so thanks again Bridget!

    The implementation of the plugin is here, if you or anyone else would like to see.

    Thread Starter rbrtwhite

    (@rbrtwhite)

    I’m thinking it likely is something related to the XML parsing on this server (it’s a different company from the test server, where everything worked splendidly).

    I’ve included the debug errors below, which are a little over my head but the first error seems to suggest it is perhaps an issue with a setting on the server.

    Warning: simplexml_load_file(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosweb/web047/b476/nf.seanbaker/public_html/wp-content/plugins/petfinder-listings/petfinder-listings.php on line 194 Warning: simplexml_load_file(https://api.petfinder.com/shelter.getPets?key=faeeafa545215334ad623a83e1efc8df&count=50&id=BC73&status=A&output=full): failed to open stream: no suitable wrapper could be found in /hermes/bosweb/web047/b476/nf.seanbaker/public_html/wp-content/plugins/petfinder-listings/petfinder-listings.php on line 194 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://api.petfinder.com/shelter.getPets?key=faeeafa545215334ad623a83e1efc8df&count=50&id=BC73&status=A&output=full" in /hermes/bosweb/web047/b476/nf.seanbaker/public_html/wp-content/plugins/petfinder-listings/petfinder-listings.php on line 194 Notice: Trying to get property of non-object in /hermes/bosweb/web047/b476/nf.seanbaker/public_html/wp-content/plugins/petfinder-listings/petfinder-listings.php on line 198 Notice: Trying to get property of non-object in /hermes/bosweb/web047/b476/nf.seanbaker/public_html/wp-content/plugins/petfinder-listings/petfinder-listings.php on line 198 Notice: Trying to get property of non-object in /hermes/bosweb/web047/b476/nf.seanbaker/public_html/wp-content/plugins/petfinder-listings/petfinder-listings.php on line 198

    I’ll be unavailable for the next couple of hours, but will plan to contact the web host to see if it’s simply something prohibiting this interaction on their end.

    Thanks for your help – it’s a beautiful plugin ??

    Thread Starter rbrtwhite

    (@rbrtwhite)

    It is status code 100, yes:

    <petfinder xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://api.petfinder.com/schemas/0.9/petfinder.xsd">
    <header>
    <version>0.1</version>
    <timestamp>2012-11-09T01:23:20Z</timestamp>
    <status>
    <code>100</code>
    <message/>
    </status>

    The error message is simply “Petfinder is down for the moment. Please check back shortly.”

    And I am looking at a page using the [shelter_list] shortcode ?? (which I’ve also tried adding additional queries to – such as defining the shelter id and animal type, in the format provided with your plugin documentation – the changes are reflected in the produced XML link, but again don’t display on the page)

    Thread Starter rbrtwhite

    (@rbrtwhite)

    Thanks for the quick response, Bridget!

    The XML results at the produced URL load perfectly fine (I’d post the link but don’t want to overload the api key)

    Any other ideas of what it might be?

    Thread Starter rbrtwhite

    (@rbrtwhite)

    Thanks Elliot, I also had a taxonomy named ‘type’.

Viewing 5 replies - 1 through 5 (of 5 total)