ZF2 skeleton application is throwing 500 error

两盒软妹~` 提交于 2019-12-01 09:07:35

This worked just fine. The problem is that there are two files missing from the ZF2.5 Framework.

  'Zend\Cache\Service\StorageCacheAbstractServiceFactory',
  'Zend\Log\LoggerAbstractServiceFactory',

Thanks, Gary

Please comment the following lines found in module/Application/config/module.config.php

      'Zend\Cache\Service\StorageCacheAbstractServiceFactory',
      'Zend\Log\LoggerAbstractServiceFactory',

The skeleton app will work.

Thanks

Thanks alot everybody! Looks like the solution for now is to clone the 2.1 tag, as @weierophinney mentioned here: https://github.com/zendframework/ZendSkeletonApplication/commit/80884b7da866f5136654c83604c1270a3228b7b9

git clone -b "zf/release-2.1.0" https://github.com/zendframework/ZendSkeletonApplication.git ./
php composer.phar self-update
php composer.phar install
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!