amandakempf
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Sketch] Sketch theme suddenly appearing in my themes folderThis also happened to me and appears to be part of a hack. The style.css sheet for my child theme was changed as well. Any further ideas or suggestions on how to protect against this would be great.
So far I’ve changed my wp admin user password, installed/activated Sucuri & Theme Authenticity Checker, and have uninstalled the sketchier-than-intended Sketch theme. What a pain in the butt!!
Forum: Plugins
In reply to: [Petfinder: Search & Rescue] No information showingHere’s the code I commented out, plus the replacement code, in petfinder-search-rescue.php. I also hardcoded my key and shelter ID in there so those would need to be updated appropriately depending on the user. This is definitely not an elegant solution, but it seems to be working for now anyway… Thanks!
/*
ORIGINAL CODE
// Request data from Petfinder
$petfinder_data = @simplexml_load_file( $request_url );
END ORIGINAL CODE
*///SUBSTITUTE CODE
//get the xml
$response = wp_remote_get( “http://api.petfinder.com/shelter.getPets?key=FILL_IN_YOUR KEY&count=50&id=FILL_IN_YOUR_SHELTER_ID&status=A&output=full”, array(“timeout” => 120) );
$xml = simplexml_load_string(wp_remote_retrieve_body($response));
//print_r($xml);
$petfinder_data = $xml;
//END SUBSTITUTE CODEForum: Plugins
In reply to: [Petfinder: Search & Rescue] No information showingSo, I have an update…the problem appears to be with the use of simplexml_load_file (my guess is it’s related to the sucky hosting of the site.) Anyway, I chopped some code out of the Listings plugin that WAS getting the XML info back from the Petfinder API and now seem to have things working! The fix was to use wp_remote_get in conjunction with simplexml_load_string instead of the simplexml_load_file…
Whew. Definitely a bit of luck on this one for me–thanks so much for getting me started!!
Forum: Plugins
In reply to: [Petfinder: Search & Rescue] No information showing$petfinder_data is empty (which I suppose makes sense, given the issue…) Thank you very much for your time–I appreciate it! If I magically figure anything out, I’ll let you know. Thanks again!
Forum: Plugins
In reply to: [Petfinder: Search & Rescue] No information showingHaha, oh. http://www.hubbardshounds.com/wordpress/index.php/available-dogs/
I deactivated the Listings plugin below it, fyi, just while I was troubleshooting so it didn’t load every time.
Forum: Plugins
In reply to: [Petfinder: Search & Rescue] No information showingForum: Plugins
In reply to: [Petfinder: Search & Rescue] No information showingI copied that over, but am still getting the ‘petfinder is down’ message. Is the shortcode the same or is there anything else that needs to get updated? Thanks so much!
Forum: Plugins
In reply to: [Petfinder: Search & Rescue] No information showingNY786 and WP 4.4
The Petfinder Listing plugin works just fine so I know my key is good, etc. Thank you!
Forum: Plugins
In reply to: [Petfinder: Search & Rescue] No information showingAre there any updates on this problem? I’ve been experiencing the same thing and would love to know if there were any (relatively) easy fixes since the filtering functionality in this plugin is really important for my site… Thanks!
Forum: Plugins
In reply to: [Petfinder: Search & Rescue] WP 4.2 compatible?I’m also unable to get the plugin to work properly (just get the “Petfinder is down” message) while other Petfinder plugins work just fine… Any updates to this problem would be great! Thanks!
Forum: Plugins
In reply to: [Petfinder: Search & Rescue] Doesn't work with current WPAny updates on this?
I too only get the “Petfinder is down…” message, while everything works just fine with other petfinder plugins. Thanks in advance for any advice!