Ciao Raga...scusatemi se apro un nuovo Topic ma forse ho capito che è un problema di HTACCESS con Zend e Hosting Ar*b*.
Praticamente ho creato un nuovo portale che in locale funziona perfettamente.
Nel momento in cui lo pubblico on-line vedo correttamente solo la pagina Index....
in tutte le altre pagine ricevo l'errore "Page not found".......
---------------------------------------------------------------------------------------
Per fare un test ho creato una normalissima pagina Controller es. userController
require_once 'Zend/Controller/Action.php';
class UserController extends Zend_Controller_Action {
public function indexAction() {
$this->view->assign('name', 'Manager');
$this->view->assign('title', 'Ciao');
}
}
quando la vado a richiamare
ricevo l'errore
"Fatal error: Class 'Zend_Log' not found in................................"
ma in locale funziona Perchè???
il file index.php (temporaneo per il test è)
<?php
error_reporting(E_ALL|E_STRICT);
ini_set('display_errors', true);
date_default_timezone_set('Europe/Berlin');
$rootDir = dirname(dirname(__FILE__));
set_include_path($rootDir . '/library' . PATH_SEPARATOR . get_include_path());
require_once 'Zend/Controller/Front.php';
Zend_Controller_Front::run('../application/controllers');
?>
Qualcuno ha già pubblicato progetti con Zend Framework su Ar*b*?
Che file htaccess ha utilizzato?