Zadejte hledaný výraz...

Zend Framework na webhostingu

Martin Bárta
verified
rating uzivatele
(28 hodnocení)
10. 4. 2012 11:11:27
Zdravím,
rád bych rozběhl Zend Framework na webhostingu, změnil jsem si tedy strukturu adresářů ale stále narážím na tuto chybovou hlášku:
Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'parse_ini_file(/home/users/bartama/martinbarta1.jecool.net/web/private/application/configs/application.ini): failed to open stream: No such file or directory' in /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Config/Ini.php:182 Stack trace: #0 /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Config/Ini.php(202): Zend_Config_Ini->_parseIniFile('/home/users/bar...') #1 /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Config/Ini.php(126): Zend_Config_Ini->_loadIniFile('/home/users/bar...') #2 /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Application.php(386): Zend_Config_Ini->__construct('/home/users/bar...', 'development') #3 /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Application.php(85): Zend_Application->_loadConfig('/home/users/bar...') #4 /home/users/bartama/martinbarta1.jecool.net/web/index.php(21): Zend_Application->__construct('development in /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Config/Ini.php on line 182
Struktura je:
private
-> application
-> configs
-> data
-> library
public
-> css
-> files
-> images
index.php
Nevíte v čem by mohl být problém? Díky
10. 4. 2012 11:11:27
https://webtrh.cz/diskuse/zend-framework-na-webhostingu#reply752858
Lokiji
verified
rating uzivatele
10. 4. 2012 11:23:11
'parse_ini_file(/home/users/bartama/martinbarta1.jecool.net/web/private/application/configs/application.ini): failed to open stream: No such file or directory'
on to hleda v /application/configs/application.ini a ty to mas asi v private/configs a ne v private/application/configs bych si ja tipnul:)
10. 4. 2012 11:23:11
https://webtrh.cz/diskuse/zend-framework-na-webhostingu#reply752857
Martin Bárta
verified
rating uzivatele
(28 hodnocení)
10. 4. 2012 11:28:32
Na tom něco bylo, přesunul jsem configs do application a pár hlášek zmizelo..., mám tu ale pořád tyhle:
Fatal error: Uncaught exception 'Zend_Application_Exception' with message 'Bootstrap class not found' in /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Application.php:322 Stack trace: #0 /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Application.php(184): Zend_Application->setBootstrap('/home/users/bar...', 'Bootstrap') #1 /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Application.php(92): Zend_Application->setOptions(Array) #2 /home/users/bartama/martinbarta1.jecool.net/web/index.php(21): Zend_Application->__construct('development', '/home/users/bar...') #3 {main} thrown in /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Application.php on line 322
10. 4. 2012 11:28:32
https://webtrh.cz/diskuse/zend-framework-na-webhostingu#reply752856
Lokiji
verified
rating uzivatele
10. 4. 2012 11:34:53
nemuze ti to najit Bootstrap tridu, musis nastavit v application.ini cestu k ni http://framework.zend.com/manual/en/zend.application.examples.html
10. 4. 2012 11:34:53
https://webtrh.cz/diskuse/zend-framework-na-webhostingu#reply752855
Martin Bárta
verified
rating uzivatele
(28 hodnocení)
10. 4. 2012 11:52:35
To jsem opravil a dostal jsem další várku chyb:
Fatal error: Uncaught exception 'Zend_View_Exception' with message 'script 'error/error.phtml' not found in path (/home/users/bartama/martinbarta1.jecool.net/web/private/application/views/scripts/)' in /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/View/Abstract.php:988 Stack trace: #0 /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/View/Abstract.php(884): Zend_View_Abstract->_script('error/error.pht...') #1 /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('error/error.pht...') #2 /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('error/error.pht...', NULL) #3 /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render() #4 /home/users/bartama/martinbarta1.je in /home/users/bartama/martinbarta1.jecool.net/web/private/library/Zend/Controller/Plugin/Broker.php on line 336
---------- Příspěvek doplněn 10.04.2012 v 12:01 ----------
Vyřešeno, pod scripts nebyly složky error a index. Díky.
10. 4. 2012 11:52:35
https://webtrh.cz/diskuse/zend-framework-na-webhostingu#reply752854
Pro odpověď se přihlašte.
Přihlásit