Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello i get this error when i try to enable this module.
Parse error: syntax error, unexpected ';', expecting ')' in /home/xxxxx/public_html/sites/all/modules/soundcloud_tools/soundcloud_api.module on line 96
I deleted the module. Love to use it.
thanks
Comment | File | Size | Author |
---|---|---|---|
#4 | syntax-error-on-install-1674930-4.patch | 628 bytes | mjonesdinero |
Comments
Comment #1
WhereverPanda CreditAttribution: WhereverPanda commentedI'm getting this error as well. This module would be a LIFE SAVER if it worked...
Comment #2
mjonesdinero CreditAttribution: mjonesdinero commentedHi every one did you upload the soundcloud in https://github.com/mptre/php-soundcloud/downloads and put it on /sites/all/modules/soundcloud_tools folder?
Comment #3
mjonesdinero CreditAttribution: mjonesdinero commentedalso please reply to me if you are still getting error when you have already put the Services folder..
attach
patch apply to git off of the error
Comment #4
mjonesdinero CreditAttribution: mjonesdinero commentedsorry here is the patch
Comment #5
WhereverPanda CreditAttribution: WhereverPanda commentedThank you so much for the patch, it seems to do something, although now there is a new error which breaks the whole site:
Comment #6
mjonesdinero CreditAttribution: mjonesdinero commentedhi are you testing this in your localhost or in a live site? because in my localhost i have no error on this..
and it is running smoothly
Comment #7
WhereverPanda CreditAttribution: WhereverPanda commentedI am building online, so that might be where the issue is.
Comment #8
mjonesdinero CreditAttribution: mjonesdinero commentedHI please update the file
/soundcloud_tools/Services/Soundcloud.php line 685
current code
$postData = array_map(function ($track) {
please change to
$postData = array_map(function ($track)) {
Comment #9
WhereverPanda CreditAttribution: WhereverPanda commentedDamn, no sorry, man. It still doesn't seem to help the problem. :/
Comment #10
mjonesdinero CreditAttribution: mjonesdinero commentedis the problem still exists? hmff.. is the problem the same from what you have stated in #5?
Comment #11
mjonesdinero CreditAttribution: mjonesdinero commentedline 682-701.. please change the current function with this one...
Comment #12
mjonesdinero CreditAttribution: mjonesdinero commentedalso what php version are you using?
because if it is 5.2 it will make an error.. you must update the version to 5.3
Comment #13
nepasisiht CreditAttribution: nepasisiht commentedJust chipping in to say that comment #4's patch fixed a white screen issue on a PHP 5.3 server, so thank you.
Comment #14
WhereverPanda CreditAttribution: WhereverPanda commentedAt least I know there is hope. On my test domain I have PHP Version 5.2.17, but I know most have 5.3.
I'll have to set up on a new server and check again to see if I can get it working!!
Comment #15
mjonesdinero CreditAttribution: mjonesdinero commented@WhereverPanda
just post a feedback here if there are some issue
Comment #16
WhereverPanda CreditAttribution: WhereverPanda commentedIt's been a long time, but I have finally started playing with this module again, and it works BEAUTIFULLY now. Seriously, awesome module - and it works flawlessly.
The only thing I am personally missing is an option to use an HTML5 player instead of flash. Will you by any chance be looking into this in the future?