On Fri, May 15, 2009 at 12:59 AM, till <[email protected]> wrote:
> On Fri, May 15, 2009 at 12:50 AM, Brenton Alker <[email protected]> wrote:
>> Breen Liblong wrote:
>>> Now I get as far as the bottom of the page Create a Model and Database 
>>> Table,
>>> and when I browse to http://localhost/guestbook, I get the following error:
>>>
>>> // application/models/Guestbook.php class Default_Model_Guestbook {
>>> protected $_comment; protected $_created; protected $_email; protected $_id;
>>> protected $_mapper; public function __construct(array $options = null) { if
>> [snip]
>>> } }
>>> Fatal error: Class 'Default_Model_Guestbook' not found in
>>> /home/breen/tmp/zfproject/quickstart/application/controllers/GuestbookController.php
>>> on line 15
>>>
>>
>> Looks like you're missing an opening <?php tag at the start of
>> application/models/Guestbook.php.
>>
>
> I bet his model is really called Model_Guestbook and not
> Default_Model_Guestbook.
>

Or the autoloader is broken? ;-)

Reply via email to