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. -- Brenton Alker PHP Developer - Brisbane, Australia http://blog.tekerson.com/
signature.asc
Description: OpenPGP digital signature
