![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 251 Pomógł: 13 Dołączył: 15.09.2005 Ostrzeżenie: (0%) ![]() ![]() |
wietam
jako ze juz teoretycznie mamy wersje 1.0 choć co prawda jeszcze nie stabilna ale już coś więc pisze bo natrafiłem na jak dla mnie dziwny problem i nie mogę sobie z nim poradzić a mianowicie mam plik bootstrap taki
taki sam pliki pod ZF 0.93B ładnie działa i nic nie wyrzuca indexcontroller
no i teraz nie wiem czemu pod pokazaną stroną mam wyrzucony wyjątek ( $controller -> throwExceptions(true); ) o takiej treści Kod Fatal error: Uncaught exception 'Zend_View_Exception' with message 'script 'index/index.phtml' not found in path' in D:\serwer\www\lib\Zend\View\Abstract.php:853 Stack trace: #0 D:\serwer\www\lib\Zend\View\Abstract.php(764): Zend_View_Abstract->_script('index/index.pht...') #1 D:\serwer\www\lib\Zend\Controller\Action\Helper\ViewRenderer.php(702): Zend_View_Abstract->render('index/index.pht...') #2 D:\serwer\www\lib\Zend\Controller\Action\Helper\ViewRenderer.php(723): Zend_Controller_Action_Helper_ViewRenderer->renderScript('index/index.pht...', NULL) #3 D:\serwer\www\lib\Zend\Controller\Action\Helper\ViewRenderer.php(770): Zend_Controller_Action_Helper_ViewRenderer->render() #4 D:\serwer\www\lib\Zend\Controller\Action\HelperBroker.php(160): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #5 D:\serwer\www\lib\Zend\Controller\Action.php(504): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #6 D:\serwer\www\lib\Zend\Controller\Dispatcher\Standard.php(230): Zend_Con in D:\serwer\www\lib\Zend\View\Abstract.php on line 853 wiem wyjątki sobie wyrzucam ale on o tak się nie powinien pojawić Zend_View nie używam nie podoba mi się wole OPT tak samo z helperami nie ładuje nie używam zadnego bo to jest postawione specjalnie do testów jeśli będzie throwExceptions(false) to dostaje taki błąd Kod Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in D:\serwer\www\lib\Zend\Controller\Dispatcher\Standard.php:189 Stack trace: #0 D:\serwer\www\lib\Zend\Controller\Front.php(889): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 D:\serwer\www\lib\Zend\Controller\Front.php(229): Zend_Controller_Front->dispatch() #2 D:\serwer\www\index.php(27): Zend_Controller_Front::run(Array) #3 {main} thrown in D:\serwer\www\lib\Zend\Controller\Dispatcher\Standard.php on line 189 choć strona się wygeneruje to ja i tak pod spodem dostaje jak nie jested to drugi komunikat i juz nie wiem poprostu zgłupiałem szukałem dziś cały dzień co jest ale się nie doszukałem (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) może ktoś już doszedł co jest nie tak tutaj (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) jesli tak to bedzie wdzięczny za podzielenie sie rozwiązaniem sugestią co robie źle |
|
|
![]() ![]() |
![]() |
Aktualny czas: 24.08.2025 - 14:40 |