![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 40 Pomógł: 0 Dołączył: 12.03.2009 Skąd: Poznań Ostrzeżenie: (10%) ![]() ![]() |
Hej. Chciałbym uruchomić sobie projekt na ZendFramework, Troche poduczyć się w tej kwestii.
uruchamiam stronkę wraz z tutorialem znajdującym się pod adresem : http://framework.zend.com/docs/quickstart/create-a-layout wszystko ustawiłem sobie wraz z tutorialem. niestety coś jednak nie działa ![]() uruchamiając Bootstrap.php otrzymuję Fatal error: Class 'Zend_Application_Bootstrap_Bootstrap' not found in /var/www/zend/quickstart/application/Bootstrap.php on line 3 Gdzie znajdują sie pliki z tą klasą? Libki mam wgrane do katalogu:(podlinkowane) /var/www/zend/quickstart/library/Zend Gdzie leży mój błąd? Ten post edytował gummmibear 11.08.2009, 22:07:51 |
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 313 Pomógł: 24 Dołączył: 9.08.2008 Skąd: Kielce Ostrzeżenie: (0%) ![]() ![]() |
set_include_path mogłeś źle ustawić w index.php
daj kod index.php i strukturę katalogów -------------------- |
|
|
![]()
Post
#3
|
|
![]() Grupa: Zarejestrowani Postów: 29 Pomógł: 1 Dołączył: 12.01.2009 Skąd: Warszawa Ostrzeżenie: (0%) ![]() ![]() |
prawdopodobnie zbyt gleboko wszedles (do katalogu Zend) jak ustawiales include path, cos mi intuicja mowi ze powineines miec: '/var/www/zend/quickstart/library'
![]() -------------------- Kodzimy!!!
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 40 Pomógł: 0 Dołączył: 12.03.2009 Skąd: Poznań Ostrzeżenie: (10%) ![]() ![]() |
[production]
phpSettings.display_startup_errors = 0 phpSettings.display_errors = 0 includePaths.library = APPLICATION_PATH "/var/www/zend/quickstart/library" bootstrap.path = APPLICATION_PATH "/Bootstrap.php" bootstrap.class = "Bootstrap" resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts" [staging : production] resources.view[] = [testing : production] phpSettings.display_startup_errors = 1 phpSettings.display_errors = 1 [development : production] phpSettings.display_startup_errors = 1 phpSettings.display_errors = 1 hmm. dałem całkowitą ścieżkę do pliku, tez ten zam błąd wtf? |
|
|
![]()
Post
#5
|
|
![]() Grupa: Moderatorzy Postów: 2 921 Pomógł: 269 Dołączył: 11.08.2005 Skąd: 127.0.0.1 ![]() |
1. includePaths.library = APPLICATION_PATH "/../library"
2. Pokaż index.php 3. Pokaż boostrap.php -------------------- I would love to change the world, but they won't give me the source code.
My software never has bugs. It just develops random features. |
|
|
![]()
Post
#6
|
|
Grupa: Zarejestrowani Postów: 40 Pomógł: 0 Dołączył: 12.03.2009 Skąd: Poznań Ostrzeżenie: (10%) ![]() ![]() |
Bootstrap.php
Mały zonk. Gdzie znajduje sie index.php? w katalogu quickstart go niema. |
|
|
![]()
Post
#7
|
|
![]() Grupa: Moderatorzy Postów: 2 921 Pomógł: 269 Dołączył: 11.08.2005 Skąd: 127.0.0.1 ![]() |
index.php jest punktem wejścia do aplikacji i znajduje się w katalogu public.
-------------------- I would love to change the world, but they won't give me the source code.
My software never has bugs. It just develops random features. |
|
|
![]()
Post
#8
|
|
Grupa: Zarejestrowani Postów: 40 Pomógł: 0 Dołączył: 12.03.2009 Skąd: Poznań Ostrzeżenie: (10%) ![]() ![]() |
Znalazłem
![]()
Drzewko projektu
Ten post edytował gummmibear 13.08.2009, 11:56:40 |
|
|
![]()
Post
#9
|
|
![]() Grupa: Moderatorzy Postów: 2 921 Pomógł: 269 Dołączył: 11.08.2005 Skąd: 127.0.0.1 ![]() |
Domyślam się, że brak ->run(); w index.php jest literówką, która zdarzyła się podczas kopiowania kodu.
Ostatnia rzecz jaka została do sprawdzenia, to czy w library masz plik Zend/Application/Bootstrap/Boostrap.php. Jak okaże się, że plik jest, to nie wiem dlaczego Ci nie chce działać. Wszystko wydaje się być na swoim miejscu. -------------------- I would love to change the world, but they won't give me the source code.
My software never has bugs. It just develops random features. |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.06.2025 - 10:52 |