Re: Help / Source code for Simple Authentication tutorial

2014-01-01 Thread Squix
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 ar

Re: Help / Source code for Simple Authentication tutorial

2013-02-28 Thread Scott Tobias
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

Re: Help / Source code for Simple Authentication tutorial

2013-02-03 Thread Omega
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 beca

Re: Help / Source code for Simple Authentication tutorial

2012-12-20 Thread Sam Sherlock
@OxfordRob where are the Controller Classes currently they (Users & App controllers) should be in app/Controller/ - S On 20 December 2012 20:03, OxfordRob wrote: > @cricket - thank you for that explanation of a several points. I made the > changes as you suggested but still no joy. > > Here

Re: Help / Source code for Simple Authentication tutorial

2012-12-20 Thread OxfordRob
@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 /var/www/cak

Re: Help / Source code for Simple Authentication tutorial

2012-12-19 Thread lowpass
On Wed, Dec 19, 2012 at 3:13 PM, OxfordRob 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 > 'Controller/Component'...

Re: Help / Source code for Simple Authentication tutorial

2012-12-19 Thread OxfordRob
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 be

Re: Help / Source code for Simple Authentication tutorial

2012-12-19 Thread OxfordRob
Here it is: http://cakephp.org) * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (ht

Re: Help / Source code for Simple Authentication tutorial

2012-12-19 Thread Jonathan Sundquist
What does your current AppController look like? A stripped down version should look like this wrote: > @jsundquist - Thank you - that makes sense, I can see that information at > the part of the error string. > > If I look at my cake folder structure, the file seems to be there (see > attached

Re: Help / Source code for Simple Authentication tutorial

2012-12-19 Thread Jonathan Sundquist
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" wrote: > @jsundquist - that was helpful, thank you. I

Re: Help / Source code for Simple Authentication tutorial

2012-12-19 Thread OxfordRob
@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 /var/www/cakephp-2.3.0-RC1/lib/Cake/Co

Re: Help / Source code for Simple Authentication tutorial

2012-12-19 Thread Jonathan Sundquist
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 1

Re: Help / Source code for Simple Authentication tutorial

2012-12-19 Thread OxfordRob
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