Re: Help! - Simple authentication tutorial? Is it broken?

2012-12-20 Thread crush
Hey, I had this error: Fatal error: Class declarations may not be nested in /srv/www/website/public_html/lib/Cake/Controller/CakeErrorController.php on line 31 and finally tracked it down to the beforeFilter existing on the users controller twice: public function beforeFilter() {

Re: Help! - Simple authentication tutorial? Is it broken?

2012-12-20 Thread OxfordRob
@crush - thanks for the suggestion. I have looked at that file and most of the others looking for repeated function declarations - but can't see anything like that. On Thursday, 20 December 2012 11:34:06 UTC, crush wrote: Hey, I had this error: Fatal error: Class declarations may not be

Re: Help! - Simple authentication tutorial? Is it broken?

2012-12-20 Thread OxfordRob
jsunquist, Good suggestion. I tried moving everything up to the top level in my web server. I.e. I now have: /var/www/app /var/www/webroot /var/www/css etc. etc. Is this correct? It is not what I understood from the installation instructions. However, I think in the process I broke it

Re: Help! - Simple authentication tutorial? Is it broken?

2012-12-20 Thread lowpass
On Thu, Dec 20, 2012 at 3:12 PM, OxfordRob pestle...@gmail.com wrote: jsunquist, Good suggestion. I tried moving everything up to the top level in my web server. I.e. I now have: /var/www/app /var/www/webroot /var/www/css etc. etc. Is this correct? It is not what I understood from

Re: Help! - Simple authentication tutorial? Is it broken?

2012-12-20 Thread crush
I'll keep posting .but if anybody has actually made this tutorial work I would be very interested. I am starting to think I am in one of those 'gumption traps' where I assume it is my own ignorance causing me problems, but actually there is something wrong with the tutorial and/or

Help! - Simple authentication tutorial? Is it broken?

2012-12-19 Thread OxfordRob
Help! I have been trying to fix the 'Simple' Authentication tutorial for 10 hours today :-( The error messages from my Apache error log are listed below. I am sure I have an AppController.php file within the app/Controller older. Also, that this contains a good version of the AppController

Re: Help! - Simple authentication tutorial? Is it broken?

2012-12-19 Thread Jonathan Sundquist
oxfordRob, I've been trying to figure out what might be your issue with little to no success. One thing I might suggest you try is to move your entire app directory up to the root level instead of inside a subfolder if possible. You may have a configuration issue causing cake core to not find