Ciao Raga...un problema con Zend.
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
quando la vado a richiamarecodice: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'); } }
ricevo l'errore
"Fatal error: Class 'Zend_Log' not found in................................"
ma in locale funzionaPerchè???
il file index.php (temporaneo per il test è)
codice:<?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'); ?>

Ciao Raga...un problema con Zend.
Rispondi quotando