osompress / genesis-simple-share

Plugin: Genesis Simple Share
36 stars 16 forks source link

G+ and Stumble Buttons #6

Closed bgardner closed 10 years ago

bgardner commented 10 years ago

Not sure what's going on, but Andrea (not Rennick) has the buttons loaded here:

http://test.nutsandboltsmedia.com/hello-world/

G+ and Stumble buttons not showing, but output empty divs in the source.

NicktheGeek commented 10 years ago

I found that there is a problem with the server. When polling the sharrre.php with the URL and type for googlePlus directly like example.com/sharrre.php?url=example.com&type=googlePlus it returned the following error

<br />
<b>Warning</b>:  curl_setopt_array() [<a href='function.curl-setopt-array'>function.curl-setopt-array</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in <b>/home/andrea/public_html/test/wp-content/plugins/genesis-simple-share/lib/sharrre/sharrre.php</b> on line <b>67</b><br />
{"url":"http://test.nutsandboltsmedia.com/hello-world/","count":0}

G+ and SU are currently the only services that require use of that file and curl().

One possible solution here is to provide an option that will allow users to disable the count display.

I'm going close this since it is a server issue but I'll start a new issue for the display count option.