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 694425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:51:19+00:00 2026-05-14T02:51:19+00:00

I’m following CodeIgniter’s tutorial Create a blog in 20 minutes and I am having

  • 0

I’m following CodeIgniter’s tutorial “Create a blog in 20 minutes” and I am having trouble getting the helper, anchor and Scaffolding functions to work.

I can’t seem to create links on my HTML page using the helper and anchor functions.

I put

$this->load->helper('url');
$this->load->helper('form');

in the constructor under
parent::Controller();

and

<p><?php echo anchor('blog/comments','Comments'); ?></p>

within the foreach loop as specified in the tutorial. But Im not getting the links to appear.

When I viewed the source as instructed in the video, this line was missing (but it was in in the video):

<form method= "post" action = "http://www.example.com/CodeIgniter/index.php/blog/comment_insert">

Secondly, I keep getting a 404 Page Not Found error whenever I try to access CodeIgniter’s Scaffolding page in my browser, like so:

localhost/codeignitor/index.php/blog/scaffolding/mysecretword

I can access

localhost/codeignitor/index.php/blog

just fine. I followed CodeIgnitor’s instructions in their “Create a blog in 20 minutes” by storing my database settings in the database.php file; and automatically connecting to the database by inserting “database” in the core array of the autoload.php; and I’ve added both

parent::Controller(); and $this->load->scaffolding('myTableName') to blog’s constructor. It still gives me this 404.

Any assistance will be appreciated. Thanks in advance?

  • 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-14T02:51:19+00:00Added an answer on May 14, 2026 at 2:51 am

    Scaffolding is deprecated, but it hasn’t been removed until 2.0, and still works in 1.7.2.

    You have /scaffolding/ in the URL which isn’t necessary, you just use your scaffolding trigger.

    I’m not sure why your helpers aren’t working, your syntax looks good, unless you don’t have any data in your foreach loop. the <form...> line comes from calling <?php echo form_open('form_controller_or_whatever'); ?>

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

Sidebar

Related Questions

I have a bunch of posts stored in text files formatted in yaml/textile (from
I am trying to loop through a bunch of documents I have to put
I'm making a simple page using Google Maps API 3. My first. One marker
I have some data like this: 1 2 3 4 5 9 2 6

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.