Try this:
App::import('Vendor', 'twitter'.DS.'EpiTwitter');

On Nov 14, 2:05 pm, "[ ramesh ]" <[email protected]> wrote:
> Here is the original message that was a typo
>
> *Fatal error*: Class 'EpiTwitter' not found in *
> D:\wamp\www\fly\app\controllers\components\twitter.php* on line *8*
>
>
>
>
>
> On Sat, Nov 14, 2009 at 12:21 PM, Dr. Loboto <[email protected]> wrote:
> > Error says about EpiOAuth class request in your component but code you
> > provided do not have such line.
>
> > On Nov 14, 4:03 am, "[ ramesh ]" <[email protected]> wrote:
> > > 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]<cake-php%[email protected] 
> > om>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=.
>
> --
> /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=.


Reply via email to