Hi there,
I just started development on making facebook application with yii but I came across this error. I not too sure how to solve.
iiBase::include(PEAR_Error.php) [<a href=‘function.YiiBase-include’>function.YiiBase-include</a>]: failed to open stream: No such file or directory
Hope that anyone can advise. I have php pear installed already on the server.
Thanks.
resplendent
(Lion Heart07)
2
I have solved this issue already.
Just to share, it is caused by PHP 5.1
Facebook platform required PHP 5.2
cheers.
thuong02
(Dinhthuong02)
3
Because Yii can not file include file. You have to set correct include path.
For example : Yii::import(‘application.extensions.facebook.Facebook’);
Note : You have to active Curl extension for xampp when use facebook and opengraph