Mam problem, otóż nie umiem zrobić tak aby działało ...
Do rzeczy.
Dłubie sobie lokalnie na apachu w zendzie i chciałbym to wrzucić na jakiś darmowy hosting, do celów poszerzania wiedzy.
W czeluściach googla znalazłem ten hosting 000webhost, podobno działa na nim zend.
Pobrałem ze strony zenda czyściutki nieskalany moimi kodami ZendFrameworkQuickstart
wysłałem na serwer do katalogu public_html
w panelu admina zrobiłem przekierowanie do folderu public
i gdy myślałem ze to koniec przygotowywań i że obejrzę stronę startową
http://natest1.webuda.com/
otrzymałem to
PHP Error Message Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in /home/a4491339/public_html/public/index.php on line 14 Free Web Hosting PHP Error Message Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader.php' (include_path='/home/a4491339/public_html/application/../library:.:/usr/lib/php:/usr/local/lib/php') in /home/a4491339/public_html/public/index.php on line 14 Free Web Hosting
index.php
<?php // APPLICATION_PATH is a constant pointing to our application/ subdirectory. // We use this to add our "library" directory to the include_path, so that // PHP can find our Zend Framework classes. APPLICATION_PATH . '/../library' // AUTOLOADER - Set up autoloading. // This is a nifty trick that allows ZF to load classes automatically so // that you don't have to litter your code with 'include' or 'require' // statements. require_once "Zend/Loader.php"; Zend_Loader::registerAutoload(); // REQUIRE APPLICATION BOOTSTRAP: Perform application-specific setup // This allows you to setup the MVC environment to utilize. Later you // can re-use this file for testing your applications. // The try-catch block below demonstrates how to handle bootstrap // exceptions. In this application, if defined a different // APPLICATION_ENVIRONMENT other than 'production', we will output the // exception and stack trace to the screen to aid in fixing the issue try { require APPLICATION_PATH . '/bootstrap.php'; } catch (Exception $exception) { echo '<html><body><center>' . 'An exception occured while bootstrapping the application.'; . '<div align="left">Stack Trace:' . '<pre>' . $exception->getTraceAsString() . '</pre></div>'; } } // DISPATCH: Dispatch the request using the front controller. // The front controller is a singleton, and should be setup by now. We // will grab an instance and dispatch it, which dispatches your // application. Zend_Controller_Front::getInstance()->dispatch();
z resztą pod linkiem widać
Czuje się zielony w tym temacie i nie wiem jak to dalej ruszyć by w końcu ruszyć.
Byłbym wdzięczny za bardzo łopatologiczną poradę, bo w googlach nie znajduje odpowiedzi
