Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3724386
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T06:37:21+00:00 2026-05-19T06:37:21+00:00

Brand-new CakePHP user; just got the install up and running a few hours ago

  • 0

Brand-new CakePHP user; just got the install up and running a few hours ago (or so I thought.) I’ve been running through the blog tutorial and everything was going swimmingly, until I hit the Adding Posts section. I thought maybe I had made a typo somewhere, so I copied and pasted the code directly out of the tutorial, and I’m still getting these errors when I try to go to localhost/cakeBlogTest/posts/add. Can anyone help me out? I installed the most recent stable version of CakePHP.

Warning (512): Method HtmlHelper::input does not exist [CORE/cake/libs/view/helper.php, line 143]

Warning (512): Method HtmlHelper::tagErrorMsg does not exist [CORE/cake/libs/view/helper.php, line 143]

Warning (512): Method HtmlHelper::textarea does not exist [CORE/cake/libs/view/helper.php, line 143]

Warning (512): Method HtmlHelper::submit does not exist [CORE/cake/libs/view/helper.php, line 143]

EDITED TO ADD:

I was able to use $html->link in another section of the tutorial, so it does seem to be finding the helpers file. I just looked at the helper file, and input, textarea, and submit do exist, but tagErrorMsg does not. Is it possible the tutorial is out-of-date and using bits that no longer exist in the current version of CakePHP? And if so, what do I use in place of tagErrorMsg?

MORE ADDITIONS:

Code copy/pasted directly from tutorial:

<h1>Add Post</h1>
<form method="post" action="<?php echo $html->url('/posts/add')?>">
    <p>
        Title:
        <?php echo $html->input('Post/title', array('size' => '40'))?>
        <?php echo $html->tagErrorMsg('Post/title', 'Title is required.') ?>
    </p>
    <p>
        Body:
        <?php echo $html->textarea('Post/body', array('rows'=>'10')) ?>
        <?php echo $html->tagErrorMsg('Post/body', 'Body is required.') ?>
    </p>
    <p>
        <?php echo $html->submit('Save') ?>
    </p>
</form>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T06:37:23+00:00Added an answer on May 19, 2026 at 6:37 am

    input, textarea, submit are not functions of HtmlHelper they belong to FormHelper

    In your views you should use $this->Form->input('test') instead of $this->Html->input('test')

    This tutorial belongs to cakephp v1.1 (obviously out-of-date)

    Learn cakePHP’s latest tutorial v1.3

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Brand new poster here on StackOverflow. I've been reading and learning here for some
I’ve got a brand new Django project. I’ve added one minimal view function to
I've got my brand new VS2008 and decided to convert my main solution from
I'm brand new to C, and I need to ask the user to type
I am brand new to joomla, and am trying to have a few sections,
I am a brand new Java developer (I have been working in asp.net) and
i'm very new to this cakephp & i got an assignment to fix an
Brand new to coding; been utilizing stackoverflow religiously for months; first time asking a
I created a test database for a CakePHP tutorial I'm working through, and just
I am brand new to game development and I thought it would be fun

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.