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

  • Home
  • SEARCH
  • 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 7617357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:07:48+00:00 2026-05-31T03:07:48+00:00

I am trying to set up a cakePHP blog. Following the steps at: http://www.marcofolio.net/webdesign/building_a_blog_with_cakephp_part_1_getting_started.html

  • 0

I am trying to set up a cakePHP blog. Following the steps at:

http://www.marcofolio.net/webdesign/building_a_blog_with_cakephp_part_1_getting_started.html

but when I get to the stage of creating ‘article.ctp’ in order to view the ‘Read More’ part of the blog. I get the following error messages:

Notice (8): Undefined index: id = 1 [CORE/Cake/Model/Model.php, line 2519]

Notice (8): Undefined index: id = 1 [CORE/Cake/Model/Model.php, line 2495]

Notice (8): Undefined variable: articles [APP/View/Blog/article.ctp, line 1]

Sadly this is hosted on my test server locally in MAMP so I can’t show you the live error I am getting. But just thought id check and see if anyone has had similar issues with this (I believe its a common beginner tutorial for learning to use cakePHP)

  • 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-31T03:07:49+00:00Added an answer on May 31, 2026 at 3:07 am

    That’s an ancient tutorial, try out the cakephp 2.x blog tutorial from the official site:

    http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html

    And your error is quite simple, the variable $articles does not exist in your view, so you haven’t set the variable in your controller with $this->set('articles', 'value');

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

Sidebar

Related Questions

I'm trying to get a CakePHP application to work. For this, I've set up
When trying to set DoMatchParen I get the following error: E492: Not an editor
I am trying to implement Lucene with cakephp and following this guide http://jamienay.com/2010/01/zend_search_lucene-datasource-for-cakephp/ Am
I am trying to get this cakephp project running on my localhost, but always
Hi I'm trying to use the CakePHP comments plugin found here http://cakedc.com/downloads/view/cakephp_comments_plugin but the
I have been using CakePHP at work and now I am trying to set
Trying to get CakePHP work with subfolders for Controllers, Views, or Models is not
I'm trying to load , edit and save a record with CakePHP 2.0 but
I'm using Set class of Cakephp to format the find returned array but cannot
I'm trying to use CKEditor with Cakephp. All works fine but I'm having problems

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.