Doctrine MongoDB ODM
  1. Doctrine MongoDB ODM
  2. MODM-104

Creating mongo configuration class instance hangs php

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.0.0BETA1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 10.4, PHP 5.3.3, MongoDB 1.6.5, doctrinemongoODM installed with PEAR, also present Doctrine 1.2.3, php handling installed via pecl

      Description

      After pasting down the doc tutorial example I've noticed that php hangs on
      Configuration instance creation.

      require 'Doctrine/Common/ClassLoader.php';
      use Doctrine\Common\ClassLoader,
      Doctrine\Common\Annotations\AnnotationReader,
      Doctrine\ODM\MongoDB\DocumentManager,
      Doctrine\ODM\MongoDB\Mongo,
      Doctrine\ODM\MongoDB\Configuration,
      Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver;
      // ODM Classes
      $classLoader = new ClassLoader('Doctrine\ODM', 'mongodb_odm/lib');
      $classLoader->register();
      // Common Classes
      $classLoader = new ClassLoader('Doctrine\Common', 'mongodb_odm/lib/vendor/doctrine-common/lib');
      $classLoader->register();
      // Document classes
      $classLoader = new ClassLoader('Documents', _DIR_);
      $classLoader->register();

      //-------hangs here
      $config = new Configuration();

      //tried explicit too
      // new Doctrine\ODM\MongoDB\Configuration();

      No errors or warnigs of any kind generated.

        Activity

        Peter Jasiulewicz created issue -
        Jonathan H. Wage made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Cannot Reproduce [ 5 ]

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Peter Jasiulewicz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: