Hi,

I made some progress. Now I can run the skeleton app and the modules that I
developed by moving the content of public folder to the root of the folder I
am testing with which is in the www folder of my host.

Now I am trying to move the other folders outside of the www folder. After
setting the ZF2_PATH in the .htaccess now I am getting this error:

PHP Fatal error:  Uncaught exception
'Zend\\ModuleManager\\Exception\\RuntimeException' with message 'Module
(Application) could not be initialized.' in
/home/myusername/includes/zendapp/vendor/zendframework/zendframework/library/Zend/ModuleManager/ModuleManager.php:175\nStack
trace:\n#0
/home/myusername/includes/zendapp/vendor/zendframework/zendframework/library/Zend/ModuleManager/ModuleManager.php(149):
Zend\\ModuleManager\\ModuleManager->loadModuleByName(Object(Zend\\ModuleManager\\ModuleEvent))\n#1
/home/myusername/includes/zendapp/vendor/zendframework/zendframework/library/Zend/ModuleManager/ModuleManager.php(90):
Zend\\ModuleManager\\ModuleManager->loadModule('Application')\n#2 [internal
function]:
Zend\\ModuleManager\\ModuleManager->onLoadModules(Object(Zend\\ModuleManager\\ModuleEvent))\n#3
/home/myusername/includes/zendapp/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468):
call_user_func(Array, Object(Zend\\ModuleManager\\ModuleEvent))\n#4
/home/myusername/includes/zendapp/vendor/zendframework/zendframework/library/
in
/home/myusername/includes/zendapp/vendor/zendframework/zendframework/library/Zend/ModuleManager/ModuleManager.php

The folder /home/myusername/includes/zendapp/ contains the following:
config  
data  
init_autoloader.php  
module  
vendor

the index.php and .htaccess are of course in the folder I am testing with in
the www folder

Thank you



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Instructions-to-install-ZF2-on-a-folder-in-shared-host-tp4661445p4661446.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to