On 7/12/2010 1:46 PM, Linuus wrote:
Hi!
I found this today: http://github.com/m3nt0r/last.fm-datasource-for-cakephp
and wanted to try it out. I'm very new to CakePHP.
I just can't get this datasource to work. I keep getting this error:
"Fatal error: Call to undefined method HttpSocket::buildUri() in /
Applications/MAMP/htdocs/app/models/datasources/lastfm_source.php on
line 573"
I think you're trying this on CakePHP 1.3.x.
buildUri in 1.3.x has an _ (underscore) in front to denote it's
protected, so the line 573 should read $sock->_buildUri.
Open up cake/libs/http_socket.php for details.
Other changes might be needed too, I haven't read the entire Last.FM class.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en