I'm 开发者_运维技巧trying to connect with Yahoo using YQL and PHP and I've downloaded the newer YOSocial SDK for PHP5. When trying to run the YQL Delicious example I'm getting the following error:
Warning: session_start() [function.session-start]: open(/tmp//sess_a564d1951e80e64d87a4645f2a18c8b6, O_RDWR) failed: Permission denied (13) in /Users/User Name/Sites/examples/common.inc.php on line 55
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Users/User Name/Sites/examples/common.inc.php:55) in /Users/User Name/Sites/examples/common.inc.php on line 55
I've put in my consumer key, consumer secret, oauth domain and oauth app id and I'm getting this error still. I currently have it setup to try to run from my Sites folder on my Mac using the built in PHP if that has something to do with the error. I'm pretty new to PHP (took one course in school) so any help would be much appreciated!
Nothing I could do could make the official Yahoo SDK work but using the bigodines fork (https://github.com/bigodines/yos-social-php5) I was able to get it working without any issues.
精彩评论