Git Product home page Git Product logo

apigility-symfony2-use-case's People

Contributors

ezimuel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apigility-symfony2-use-case's Issues

Thanks!

hey @ezimuel I just noticed the mention and wanted to say thanks! :) keep rocking with apigility!

Database and schema is not created

These commands don't work even with correct database credentials set in parameters.yml

php app/console doctrine:database:create
php app/console doctrine:schema:update --force

No error message, no action, nothing created in database. As a result of this, browsing to home folder or /post results in a blank page.

Cant find Symfony application AppKernel.php by apigility.

I am accessing the http://apigility.local/post where I have successfully added the ApiBlog module from this repository.
and added Symfony application. file into PostResource.php under the __construct method as bellow

public function __construct()
    {
        $symfonyApp = '/home/vallabh/www/symfony2app';
        require_once $symfonyApp . '/app/AppKernel.php';

        $kernel = new \AppKernel('prod', true);
        $kernel->loadClassCache();
        $kernel->boot();

        $this->doctrine = $kernel->getContainer()
            ->get('doctrine')
            ->getManager();
    }

But still error showing.

I have tested that AppKernel.php is successfully called into the __construct but while accessing the
api get request http://apigility.local/post thowring the errors as bellow.

Fatal error: Class 'Symfony\Component\HttpKernel\Kernel' not found in /home/vallabh/www/symfony2app/app/AppKernel.php on line 7

composer does not resolve dependencies and fails....

When composer.phar install apigilityapi project one gets:

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for zfcampus/zf-apigility dev-master -> satisfiable by zfcampus/zf-apigility[dev-master].
- zfcampus/zf-apigility dev-master requires rwoverdijk/assetmanager ~1.3 -> no matching package found.
Problem 2
- Installation request for zfcampus/zf-apigility-admin dev-master -> satisfiable by zfcampus/zf-apigility-admin[dev-master].
- zfcampus/zf-apigility-admin dev-master requires rwoverdijk/assetmanager ~1.3 -> no matching package found.
thx

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.