Your PHP is running in safe mode. You need to disable this to follow redirects in the API.
I’m not sure if this works on every server but you can try to put this in widget.php of the plugin.
ini_set('safe_mode', false);
Otherwise you have to change it in the php.ini
my php.ini is in safe mode (the host where I have the web) but I that error keeps coming.
Same error here, and I don’t have access to php.ini file
What php versions are your running? Safe mode is deprecated in 5.3 and removed in 5.4 http://php.net/manual/en/features.safe-mode.php
I have created a fallback that doesn’t need the CURLOPT_FOLLOWLOCATION. This should solve the problem.
I had to do some DNS changes, it’s possible that this takes a few moments.
Hope this helps.
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/worldmi1/public_html/wp-content/plugins/minestatus/libs/ApiClient.php on line 36
:S
My server:
WorldMineSP
ip: server.worldminesp.org
port: 25565
I just build in some additional checks. I hope this fix will help you.
Thank you very much for the help! and appears connected, but not working minotar not connected face appears. D:
My web: http://worldminesp.org/