Hi,
I am trying to use yelp component (which provides the review details using the zipcode), here they given a oauth and a component file. I have placed the oauth file under extensions/yelp/lib/oauth.php and the component file in components folder
And in config main.php i have this
'components'=>array(
'yelpsrch'=>array(
'class'=>'YelpComponent',
),
),
and in the sitecontroller.php there is a actionsearch() function where i am trying to the component using Yii::app()->yelpsrch->search($zip);
But i am getting cannot redeclare class "fatal error"
can some one pls help to figure this out?
Thanks
Vego