Mam problem z prawidłowym skonfugurowaniem Zend Studio. Chciałem nauczyć sie korzystać z Zend Framework, a jako edytora używac Zend Studio dla Eclipsa. Zainstalowałem dodałem nowy projek ZendFramework.
Puszczam uruchomienie i w oknie konsoli wyskakuje mi błąd:
Compile Error: /srv/www/htdocs/myweb/iam/html/index.php line 10 - require_once(): Failed opening required 'Zend/Controller/Front.php' (include_path='.:../library:./application/default/models/:.:/usr/share/php5:/usr/share/php5/PEAR')
błąd dotyczy lini:
require_once 'Zend/Controller/Front.php';
Ale jak wejde w include path dla mojego projektu to mam ścieżkę podaną:
/home/username/Zend/ZendStudioForEclipse-6.0.1/plugins/org.zend.php.framework.resource_6.0.1.v20080601/resources/ZendFramework_1.5/
i kieruje ona do faktycznych plików.
Poniżej podam kod pliku index.php
<?php /** * My new Zend Framework project * * @author * @version */ set_include_path('.' . PATH_SEPARATOR . '../library' . PATH_SEPARATOR . './application/default/models/' . PATH_SEPARATOR . get_include_path()); require_once 'Zend/Controller/Front.php'; require_once 'Zend/Layout.php'; // Setup controller $controller = Zend_Controller_Front::getInstance(); $controller->setControllerDirectory('../application/default/controllers'); $controller->throwExceptions(false); // should be turned on in development time // bootstrap layouts 'layoutPath' => '../application/default/layouts', 'layout' => 'main' )); // run! $controller->dispatch(); ?>
Prosze o pomoc jak rozwiązać ten problem