Re: ShellDispatcher help

2013-11-01 Thread AD7six
I'd guess you're using php 4 https://github.com/cakephp/cakephp/blob/master/lib/Cake/Console/ShellDispatcher.php#L32 On Friday, 1 November 2013 02:37:55 UTC+1, Jared Testa wrote: > > I'm new to CakePHP. My first install was 2.4.1, right before .2 came out. > I tried using Shell in .1 and got a

ShellDispatcher help

2013-11-01 Thread Jared Testa
I'm new to CakePHP. My first install was 2.4.1, right before .2 came out. I tried using Shell in .1 and got an error. I also noticed the update the same time, so I went ahead and updated to .2. I'm getting a syntax error when trying to run Console/cake. Parse error: syntax error, unexpect

Cakephp blog tutorial error

2013-11-01 Thread Adnan Rajper
Hi there, I followed this tutorial, everything is working fine apart from the "edit method" when click the edit link it gives following warning message. I am new to cakephp and php. *Warning* (2): strtolower() expects parameter 1 to be string, array given [*CORE/Cake/Network/CakeRequest.php*,

CakePHP 1.3: How to display form validation error messages when form is not tied to a model?

2013-11-01 Thread Stephen Tang
I have a view where I used FormHelper methods ($this->Form->input, etc.) to create a form (post), but this form is not tied to any model. It's a dumb form. For example, some fields are date fields. My controller will do some validation on these fields, but if there is a problem, how would I