Cake console shell error - not able to see App

2014-01-27 Thread Nif
Hi All, I am new to the cake console and especially to creating a shell to run in/on it. The research I have done says it should be possible to call App from the shell and the examples I have seen use code like the below to do so. ?php App::uses('AppShell', 'Console/Command');

Re: Cake console shell error - not able to see App

2014-01-27 Thread Nif
OK... it was me. All me. I was missing a semi-colon ;p I do however have a new issue. I manage to call in my Component, but that component calls one of my controllers and this is now throwing an error when running in the console. I need all the functionality to be accessible to both the web

Help with Model associations and find

2013-09-03 Thread Nif
Hi All, I have something I am struggling with and hoping someone can help? I've used Cake for some simple tools and site structure in the past and I'm currently working on my first complex db design within the framework. I know how to do this in mySQL, but cannot figure out how to use Cake's

MD5 file warning with Media Plugin

2012-03-01 Thread Nif
Hi there, I am trying to use the Media plugin for Cake 2.0 (https://github.com/ bmcclure/CakePHP-Media-Plugin) and all appears to be working except that I am getting the warning below on 2 of my view pages. I have searched high and low for answers, but am not finding anything. Warning (2):

Authorization causing redirect loop

2012-02-20 Thread Nif
Hi there, I have posted on another group, but had no replies, so please forgive me if this is a double up. I am still fairly new at cake and have been trying, very unsuccessfully to setup a login to some admin tools on a site I have built using Cake 2. I have now tried about 4 different methods