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*,

Re: Cakephp blog tutorial, SQL error when INSERTING into posts.

2013-08-05 Thread Marcelo F Andrade
On Mon, Aug 5, 2013 at 11:51 AM, Greg Sarpy wrote: > > (..) I am trying to *INSERT INTO POSTS* exactly as it is in the manual: > >> INSERT INTO posts (title,body,created) >> VALUES ('The title', 'This is the post body.', NOW()); > (..) > > It immediately outputs the following error: > (..) >>

Cakephp blog tutorial, SQL error when INSERTING into posts.

2013-08-05 Thread Greg Sarpy
Hi guys, this is my first attempt at CakePHP and so far it seems amazing. I'm not a PHP/DB pro but I am learning. Anyway, I'm familiarizing myself with the framework by creating the blog in the tutorial. So far I've successfully created the table, now I am trying to *INSERT INTO POSTS* exactly

Re: Is there a "CakePHP blog package"?

2011-07-22 Thread Jeremy Burns | Class Outfit
It's based on Cake, not CodeIgniter, and can handle blogs. Jeremy Burns Class Outfit http://www.classoutfit.com On 22 Jul 2011, at 11:12, Fábio Luciano wrote: > Croogo is a CMS codeigniter based, and not a blog system. Just for > information. > > -- > Our newest site for the community: CakeP

Re: Is there a "CakePHP blog package"?

2011-07-22 Thread Fábio Luciano
Croogo is a CMS codeigniter based, and not a blog system. Just for information. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubsc

Re: Is there a "CakePHP blog package"?

2011-07-22 Thread DierRe
Perfect, thank you very much Jeremy. On 22 Lug, 11:31, Jeremy Burns | Class Outfit wrote: > Have a look athttp://croogo.org/ > > Jeremy Burns > Class Outfit > > http://www.classoutfit.com > > On 22 Jul 2011, at 10:26, DierRe wrote: > > > > > > > > > Hi guys! Is there available somewhere a blog ap

Re: Is there a "CakePHP blog package"?

2011-07-22 Thread Jeremy Burns | Class Outfit
Have a look at http://croogo.org/ Jeremy Burns Class Outfit http://www.classoutfit.com On 22 Jul 2011, at 10:26, DierRe wrote: > Hi guys! Is there available somewhere a blog app that could be used > for free? So I have a base and I can extend what I need. I've looked > on the bakery but I din't

Is there a "CakePHP blog package"?

2011-07-22 Thread DierRe
Hi guys! Is there available somewhere a blog app that could be used for free? So I have a base and I can extend what I need. I've looked on the bakery but I din't found anything. What I'm looking for is basically "comments moderation" and "user roles". -- Our newest site for the community: CakeP

Re: cakephp blog english

2010-03-12 Thread pzero
Hey cricket thanks a lot. i fixed this issue with your help. You are the best :) Now it works i put the hidden field echo $form->hidden('Post.id'); when i edit a post now it updates and it doens't create a new post. i wish you a nice weekend!!! and thanks a lot On 12 Mrz., 18:29, crick

Re: cakephp blog english

2010-03-12 Thread cricket
On Mar 12, 12:09 pm, pzero wrote: > Hallo cricket, > > Thanks a lot, the validation rules works. > But i don't had understood where i have to include a hidden form > input... Sorry im a newbie. That's ok. We all start from somewhere. I'm still confused about a lot of Cake things. You put the hid

Re: cakephp blog english

2010-03-12 Thread pzero
Hallo cricket, Thanks a lot, the validation rules works. But i don't had understood where i have to include a hidden form input... Sorry im a newbie. On 12 Mrz., 17:40, cricket wrote: > The alphaNumeric rule is equivalent to /[a-A-Z0-9]+/ and is only > useful for something like a password or ot

Re: cakephp blog english

2010-03-12 Thread cricket
The alphaNumeric rule is equivalent to /[a-A-Z0-9]+/ and is only useful for something like a password or other code. For something like a title, try 'rule' => array('minLength', 1). It's a lot more flexible. For editing a record, you need to include the id in $this->data for the save(). Include a

Re: cakephp blog english

2010-03-12 Thread pzero
Hello Thanks a lot for your quick reply. this is my edit function function edit($id = null) { $actionHeading = 'Post bearbeiten!'; $actionSlogan = 'Bitte alle Felder ausfüllen.'; $this->set(compact('actionHeading','actionSlogan'));

Re: cakephp blog english

2010-03-10 Thread cricket
On Mar 10, 4:10 am, pzero wrote: > Good Morning together, > > I created a blog with Cakephp and now I have two issues. If i edit a > post instead of updating this post my application create a new post, You need to include a hidden field in the form for the id. echo $form->hidden('Post.id'); Sub

cakephp blog english

2010-03-10 Thread pzero
Good Morning together, I created a blog with Cakephp and now I have two issues. If i edit a post instead of updating this post my application create a new post, and the second issue is by adding a new post. If i write in my title and in my comment box text without blanks it works, but if i write f

cakephp blog

2010-03-10 Thread pzero
Hallo zusammen, Ich habe ein Blog mit Cakephp erstellt hab aber zwei Probleme die ich nicht lösen kann. Und zwar erstellt mein Blog beim editieren eines Posts ein neuer Post anstatt dass der post editiert wird. Ein zweites Problem ist wenn ich ein neuer Post erfassen will nur strings ohne leerzeic

Re: Got Error when try the tutorial of "The CakePHP Blog Tutorial with SMARTY"

2008-09-18 Thread sho
hen try the tutorial of "The CakePHP Blog > Tutorial with SMARTY". > Tutorial > link:http://bakery.cakephp.org/articles/view/the-cakephp-blog-tutorial-wit... > > I think I have followed the instructions exactly as what the tutorial > said, but still comes up with the follow

Got Error when try the tutorial of "The CakePHP Blog Tutorial with SMARTY"

2008-09-16 Thread Steven
Hi, I just got an error when try the tutorial of "The CakePHP Blog Tutorial with SMARTY". Tutorial link: http://bakery.cakephp.org/articles/view/the-cakephp-blog-tutorial-with-smarty I think I have followed the instructions exactly as what the tutorial said, but still comes u

Re: problem with htmlhelper in cakephp blog tutorial

2007-06-07 Thread Joshua Benner
demotivator for building websites) Installation went perfect, however now i'm coping with some problems with the Cakephp Blog Tutorial which i can't seem to solve (already searched extensively for answers) Viewing the index and example blog posts = no problem, however when i add the "

Re: problem with htmlhelper in cakephp blog tutorial

2007-06-07 Thread Chris Hartjes
> New here to CakePhp, really excited since this is exactly what i´m > looking for! (writing endless repititive/boring code became a big > demotivator for building websites) > > Installation went perfect, however now i'm coping with some problems > with the Cakephp Blog Tutorial

problem with htmlhelper in cakephp blog tutorial

2007-06-07 Thread Hans
New here to CakePhp, really excited since this is exactly what i´m looking for! (writing endless repititive/boring code became a big demotivator for building websites) Installation went perfect, however now i'm coping with some problems with the Cakephp Blog Tutorial which i can't see