Comments (4)
Please make sure you're using the correct branch of the plugin. There are two versions of it. The one for CakePHP 1.3.x and CakePHP 2.x. Please be sure you're using the CakePHP 2.x version of the plugin.
Nick
On Wed, May 21, 2014 at 4:19 AM, sela [email protected] wrote:
I copied the plugin to the folder /var/www/tree/Plugin/Facebook
From bootstrap.php I loaded it
CakePlugin::load('Facebook');
I checked in the DebugKit toolbar and I can't find the Plugin is loaded under Variables and then Plugin
but get the following error:
Helper class FacebookHelper could not be found.
Error: An Internal Error Has Occurred.
Stack Trace
CORE/Cake/View/View.php line 867 → HelperCollection->load(string, array)
CORE/Cake/View/View.php line 341 → View->loadHelpers()
CORE/Cake/Controller/Controller.php line 1240 → View->__construct(PagesController)
CORE/Cake/Controller/Controller.php line 938 → Controller->_getViewObject()
CORE/Cake/Routing/Dispatcher.php line 192 → Controller->render()
CORE/Cake/Routing/Dispatcher.php line 160 → Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)APP/webroot/index.php line 116 → Dispatcher->dispatch(CakeRequest, CakeResponse)
Reply to this email directly or view it on GitHub:
#158
from cakephp-facebook-plugin.
I wasn't sure if I get the master or cakephp 1.3 branch so downloaded the 3.1.2 now it just tells me
Helper class FacebookHelper could not be found.
Error: An Internal Error Has Occurred.
and doesn't suggest to create the folder location where to create the helper.
From: Nick Baker [email protected]
To: webtechnick/CakePHP-Facebook-Plugin [email protected]
Cc: sela [email protected]
Sent: Wednesday, 21 May 2014, 16:21
Subject: Re: [CakePHP-Facebook-Plugin] Helper/Plugin isn't loaded (#158)Please make sure you're using the correct branch of the plugin. There are two versions of it. The one for CakePHP 1.3.x and CakePHP 2.x. Please be sure you're using the CakePHP 2.x version of the plugin.
Nick
On Wed, May 21, 2014 at 4:19 AM, sela [email protected] wrote:
I copied the plugin to the folder /var/www/tree/Plugin/Facebook
From bootstrap.php I loaded it
CakePlugin::load('Facebook');
I checked in the DebugKit toolbar and I can't find the Plugin is loaded under Variables and then Plugin
but get the following error:
Helper class FacebookHelper could not be found.
Error: An Internal Error Has Occurred.
Stack Trace
CORE/Cake/View/View.php line 867 → HelperCollection->load(string, array)
CORE/Cake/View/View.php line 341 → View->loadHelpers()
CORE/Cake/Controller/Controller.php line 1240 → View->__construct(PagesController)
CORE/Cake/Controller/Controller.php line 938 → Controller->_getViewObject()
CORE/Cake/Routing/Dispatcher.php line 192 → Controller->render()
CORE/Cake/Routing/Dispatcher.php line 160 → Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)APP/webroot/index.php line 116 → Dispatcher->dispatch(CakeRequest, CakeResponse)
Reply to this email directly or view it on GitHub:
#158
—
Reply to this email directly or view it on GitHub.
from cakephp-facebook-plugin.
i dont know if this would help .but i had the same problem
this is how i fixed it
include the plugin in the cakephp default controller "pagesController.php"
public $helpers = array('Facebook.Facebook');
from cakephp-facebook-plugin.
For whatever reason, I got the following error when the plugin and helper were correctly loaded and after my users
table was deleted from the database:
Fatal error: Uncaught exception 'FatalErrorException' with message '[MissingHelperException] Helper class FacebookHelper could not be found.
#0 C:\xampp\htdocs\app_name\lib\Cake\View\HelperCollection.php(63): HelperCollection->load('Facebook')
#1 C:\xampp\htdocs\app_name\lib\Cake\View\View.php(848): HelperCollection->__isset('Facebook')
#2 C:\xampp\htdocs\app_name\app\View\Layouts\error.ctp(60): View->__get('Facebook')
#3 C:\xampp\htdocs\app_name\lib\Cake\View\View.php(961): include('C:\\xampp\\htdocs...')
#4 C:\xampp\htdocs\app_name\lib\Cake\View\View.php(923): View->_evaluate('C:\\xampp\\htdocs...', Array)
#5 C:\xampp\htdocs\app_name\lib\Cake\View\View.php(546): View->_render('C:\\xampp\\htdocs...')
#6 C:\xampp\htdocs\app_name\lib\Cake\View\View.php(481): View->renderLayout('', 'error')
#7 C:\xampp\htdocs\app_name\lib\Cake\Error\ExceptionRenderer.php(325): View->render('error500', 'error')
#8 C:\xampp\htdocs\app_name\lib\Cake\Error\ExceptionRenderer.php(306): ExceptionRendere in C:\xampp\htdocs\app_name\lib\Cake\Error\ErrorHandler.php on line 138
But when the users
table was re-added, the error went away.
So anyone else experiencing this when the helper should be getting loaded correctly, check on your database.
from cakephp-facebook-plugin.
Related Issues (20)
- Integrate plugin with custom user management mechanism HOT 1
- Avoid exception
- Facebook mobile connect does not work. HOT 3
- FB Api Not Working, Update the Facebook SDK on Vendors Folder with Newest SDK HOT 1
- Documentation update HOT 1
- Timeout after 5 minutes
- User getting logged in automatically HOT 3
- Fatal Error (1): Call to a member function share() on a non-object in HOT 1
- Iam using CakePHP-Facebook-Plugin(3.1.1) Now Facebook Releases Graph API v2.0 HOT 2
- logging out using logout url does not logout facebook user HOT 2
- get facebook user data using login with facebook HOT 4
- Multiple FB apps
- Storing additional data to user row after login
- Connect->user() returns null on chrome
- afterFacebookLogin does't work HOT 1
- It's not an issue but seeking help on getting and saving user data while facebook login.
- Permissions login does not work HOT 1
- Question
- Internationalization is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cakephp-facebook-plugin.