Hi all,
I try use the Web Interface of Phalcon Web Tools.
I created the project with this command
phalcon create-project foo --enable-webtools
I see my tables when I try create a model however I get this error
Database configuration cannot be loaded from your config file
and when i try create a scaffold I get this error
Builder doesn't knows where is the models directory
this is the config.php file
<?php
return new \Phalcon\Config(array( 'database' => array( 'adapter' => 'Mysql', 'host' => 'localhost', 'username' => 'root', 'password' => 'MYPASS', 'dbname' => 'test_db', ), 'application' => array( 'controllersDir' => DIR . '/../../app/controllers/', 'modelsDir' => DIR . '/../../app/models/', 'viewsDir' => DIR . '/../../app/views/', 'pluginsDir' => DIR . '/../../app/plugins/', 'libraryDir' => DIR . '/../../app/library/', 'cacheDir' => DIR . '/../../app/cache/', 'baseUri' => '/foo/', ) ));