Giter Club home page Giter Club logo

confoo-demo's People

Contributors

lphuberdeau avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

designieure

confoo-demo's Issues

ConFoo demo does not work with current versions of dependacies

Hi,

I wanted to start with neo4j in php and the PGM solution looks really nice. However i don't want to put my database configuration in the controller. Which would happen when just using the code "Initialize the EntityManager" at https://github.com/lphuberdeau/Neo4j-PHP-OGM

In search for a better solution i found this sample project. Which seems to use a DI-extension to solve the the problem of how to make the EM available in a graceful way.

However, after downloading and doing a composer install, it doesn't work out-of-the-box (i expected it would). See the error trace at the bottom of this message.

Thanks so much for this great bundle, i hope to work with it soon. Also i noticed it was used for ConFoo 2013. I would like to see this presentation too.

Whoops, looks like something went wrong.

1/1ReflectionException: Class does not exist
in C:\xampp\htdocs\Confoo\vendor\hirevoice\neo4jphp-ogm\lib\HireVoice\Neo4j\Meta\Entity.php line 40
at ReflectionClass->__construct('') in C:\xampp\htdocs\Confoo\vendor\hirevoice\neo4jphp-ogm\lib\HireVoice\Neo4j\Meta\Entity.php line 40
at Entity::fromClass(object(FileCacheReader), null, object(Repository)) in C:\xampp\htdocs\Confoo\vendor\hirevoice\neo4jphp-ogm\lib\HireVoice\Neo4j\Meta\Repository.php line 45
at Repository->fromClass(null) in C:\xampp\htdocs\Confoo\vendor\hirevoice\neo4jphp-ogm\lib\HireVoice\Neo4j\Proxy\Factory.php line 45
at Factory->fromNode(object(Node), object(Repository), object(Closure)) in C:\xampp\htdocs\Confoo\vendor\hirevoice\neo4jphp-ogm\lib\HireVoice\Neo4j\EntityManager.php line 197
at EntityManager->load(object(Node)) in C:\xampp\htdocs\Confoo\vendor\hirevoice\neo4jphp-ogm\lib\HireVoice\Neo4j\EntityManager.php line 181
at EntityManager->findAny('0') in C:\xampp\htdocs\Confoo\src\Acme\DemoBundle\Twig\Extension\DemoExtension.php line 92
at DemoExtension->getGlobals() in C:\xampp\htdocs\Confoo\vendor\twig\twig\lib\Twig\Environment.php line 1103
at Twig_Environment->initGlobals() in C:\xampp\htdocs\Confoo\vendor\twig\twig\lib\Twig\Environment.php line 1031
at Twig_Environment->getGlobals() in C:\xampp\htdocs\Confoo\vendor\twig\twig\lib\Twig\Environment.php line 1048
at Twig_Environment->mergeGlobals(array()) in C:\xampp\htdocs\Confoo\vendor\twig\twig\lib\Twig\Template.php line 239
at Twig_Template->display(array()) in C:\xampp\htdocs\Confoo\vendor\twig\twig\lib\Twig\Template.php line 250
at Twig_Template->render(array()) in C:\xampp\htdocs\Confoo\vendor\symfony\symfony\src\Symfony\Bridge\Twig\TwigEngine.php line 53
at TwigEngine->render(object(TemplateReference), array()) in C:\xampp\htdocs\Confoo\vendor\symfony\symfony\src\Symfony\Bundle\TwigBundle\TwigEngine.php line 78
at TwigEngine->render(object(TemplateReference), array()) in C:\xampp\htdocs\Confoo\vendor\symfony\symfony\src\Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine.php line 52
at TimedTwigEngine->render(object(TemplateReference), array()) in C:\xampp\htdocs\Confoo\vendor\symfony\symfony\src\Symfony\Bundle\TwigBundle\TwigEngine.php line 107
at TwigEngine->renderResponse(object(TemplateReference), array()) in C:\xampp\htdocs\Confoo\vendor\sensio\framework-extra-bundle\Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener.php line 116
at TemplateListener->onKernelView(object(GetResponseForControllerResultEvent))
at call_user_func(array(object(TemplateListener), 'onKernelView'), object(GetResponseForControllerResultEvent)) in C:\xampp\htdocs\Confoo\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher.php line 139
at ContainerAwareTraceableEventDispatcher->doDispatch(array(array(object(TemplateListener), 'onKernelView')), 'kernel.view', object(GetResponseForControllerResultEvent)) in C:\xampp\htdocs\Confoo\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php line 53
at EventDispatcher->dispatch('kernel.view', object(GetResponseForControllerResultEvent)) in C:\xampp\htdocs\Confoo\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher.php line 165
at ContainerAwareEventDispatcher->dispatch('kernel.view', object(GetResponseForControllerResultEvent)) in C:\xampp\htdocs\Confoo\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher.php line 78
at ContainerAwareTraceableEventDispatcher->dispatch('kernel.view', object(GetResponseForControllerResultEvent)) in C:\xampp\htdocs\Confoo\app\bootstrap.php.cache line 1430
at HttpKernel->handleRaw(object(Request), '1') in C:\xampp\htdocs\Confoo\app\bootstrap.php.cache line 1390
at HttpKernel->handle(object(Request), '1', true) in C:\xampp\htdocs\Confoo\app\bootstrap.php.cache line 1566
at HttpKernel->handle(object(Request), '1', true) in C:\xampp\htdocs\Confoo\app\bootstrap.php.cache line 617
at Kernel->handle(object(Request)) in C:\xampp\htdocs\Confoo\web\app_dev.php line 25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.