Bonjour,
Je suis débutant en zend 2 , j'avais suivi ce tutoriel pour créer mon aplication :
http://zend-framework.developpez.com...d-framework-2/
malheursement j'ais l'erreur suivante :
Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\InvalidArgumentException' with message 'Provided abstract factory must be the class name of an abstract factory or an instance of an AbstractFactoryInterface.' in C:\wamp\www\zf2-tutorial\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php on line 302
j'ais bien décomenté la ligne :
Include conf/extra/httpd-vhosts.conf
et rajouté dans mon vhots.conf cela :
<VirtualHost *:80>
ServerName zend2.localhost
DocumentRoot c:/wamp/www/zf2-tutorial/public
ServerAlias www.zend2.localhost
ErrorLog "logs/zf2-tutorial.localhost-error.log"
CustomLog "logs/zf2-tutorial.localhost-access.log" combined
<Directory c:/wamp/www/zf2-tutorial/public>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Si quelqu'un pourra m'aider ..merci!!
Partager