Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-BETA1
    • Fix Version/s: 2.0-BETA2
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None
    • Environment:
      Ubuntu 9.10, sandbox downloaded from website package, PHP 5.3.2

      Description

      The sandbox can't work, there is a lot of relative path hardcoded to reset first :

      index.php
      require '../../DoctrineORM-2.0.0/Doctrine/Common/ClassLoader.php';
      
      // Set up class loading. You could use different autoloaders, provided by your favorite framework,
      // if you want to.
      $doctrineClassLoader = new ClassLoader('Doctrine', realpath(__DIR__ . '/../../DoctrineORM-2.0.0'));
      
      cli-config.php
      require __DIR__ .'/../../DoctrineORM-2.0.0/Doctrine/Common/ClassLoader.php';
      
      doctrine.php
      $classLoader = new \Doctrine\Common\ClassLoader('Doctrine', realpath(__DIR__ . '/../../DoctrineORM-2.0.0'));
      $classLoader->register();
      
      $classLoader = new \Doctrine\Common\ClassLoader('Symfony', realpath(__DIR__ . '/../../DoctrineORM-2.0.0/vendor'));
      $classLoader->register();
      

      But even after set the rights path, we still can't launch the Doctrine Cli :
      require(/Symfony/Components/Console/Helper/Helper.php) fail (there is no Symfony components in the package).

      If the Symfony Components needs to be included by hand, please update the documentation here : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/introduction/en#sandbox-quickstart

        Activity

        Hide
        Damien ALEXANDRE added a comment -

        Sorry for the noise, seems to be resolved in the master !

        Have a nice day anyway

        Show
        Damien ALEXANDRE added a comment - Sorry for the noise, seems to be resolved in the master ! Have a nice day anyway

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Damien ALEXANDRE
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: