Zend Framework 1.8 tutorial 3 zend_application part 1
Top Comments
All Comments (16)
-
great job :)
-
@SAWJANSEE in your application.ini, add semicolens (;) to the first lines like this: ;phpSettings.display_startup_e
rrors = 0 ;phpSettings.display_errors = 0
-
solved .... wrote param instead of params
-
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
-
i have a problem after adding the database adapter
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
-
simples
-
LOL, had the same error:
Fatal error: Class 'Model_Books' not found in C:\xampp\htdocs\zfTutorial\app
lication\controllers\BooksCont roller.php on line 38 finally found the problem: APPLICATION_PATH is a constant, not a string. I was putting it in quotes ('basePath' => "APPLICATION_PATH" ). It is supposed to be without quotes: 'basePath' => APPLICATION_PATH
-
tho i still the the same error msg.
Fatal error: Class 'Model_Books' not found in C:\xampp\htdocs\zfTutorial\app
lication\controllers\BooksCont roller.php on line 38 does any one notices any error? ive done the tutorial 3 times and this always happens.
keep on the good work
-
this is the content of my models/Books.php.
<?php
class Model_Books extends Zend_Db_Table_Abstract{ protected $_name = 'books';
}
and this is my listAction on Books controller. public function listAction() { $booksTBl = new Model_Books(); }
Great tutorial!
fitmotu 2 years ago 5
I like your accent. :D
IvanMarinIvkovich 3 weeks ago 3