CakePHP-Facebook-Plugin icon indicating copy to clipboard operation
CakePHP-Facebook-Plugin copied to clipboard

please help me some one

Open jaskaran87 opened this issue 13 years ago • 2 comments

Hi webtechnick

Hope you are doing well

I have problem using your plugin

i have place all files in this directory C:\wamp\www\cak2\app\plugins\facebook

and one file is copy and place config and set api key and other information

C:\wamp\www\cak2\app\config\facebook.php

Now i have create a controller

But Missing Helper File

Error: The helper file app\views\helpers\facebook.php can not be found or does not exist. Error: Create the class below in file: app\views\helpers\facebook.php

This error is there if i right this line in bootstrap.php

CakePlugin::load('Facebook');

then this error is come Fatal error: Class 'CakePlugin' not found in C:\wamp\www\cak2\app\config\bootstrap.php on line 51

I am using 1.3 cakephp please suggest me where i am worg

jaskaran87 avatar Sep 22 '12 14:09 jaskaran87

try CakePlugin::load('facebook'), the same name as the forlder that you created

tranfuga25s avatar Nov 21 '12 03:11 tranfuga25s

Thanks dear

jaskaran87 avatar Nov 21 '12 04:11 jaskaran87