Yahoo Social SDK PHP setup help?

六眼飞鱼酱① 提交于 2019-12-11 04:35:28

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/5983825/yahoo-social-sdk-php-setup-help

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!