We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

mistake in Web DevTools (create model)

Hi! Created project phalcon 2.0.8 --anable-webtools go https://testo/webtools.php?_url=/models/create

Schema invo (list of tables is enable and all tables visible) Table name products Namespace Project Root C:\OpenServer\domains\testo

press "Genetate"

Warning: file_put_contents(C:\OpenServer\domains\testo\C:/OpenServer/domains/testo/public../app/models\Products.php): failed to open stream: Invalid argument in C:\OpenServer\domains\phalcon-devtools-master\scripts\Phalcon\Builder\Model.php on line 519

Does anyone know what's going on here? Path C:\OpenServer\domains\testo\C:/OpenServer/domains/testo/public../app/models\Products.php is not right, I can clear Project Root C:\OpenServer\domains\testo but creates different mistake Adapter is not supported

anyone can remove the curse?



14.4k

don't use --use-config-ini, during create project. For work with models, scaffold etc, --use-config-ini - This evil of last resort All right, if NOT --use-config-ini