Qui sotto c'è la porzione di codice della IndexController.php:
Codice PHP:
class IndexController extends Zend_Controller_Action
{
public function init() {
/* Initialize action controller here */
}
public function indexAction() {
$auth = new AuthController();
$this->view->auth = $auth->indexAction();
$books = new Application_Model_DbTable_Books();
$this->view->books = $books->fetchAll();
$dataNascita = new Application_Model_DbTable_DataNascita();
$this->view->dataNascita = $dataNascita->fetchAll();
}
...
Praticamente quando mi collego al sito mi da questo errore:
Fatal error: Class 'AuthController' not found in C:\Xampp_7\xampp\htdocs\Zend_Progetti\Zend_Libri_A utentica\application\controllers\IndexController.p hp on line 16
Anche se ho messo la classe AuthController(); con tutte le sue funzioni, e quando utilizzo l'intellisense di eclipse lo fa vedere nella lista.