Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Zend Framework problemy przy testach/konfiguracji apache
hhg
post
Post #1





Grupa: Zarejestrowani
Postów: 316
Pomógł: 0
Dołączył: 5.07.2006

Ostrzeżenie: (0%)
-----


korzystam z Webserv (webserv.pl) na Windows XP i uruchamiam apache na porcie 8080 bo 80 jest zajety przez IIS

uczę się korzystać z Zend Framework z tego:
http://blog.heavymind.net/zend-framework-tutorial/

a stanąłem przy tym:
http://blog.heavymind.net/zend-framework-tutorial/#300

Samo uruchomienie pliku index.php zwraca mi inny błąd niz ten w krusie wiec podjerzewam ze mam cos zle z apache (z tresci komunikatu) bo wg kursu powinienem dostać:

Kod
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception'
      with message 'Invalid controller specified (index)' in…


a dostaje


Kod
Fatal error: Uncaught exception 'Zend_View_Exception' with message 'script 'index/index.phtml' not found in path (.\application\views\scripts\)' in D:\WebServ\httpd\zf-tutorial\library\Zend\View\Abstract.php:856 Stack trace: #0 D:\WebServ\httpd\zf-tutorial\library\Zend\View\Abstract.php(764): Zend_View_Abstract->_script('index/index.pht...') #1 D:\WebServ\httpd\zf-tutorial\library\Zend\Controller\Action\Helper\ViewRenderer.php(742): Zend_View_Abstract->render('index/index.pht...') #2 D:\WebServ\httpd\zf-tutorial\library\Zend\Controller\Action\Helper\ViewRenderer.php(763): Zend_Controller_Action_Helper_ViewRenderer->renderScript('index/index.pht...', NULL) #3 D:\WebServ\httpd\zf-tutorial\library\Zend\Controller\Action\Helper\ViewRenderer.php(810): Zend_Controller_Action_Helper_ViewRenderer->render() #4 D:\WebServ\httpd\zf-tutorial\library\Zend\Controller\Action\HelperBroker.php(160): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #5 D:\WebServ\httpd\zf-tutorial\library\Zend\Controller\Action.php(504): Zend_Cont in D:\WebServ\httpd\zf-tutorial\library\Zend\View\Abstract.php on line 856


sturkture katalogów mam OK, a to jest mój plik httpd.conf:
http://www.isengard.metal.pl/httpd.conf

nie mam pojęcia co mam źle
w razie potrzeby mogę wrzucic tez gdzies strutkure katalogów
z gory dzieki za pomoc
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 25.08.2025 - 02:39