Re: ACL issue

2011-06-18 Thread Felix Fennell
how ACL treats these. Has anyone come across this sort of problem before and able to outline their solution, or have I been an idiot and missed something really obvious. Sorry for such a long message, I didn't want to miss anything out - thanks in advance, --Felix Fennell

Re: Routing with prefixes not working

2010-09-13 Thread Felix Fennell
Hi, sorry for the late reply. The rules together seem to do the trick, everything works as I expect, thanks for your help. Felix On 10 September 2010 18:49, cricket zijn.digi...@gmail.com wrote: On Fri, Sep 10, 2010 at 3:55 AM, Felix fe...@felixfennell.co.uk wrote: Hi - just a quick question,

Re: Auth config problem

2010-07-19 Thread Felix Fennell
AM, Felix Fennell fe...@felixfennell.co.uk wrote: Ok, I just tried setting the loginRedirect and still nothing happens, as in I'm not redirected, again there were no errors shown and I don't know if the login was successful. Set debug to 2 so that you can at least see if Auth is correctly

Re: Auth config problem

2010-07-18 Thread Felix Fennell
Ok, I just tried setting the loginRedirect and still nothing happens, as in I'm not redirected, again there were no errors shown and I don't know if the login was successful. The only difference now that loginRedirect is set is after I click login and am sent back to the login page the password

Re: Validation problem

2010-07-14 Thread Felix Fennell
Ok, I've got everything working now! The rules I have ended up with are; First name: 'rule' = '/^[a-zA-Z]+$/', Second name: 'rule' = '/^[a-zA-Z]+$/', Company name: 'rule' = '/^[a-zA-Z\s]+$/', (Company name should also allow spaces) I realise that I could use /i instead of the [a-zA-Z] bit

Re: Validation problem

2010-07-14 Thread Felix Fennell
Thanks grigri, cricket, I've got it working now - I worked out the + thing from a regex tutorial. On 14 July 2010 02:09, cricket zijn.digi...@gmail.com wrote: On Tue, Jul 13, 2010 at 2:57 PM, Felix Fennell fe...@felixfennell.co.uk wrote: Removing the /i doesn't do anything unfortunately - I

Re: Validation problem

2010-07-13 Thread Felix Fennell
Removing the /i doesn't do anything unfortunately - I read the handbook page too and thought it should work. They use this to check for any string using alphanumeric characters + dashes + underscores; [0-9a-zA-Z_-] So I would have though that using [a-zA-Z] would work for just upper and

Re: Validation problem

2010-07-12 Thread Felix Fennell
Hi, thanks for the reply - I have updated the validation rules in the model with your suggestion, I get the following errors back for data that should be valid (ie. allowed) == Warning (2): preg_match() [function.preg-match]: No ending delimiter '^' found [CORE/cake/libs/model/model.php, line