ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

News Application - Complete download wanted - missing method

February 01, 2013 6:19pm

Subscribe [1]
  • #1 / Feb 01, 2013 6:19pm

    sh

    1 posts

    Is there a zip file of the sample news application? I believe there are steps missing from the instruction, particularly with the error I am seeing in my application:

    Fatal error: Call to undefined method News_model::get_news() in C:\codeIgniter\CodeIgniter_2.1.3\application\controllers\news.php on line 12

    Thanks.

     

  • #2 / Feb 02, 2013 3:41am

    Aken

    2430 posts

    The PHP error is pretty self explanatory. If you’re confused by it, maybe brush up on some basic straight PHP before playing with CI too much.

  • #3 / Feb 03, 2013 7:48pm

    sh

    1 posts

    Thanks for your help. I assumed there was something missing from the sketchy tutorial skeleton.

    Reviewing the copy,cuts and paste in the tutorial found a mispasted snipped of code.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases