I have a component like this
App::import('Vendor', 'Twitter', array('file' =>
'twitter'.DS.'EpiCurl.php'));
App::import('Vendor', 'Twitter', array('file' =>
'twitter'.DS.'EpiOAuth.php'));
App::import('Vendor', 'Twitter', array('file' =>
'twitter'.DS.'EpiTwitter.php'));
class TwitterComponent extends Component {
function getAuthenticationURL() {
$twitter = new EpiTwitter(Configure::read('twitter.consumerKey'),
Configure::read('twitter.consumerSecret'));
$authenticateURL = $twitter->getAuthenticateUrl();
return $authenticateURL;
}
}
i am getting the following error when i try to access this component
"*Fatal error*: Class 'EpiOAuth' not found in *
D:\wamp\www\fly\app\controllers\components\twitter.php* on line *14*"
thess files are located in /app/vendors/twitter folder
Thanks
/Ramesh Sakibanda/
--
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=.