View Single Post
  #1 (permalink)  
Old 05-14-2009, 12:06 AM
cardcc cardcc is offline
Junior Member
 
Join Date: May 2009
Posts: 2
Default Canīt load models

Hi there,

I'm trying to follow the tutorial in Akra’s DevNotes Tutorial: Getting Started with Zend Framework 1.8 but with little sucess!

When I get to part that I need to add the code:

public function indexAction()
{
$this->view->title = "My Albums";
$this->view->headTitle($this->view->title, 'PREPEND');
$albums = new Model_DbTable_Albums();
$this->view->albums = $albums->fetchAll();
}

In the IndexController I always get this error:



I think the warnings are related to the //in the path
/home/cardcc/public_html/zendframework/zend3/application/models/DbTable//Albums.php

after the warnings obviously comes the Fatal error due to the fact that i couldn't load the model.

So how do i solve this? Please help this newbie!
Reply With Quote