Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on installation. #8

Open
alduro opened this issue Jul 16, 2013 · 1 comment
Open

Issue on installation. #8

alduro opened this issue Jul 16, 2013 · 1 comment

Comments

@alduro
Copy link

alduro commented Jul 16, 2013

Hey Mariano, I installed li3_doctrine2 several times under ROOT, under app and under ROOT/libraries creating composer.json in ROOT directory with no luck. PHP 5.5.0.

This is the composer.json and I changed vendor-dir

    {
     {
       "name": "Corazon de Lana",
       "version": "0.1.0",
       "config": {
           "vendor-dir": "app/libraries"
     },
    "repositories": {
        "UnionOfRAD": {
            "type" : "package",
            "package": {
                "name": "lithium",
                "version": "master",
                "source": {
                    "url": "git://github.com/UnionOfRAD/lithium.git",
                    "type": "git",
                    "reference": "master"
                }
            }
        }
    },    
    "require": {        
        "twig/extensions": "master-dev",
        "doctrine/orm": ">=2.1",
        "doctrine/migrations": "dev-master",
        "mariano/li3_doctrine2": "dev-master"
    }    
    }

Then I changed app/config/bootstrap/libraries.php adding these lines at the end:

require_once(LITHIUM_LIBRARY_PATH . '/autoload.php');
Libraries::add('li3_doctrine2');

but didn't work. I changed the last line to
Libraries::add('mariano/li3_doctrine2');
and I got rid of the error.

but then I had other errors with doctrine and doctrine-cli-config.php asking for LITHIUM_APP constant. am I missing any particular configuration ?

Thanks !

@alduro
Copy link
Author

alduro commented Jul 16, 2013

Just in case my dir structure:

screen shot 2013-07-16 at 10 50 24 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant