I think it's quite possible that these things happen because people
forget to clear their app cache, not because cake has a bug. It seems
highly unlikely that this sort of thing will happen only to the few
and after update.
On Jun 19, 12:33 pm, Aidan Lister <[EMAIL PROTECTED]> wrote:
> So renamin
On Jun 19, 12:33 pm, Aidan Lister <[EMAIL PROTECTED]> wrote:
> So renaming / deleting this file should be documented
> athttp://book.cakephp.org/edit/18/application-extensions?
don't touch the cake folder and no.
>
> I hope the cakephp developers understand the security implications of
> this
So renaming / deleting this file should be documented at
http://book.cakephp.org/edit/18/application-extensions ?
I hope the cakephp developers understand the security implications of
this change ... The majority of authentication models used in CakePHP
relied on AppController's beforeFilter ...
I solved this one by renaming /cake/libs/controller/app_controller.php
to /cake/libs/controller/app_controller.php1
:(
On Apr 12, 2:51 pm, Bodog <[EMAIL PROTECTED]> wrote:
> Install / Setup / Config were fine. I'm convinced there was a problem
> with that build, since I had changed nothing when I
Install / Setup / Config were fine. I'm convinced there was a problem
with that build, since I had changed nothing when I switched to the
nightly. My config stayed the same and as soon as I switched to the
nightly libs, everything worked again.
> I've been using 1.2.0.6311 as well as another inst
well, nate is on the dev team, so it's possible he knows what he's
talking about :P
I've been using 1.2.0.6311 as well as another instance of the latest
svn, both with no problems using app_controller in the app folder. If
you're having problems, I'd look at your install/setup/config before
anyt
Yep, it seems like the 1.2 build which is downloaded from cakephp.org
has this problem. Getting the latest nightly seems to solve it when
read from:
app/app_controller.php
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
A few mixed messages here. Some people say to put app_controller.php
in:
app/app_controller.php
while others say:
app/controllers/app_controller.php
Neither work for me in 1.2.0.6311 beta. Just like Seb, I had to put it
in:
cake/libs/controllers/app_controller.php
... which isn't supposed to
Mike, that's because AppController is supposed to go in your app/
folder, not in controllers/, not in the root.
On Feb 13, 4:43 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> can i jump in here?
> i have app_controller.php in controllers/ and its first line is
> die("woot")
>
> it does not
put die in __construct(){
die('wtf');
}
On 13 velj, 21:43, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> can i jump in here?
> i have app_controller.php in controllers/ and its first line is
> die("woot")
>
> it does not die. i made a copy and put in the app root, and it did
> not die either
can i jump in here?
i have app_controller.php in controllers/ and its first line is
die("woot")
it does not die. i made a copy and put in the app root, and it did
not die either.
1.2.0.6311 beta
On Jan 30, 4:39 am, Seb <[EMAIL PROTECTED]> wrote:
> OK, now I'm confused.
>
> I've just got the l
Since a certain revision of 1.2 (not sure which one), your app
controller must be in
/app/controllers/app_controller.php
NOT
/app/app_controller.php like before
Also note that in a controller, any 'public' method is potentially an
action, so you should really pseudo-protect `doSomething` :
cl
OK, now I'm confused.
I've just got the latest nightly, put app_controller.php in /app/
app_controller.php and it seems to be working - looks like there's
something broke in the new year's build?!
Thanks for the help anyway - i'll "pseudo" protect my functions from
now on :D
Seb
On Jan 30, 10:
Hi!
I'm just thinking about moving an App i'm working on to CakePHP 1.2 so
that I can enjoy some of the new features... I seem to have fallen at
the first hurdle though!
In my existing app (for 1.1) I define some functions in my /app/
app_controller.php for use elsewhere. E.g.:
class AppControl
I've looked into this a bit more and found that if i stick my custom
functions for AppController in:
/cake/libs/controller/app_controller.php
Then the function is visible in the sub controllers - is Cake 1.2 just
ignoring my /app/app_controller.php completely?! (also i tried putting
it in /app/c
15 matches
Mail list logo