AD - Class 'AppController' error

3 messages Options
Embed this post
Permalink
Stuart

AD - Class 'AppController' error

Reply Threaded More More options
Print post
Permalink
I'm getting this error "Class 'AppController' not found in .../cake/libs/error.php on line 38" when trying to launch the calendar. It seems that the CakeErrorController class can't extend AppController. I'm using cake 1.2.0.7692-rc3 (latest). Possibly some problem with App::import?
davidgolding

Re: AD - Class 'AppController' error

Reply Threaded More More options
Print post
Permalink
I'd assume it's an RC3 deal. I'll be revisiting AD soon, but first I need to get the SVN repository working (I suck at SVN, but I'm getting there... Hopefully once that's running well, we can get some collaboration to improve AD).
--Dave

Author, "Beginning CakePHP: From Novice to Professional"

[ get your copy at: http://www.amazon.com/Beginning-CakePHP-Novice-Professional/dp/1430209771/ ]
Mike Birch

Re: AD - Class 'AppController' error

Reply Threaded More More options
Print post
Permalink
In reply to this post by Stuart
I ran into the same problem and discovered two issues:

There are 3 missing directories in the source code that I downloaded from http://github.com/davidgolding/anno-domini/tree/master
tmp/cache
tmp/sessions
tmp/tests

PHP short tags also caused problems for me and it's not the coding style I prefer.
http://stackoverflow.com/questions/200640/are-php-short-tags-acceptable-to-use