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*,
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:
> (..)
>>
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
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
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
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
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
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
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
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
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
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
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'));
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
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
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
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
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
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 "
> 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
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
21 matches
Mail list logo