I pulled vokuro from git. And want to add several scaffold tables. Devtools not see the phalcon project, after creation folder .phalcon have another bug.
PHP Notice: Use of undefined constant BASE_PATH - assumed 'BASE_PATH' in /var/www/vokuro/app/config/config.php on line 42 PHP Stack trace: PHP 1. {main}() /home/moledet/vendor/phalcon/devtools/phalcon.php:0 PHP 2. Phalcon\Script->run() /home/moledet/vendor/phalcon/devtools/phalcon.php:83 PHP 3. Phalcon\Script->dispatch() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Script.php:146 PHP 4. Phalcon\Commands\Builtin\Scaffold->run() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Script.php:121 PHP 5. Phalcon\Builder\Scaffold->build() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Commands/Builtin/Scaffold.php:77 PHP 6. Phalcon\Builder\Model->build() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Builder/Scaffold.php:177 PHP 7. Phalcon\Builder\Component->getConfig() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Builder/Model.php:131 PHP 8. Phalcon\Builder\Path->getConfig() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Builder/Component.php:94 PHP 9. include() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Builder/Path.php:58 PHP Warning: file_put_contents(/var/www/vokuro/APP_PATH/models/Banners.php): failed to open stream: No such file or directory in /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Builder/Model.php on line 519 PHP Stack trace: PHP 1. {main}() /home/moledet/vendor/phalcon/devtools/phalcon.php:0 PHP 2. Phalcon\Script->run() /home/moledet/vendor/phalcon/devtools/phalcon.php:83 PHP 3. Phalcon\Script->dispatch() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Script.php:146 PHP 4. Phalcon\Commands\Builtin\Scaffold->run() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Script.php:121 PHP 5. Phalcon\Builder\Scaffold->build() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Commands/Builtin/Scaffold.php:77 PHP 6. Phalcon\Builder\Model->build() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Builder/Scaffold.php:177 PHP 7. file_put_contents() /home/moledet/vendor/phalcon/devtools/scripts/Phalcon/Builder/Model.php:519
Error: Unable to write to /var/www/vokuro/APP_PATH/models/Banners.php