This error appears at every syntax or logic errors with the Auth
component. To fix it, simply track the errors (it can be a semi-colon !)
Squix
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you
I had this problem and fixed it
in my AppController.php file I had:
class AppController extends Controller {
public $components=array('DebugKit.Toolbar');
public $helpers = array('Html', 'Form', 'Session');
public $components = array('Session');
Removing the last 2 lines
I'm having the exact same error message and can't seem to resolve it.
Did you ever find the solution? It sounds like you went through the same
trouble.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message
@cricket - thank you for that explanation of a several points. I made the
changes as you suggested but still no joy.
Here is the Apache log from when I finished last night...
[Wed Dec 19 20:49:25 2012] [error] [client 127.0.0.1] PHP Fatal error:
Class 'AppController' not found in
@OxfordRob where are the Controller Classes currently they (Users App
controllers) should be in
app/Controller/
- S
On 20 December 2012 20:03, OxfordRob pestle...@gmail.com wrote:
@cricket - thank you for that explanation of a several points. I made the
changes as you suggested but still
As a follow upI am suspicious in this area
The tutorial says To add this component to your application *open* your
app/Controller/AppController.php file and *add* the following lines:
But this is the first mention of an 'AppController.php' file.
So I just created an 'AppController.php'
The AppController.php is part of the default download of CakePHP in all
versions. I just downloaded a fresh copy of CakePHP 2.3.0-RC1 and within
the app/Controllers directory there is in fact an AppController.php file.
You shouldn't need to re-create the file unless you deleted it.
On Wed, Dec
@jsundquist - that was helpful, thank you. I had deleted the file - and the
one I had created was missing:
App::uses('Controller', 'Controller');
I am still seeing the long string of error messages however.
Fatal error: Class 'AppController' not found in
The message is still pretty clear. That's a standard php debug message. No
way of changing the information present.
As far as what that is telling you, its saying it still cannot find your
AppController.
On Dec 19, 2012 12:55 PM, OxfordRob pestle...@gmail.com wrote:
@jsundquist - that was
What does your current AppController look like?
A stripped down version should look like this
?php
App::uses('Controller','Controller');
class AppController extends Controller{
}
On Wed, Dec 19, 2012 at 1:38 PM, OxfordRob pestle...@gmail.com wrote:
@jsundquist - Thank you - that makes
Here it is:
?php
/**
* Application level Controller
*
* This file is application-wide controller file. You can put all
* application-wide controller-related methods here.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software
I have a clue... The line:
App::uses('AuthComponent', 'Controller/Component');
looks as if it is referring to a library component within the folder
'Controller/Component'...
But I only have one file in that folder called 'empty'
Does that suggest something is missing? Do components have to
On Wed, Dec 19, 2012 at 3:13 PM, OxfordRob pestle...@gmail.com wrote:
I have a clue... The line:
App::uses('AuthComponent', 'Controller/Component');
The error msg you posted has nothing to do with AuthComponent.
looks as if it is referring to a library component within the folder
13 matches
Mail list logo