loading plugin in cake 1.3 bootstrap

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

loading plugin in cake 1.3 bootstrap

chris69m
hi guys,... can someone help please,... 
I'm having a problem loading plugin from bootstrap

CakePlugin::load('Facebook');

I have also tried: 
CakePlugin::load(array('Facebook' => array('bootstrap' => true)));

nu luck,... I'm getting an error: 
Fatal error: Class 'CakePlugin' not found in.... 

How can I do this,... 

thanks in advance 
chris 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: loading plugin in cake 1.3 bootstrap

chris69m
anyone,...??


On Wednesday, January 16, 2013 6:12:55 AM UTC-8, Chris wrote:
hi guys,... can someone help please,... 
I'm having a problem loading plugin from bootstrap

CakePlugin::load('Facebook');

I have also tried: 
CakePlugin::load(array('Facebook' => array('bootstrap' => true)));

nu luck,... I'm getting an error: 
Fatal error: Class 'CakePlugin' not found in.... 

How can I do this,... 

thanks in advance 
chris 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: loading plugin in cake 1.3 bootstrap

AD7six
Evidently you are using syntax from a different version of CakePHP to the one you have installed.

What version of Cake are you using?

AD

On Thursday, 17 January 2013 08:38:12 UTC+1, Chris wrote:
anyone,...??


On Wednesday, January 16, 2013 6:12:55 AM UTC-8, Chris wrote:
hi guys,... can someone help please,... 
I'm having a problem loading plugin from bootstrap

CakePlugin::load('Facebook');

I have also tried: 
CakePlugin::load(array('Facebook' => array('bootstrap' => true)));

nu luck,... I'm getting an error: 
Fatal error: Class 'CakePlugin' not found in.... 

How can I do this,... 

thanks in advance 
chris 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: loading plugin in cake 1.3 bootstrap

chris69m
hi AD7six,... how r u,... 
I'm on 1.3 version 


On Thursday, January 17, 2013 1:08:34 AM UTC-8, AD7six wrote:
Evidently you are using syntax from a different version of CakePHP to the one you have installed.

What version of Cake are you using?

AD

On Thursday, 17 January 2013 08:38:12 UTC+1, Chris wrote:
anyone,...??


On Wednesday, January 16, 2013 6:12:55 AM UTC-8, Chris wrote:
hi guys,... can someone help please,... 
I'm having a problem loading plugin from bootstrap

CakePlugin::load('Facebook');

I have also tried: 
CakePlugin::load(array('Facebook' => array('bootstrap' => true)));

nu luck,... I'm getting an error: 
Fatal error: Class 'CakePlugin' not found in.... 

How can I do this,... 

thanks in advance 
chris 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: loading plugin in cake 1.3 bootstrap

chris69m
In reply to this post by AD7six
hi AD7six,... 
I have also tried: 

 App::build(array(
     'plugins' => array('Facebook', 'Recaptcha'),
 )); 
and I don't think its reading Plugins,... when I add , 'Facebook.Facebook', 'Recaptcha.Recaptcha' into var $helpers = array( 
the site is stop working,... 


On Thursday, January 17, 2013 1:08:34 AM UTC-8, AD7six wrote:
Evidently you are using syntax from a different version of CakePHP to the one you have installed.

What version of Cake are you using?

AD

On Thursday, 17 January 2013 08:38:12 UTC+1, Chris wrote:
anyone,...??


On Wednesday, January 16, 2013 6:12:55 AM UTC-8, Chris wrote:
hi guys,... can someone help please,... 
I'm having a problem loading plugin from bootstrap

CakePlugin::load('Facebook');

I have also tried: 
CakePlugin::load(array('Facebook' => array('bootstrap' => true)));

nu luck,... I'm getting an error: 
Fatal error: Class 'CakePlugin' not found in.... 

How can I do this,... 

thanks in advance 
chris 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: loading plugin in cake 1.3 bootstrap

AD7six
In reply to this post by chris69m
CakePlugin doesn't exist until 2.0. In 1.3 you don't need to load plugins yourself as they are loaded automatically.

I recommend starting here: http://book.cakephp.org/1.3/en/search.html?q=plugins&check_keywords=yes&area=default

AD

On Thursday, 17 January 2013 10:17:14 UTC+1, Chris wrote:
hi AD7six,... how r u,... 
I'm on 1.3 version 


On Thursday, January 17, 2013 1:08:34 AM UTC-8, AD7six wrote:
Evidently you are using syntax from a different version of CakePHP to the one you have installed.

What version of Cake are you using?

AD

On Thursday, 17 January 2013 08:38:12 UTC+1, Chris wrote:
anyone,...??


On Wednesday, January 16, 2013 6:12:55 AM UTC-8, Chris wrote:
hi guys,... can someone help please,... 
I'm having a problem loading plugin from bootstrap

CakePlugin::load('Facebook');

I have also tried: 
CakePlugin::load(array('Facebook' => array('bootstrap' => true)));

nu luck,... I'm getting an error: 
Fatal error: Class 'CakePlugin' not found in.... 

How can I do this,... 

thanks in advance 
chris 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: loading plugin in cake 1.3 bootstrap

chris69m
Than why it's not loading when I add in app_controller.php helpers. I assume it can't find Recaptcha plugin and/or helper within... 
var $helpers = array('Html', 'Form', 'Recaptcha.Recaptcha'); 

the whole site is stop working. 

How can I do this...? 


On Thursday, January 17, 2013 6:37:10 AM UTC-8, AD7six wrote:
CakePlugin doesn't exist until 2.0. In 1.3 you don't need to load plugins yourself as they are loaded automatically.


AD

On Thursday, 17 January 2013 10:17:14 UTC+1, Chris wrote:
hi AD7six,... how r u,... 
I'm on 1.3 version 


On Thursday, January 17, 2013 1:08:34 AM UTC-8, AD7six wrote:
Evidently you are using syntax from a different version of CakePHP to the one you have installed.

What version of Cake are you using?

AD

On Thursday, 17 January 2013 08:38:12 UTC+1, Chris wrote:
anyone,...??


On Wednesday, January 16, 2013 6:12:55 AM UTC-8, Chris wrote:
hi guys,... can someone help please,... 
I'm having a problem loading plugin from bootstrap

CakePlugin::load('Facebook');

I have also tried: 
CakePlugin::load(array('Facebook' => array('bootstrap' => true)));

nu luck,... I'm getting an error: 
Fatal error: Class 'CakePlugin' not found in.... 

How can I do this,... 

thanks in advance 
chris 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: loading plugin in cake 1.3 bootstrap

Bernabe Garro
Hi Chris, did you load the plugin ??
i have the same problem right now





On Thursday, January 17, 2013 3:46:59 PM UTC-6, Chris wrote:
Than why it's not loading when I add in app_controller.php helpers. I assume it can't find Recaptcha plugin and/or helper within... 
var $helpers = array('Html', 'Form', 'Recaptcha.Recaptcha'); 

the whole site is stop working. 

How can I do this...? 


On Thursday, January 17, 2013 6:37:10 AM UTC-8, AD7six wrote:
CakePlugin doesn't exist until 2.0. In 1.3 you don't need to load plugins yourself as they are loaded automatically.


AD

On Thursday, 17 January 2013 10:17:14 UTC+1, Chris wrote:
hi AD7six,... how r u,... 
I'm on 1.3 version 


On Thursday, January 17, 2013 1:08:34 AM UTC-8, AD7six wrote:
Evidently you are using syntax from a different version of CakePHP to the one you have installed.

What version of Cake are you using?

AD

On Thursday, 17 January 2013 08:38:12 UTC+1, Chris wrote:
anyone,...??


On Wednesday, January 16, 2013 6:12:55 AM UTC-8, Chris wrote:
hi guys,... can someone help please,... 
I'm having a problem loading plugin from bootstrap

CakePlugin::load('Facebook');

I have also tried: 
CakePlugin::load(array('Facebook' => array('bootstrap' => true)));

nu luck,... I'm getting an error: 
Fatal error: Class 'CakePlugin' not found in.... 

How can I do this,... 

thanks in advance 
chris 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: loading plugin in cake 1.3 bootstrap

Dario Savella
In reply to this post by chris69m
I realize this is ancient history, but I cannot find in the docs/books how to enable DebugKit in CakePHP 1.3.

(I am doing support on an old app that seems to have been stripped of all the "unused" files).

GitHub docs for DebugKit refer to lighthouse.com, but there does not seem to be anything there anymore.

Can someone help or point me to where the old docs are (if any) ?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: loading plugin in cake 1.3 bootstrap

Dario Savella
In reply to this post by chris69m
Never mind.

Just in case someone is not daring enough to try, it is done in the same way by adding:

public $components = array( 'DebugKit.Toolbar' );

to AppController or the specific one where it is needed.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.