Hi,

just updated from BETA1 to BETA2 and can't get MongoDB working.
Used latest

Following Error will show up, if I want show up the starting Page:

ErrorException: Warning: is_file(): open_basedir restriction in
effect. File(/sbin/java) is not within the allowed path(s): (/srv/
http/:/home/:/tmp/:/usr/share/pear/) in [...]/vendor/symfony/src/
Symfony/Component/Process/ExecutableFinder.php line 48

Looks like this is related to assetic, but I got it disabled in
config.yml and config_dev.yml.

dlsniper commit (https://github.com/dlsniper/symfony/commit/
06f74f8a390cbbfbed7c162f56e52001a1071943) fixed this issue.
But now, another mistake will showup:

Fatal error: Cannot use object of type Symfony\Component
\DependencyInjection\Reference as array in [...]/vendor/bundles/
Symfony/Bundle/DoctrineMongoDBBundle/DependencyInjection/Compiler/
AddValidatorNamespaceAliasPass.php on line 19

I found the commit by excelwebzone (https://github.com/excelwebzone/
DoctrineMongoDBBundle/commit/
2d6442ff93b5b594d89374aa98e7475651163863), where he updated the
annotations.
Normal Pageparts, without using a mongodb, do work, but if I wanted to
view a site with use of mongo the following error will show up:

Catchable Fatal Error: Argument 1 passed to Doctrine\ODM\MongoDB
\Mapping\Driver\AnnotationDriver::__construct() must be an instance of
Doctrine\Common\Annotations\AnnotationReader, instance of Symfony
\Bundle\DoctrineMongoDBBundle\Annotations\IndexedReader given, called
in [...]/app/cache/dev/appDevDebugProjectContainer.php on line 139 and
defined in [...]/vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/
Mapping/Driver/AnnotationDriver.php line 73

Hope someone could help :(.

Thanks in advance!

- Mathias

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to