davelester / WPBadgeDisplay

WordPress plugin that creates a widget to display Open Badges on your blog.
Other
12 stars 8 forks source link

URL file-access #18

Open tylerjohnson opened 11 years ago

tylerjohnson commented 11 years ago

Hey I was wondering if anyone else had this issue and/or knows how to fix it. I've checked various "support" areas for this plug-in but it looks like the github is the best place to get support.

When I install the WPBadgeDisplay plugin I add the widget to a sidebar. Then I add a title and my email. However I get several errors in that section of the sidebar:

"Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/content/60/5185460/html/tj/wp-content/plugins/wpbadgedisplay/wpbadgedisplay.php on line 69"

"Warning: file_get_contents(http://beta.openbadges.org/displayer//groups.json) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/content/60/5185460/html/tj/wp-content/plugins/wpbadgedisplay/wpbadgedisplay.php on line 69"

"Warning: Invalid argument supplied for foreach() in /home/content/60/5185460/html/tj/wp-content/plugins/wpbadgedisplay/wpbadgedisplay.php on line 85 No public groups exist for this user."

The first error, I'm assuming, has to do with my own server configuration. I've been trying to figure out how to change this, presumably by adding "allow_url_fopen On" or some other line of code to my php configuration somehow (still working on that)

The second, I'm clueless about but it is probably related to the first.

And the third error makes no sense because I do have a public group of badges in my backpack, maybe it just isn't finding them?

I don't think this is a problem with the plugin since others seem to be using it just fine, just wondering if anyone knows how to fix it.

Thanks for any help! -Tyler