Forums

SoundCloud Is Gold
[resolved] Warning Messages and Cannot Connect to SoundCloud Account (19 posts)

  1. anna1279
    Member
    Posted 9 months ago #

    I am having a problem with the SoundCloud Is Gold plugin:

    I have downloaded and activated the plugin but when I enter the username and refresh the page it seems to not be able to connect to the username. When I do this I get the following error messages:

    Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration in /homepages/27/d225986320/htdocs/wordpress3/wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold.php on line 132

    Warning: simplexml_load_file(http://api.soundcloud.com/users/mosart212/tracks.xml?limit=1&client_id=9rD2GrGrajkmkw5eYFDp2g) [function.simplexml-load-file]: failed to open stream: no suitable wrapper could be found in /homepages/27/d225986320/htdocs/wordpress3/wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold.php on line 132

    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://api.soundcloud.com/users/mosart212/tracks.xml?limit=1&client_id=9rD2GrGrajkmkw5eYFDp2g" in /homepages/27/d225986320/htdocs/wordpress3/wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold.php on line 132

    If you know of a way I can fix this I would really appreciate it. Thanks!

    http://wordpress.org/extend/plugins/soundcloud-is-gold/

  2. realtm
    Member
    Posted 9 months ago #

    Hi anna1279,

    It could be something with your server. I have to investigate the error. Sorry about that. As you can see the data is available:

    http://api.soundcloud.com/users/mosart212/tracks.xml?client_id=9rD2GrGrajkmkw5eYFDp2g

    I will investigate that next week. Cheers

  3. realtm
    Member
    Posted 9 months ago #

    It seems that your server is using php4. My plugin is running on php5 but I will try to make it backward compatible next week. Or maybe not....

    Thank you for the feedback

  4. anna1279
    Member
    Posted 9 months ago #

    Thanks for your speedy feedback! I just upgraded our server to php5 and it isn't working yet but maybe the php change hasn't kicked in yet. Hopefully that will work... I will keep you posted. Thank you again for the support!

  5. realtm
    Member
    Posted 9 months ago #

    You're welcome, I've just released that plugin so I'm keeping a close eye on feedbacks and potential bugs. You might need to restart apache or the server to have this update working. Hope it will work.

  6. anna1279
    Member
    Posted 9 months ago #

    Okay, so still no change with the error messages after I have changed the WP theme (thinking maybe that was the conflict) as well as also checking that we are using PHP5 as we had previously discussed. Any thoughts on what I should do now?

  7. rediris
    Member
    Posted 9 months ago #

    I am having the same error message, and I'm running PHP5. My server currently has allow_url_fopen disabled. Any workarounds, short of enabling allow_url_fopen?

  8. realtm
    Member
    Posted 9 months ago #

    Ok, I will investigate. I might need some details, I let you know. Thanks you

  9. realtm
    Member
    Posted 9 months ago #

    And by the way, this error occurs in the 'Option page' and the 'soundcloud is gold tab' but the plugin should still retains your username and default settings (colors, etc...) from the option page. That mean you can still use the plugin shortcode manually like explained in the 'description', I know it's not as good but at least you can post tracks to your website while still using the your custom default settings and such.

  10. realtm
    Member
    Posted 9 months ago #

    So,

    I don't think that there is workaround allow_url_fopen but you should be able to set that manually in the .htaccess file.

    The .htaccess should already exist in you wordpress install, if it doesn't you can create it. This file should be able to change this setting just for the folder it's in aka your wordpress install.

    This file is hidden, so:
    You first have to download it with ftp, rename it htaccess.txt (delete the dot at the beginning, this means hidden). You will have to do the renaming through the software you used for ftp (fileZilla is good). Add those this line at the end:

    php_value allow_url_fopen 1

    Save it, rename it .htaccess (through ftp software), upload.

    I have no guaranty this will work and if you're not used to mess with this file be very careful.

    Also the problem could be related to how your server runs php (apache module vs cgi/fcgi). That might be fixable trough ini_set() but not sure.

  11. realtm
    Member
    Posted 9 months ago #

    If that doesn't work ask your host to enable allow_url_fopen. If that doesn't work, well we'll see...

  12. venusberg
    Member
    Posted 9 months ago #

    Hi I'm having the same issue and I'm very reluctant to go messing with the file names as I'm just learning while I create my first site. Any update on this issue?

  13. realtm
    Member
    Posted 9 months ago #

    Hi venusberg,

    I will know more in a bit more than a week but it's very likely that this is related to a server settings. Maybe contact your server admistrator or host and ask them if 'allow_url_fopen' is enable. Actually that would be very helpfull for me to know that as that would narrow down the issue.

    Cheers

  14. venusberg
    Member
    Posted 9 months ago #

    Cool, thanks for the swift reply!
    I'll try to figure out who I should be asking!

    aisling @ venusberg

  15. realtm
    Member
    Posted 8 months ago #

    I've spoked to the php Oracle (http://www.karlrixon.co.uk/) and a solution is on it's way :)

  16. realtm
    Member
    Posted 8 months ago #

    Here we go, the latest version (1.0.3.1) should fix this problem. Please let me know if that didn't worked.

    Cheers!

    ps: Even if you're not using it anymore it would be great if you could test it as well.

  17. lunawordpress
    Member
    Posted 8 months ago #

    Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration in /homepages/33/d35178217/htdocs/herzblut/wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold.php on line 132
    The plugin looks fantastic and would actually be perfect for my purpose, but I get this error:

    Warning: simplexml_load_file(http://api.soundcloud.com/users/herzblut%20recordings/tracks.xml?limit=1&client_id=9rD2GrGrajkmkw5eYFDp2g) [function.simplexml-load-file]: failed to open stream: no suitable wrapper could be found in /homepages/33/d35178217/htdocs/herzblut/wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold.php on line 132

    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://api.soundcloud.com/users/herzblut%20recordings/tracks.xml?limit=1&client_id=9rD2GrGrajkmkw5eYFDp2g" in /homepages/33/d35178217/htdocs/herzblut/wp-content/plugins/soundcloud-is-gold/soundcloud-is-gold.php on line 132

    Can you help with this?

    Thanks by advance
    luna

  18. realtm
    Member
    Posted 8 months ago #

    Hi Luna,

    I assume this is you on soundcloud: http://soundcloud.com/herzblut-recordings

    I can see in your error message that you entered a user name of herzblut recordings, you're user name is herzblut-recordings.

    Cheers

  19. lunawordpress
    Member
    Posted 8 months ago #

    Thank you, works fine, perfect plugin ;-)

    Cheers
    luna

Reply

You must log in to post.

About this Plugin

About this Topic