beta 2: filter files missing in composer install - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: beta 2: filter files missing in composer install (/showthread.php?tid=73245) |
beta 2: filter files missing in composer install - devops - 04-04-2019 Hi, I just did a new Composer appstarter install and I moved the directories around for a shared system (as usual). Just running the canned welcome message and I got ERROR: codeigniter4\framework\system\Filters\DebugToolbar not found It seems the files: CSRF.php DebugToolbar.php and Honeypot.php are missing from the distribution. ==== Update: It seems the initial composer create-project installed alpha 4, but I swear I remember seeing Beta 2 on the running display. A 'composer update' just now installed Beta 1. weird. I manually moved the beta 2 files over to work around all this. RE: beta 2: filter files missing in composer install - ciadmin - 04-04-2019 Thank you for the heads up - will investigate! RE: beta 2: filter files missing in composer install - ciadmin - 04-04-2019 Hmm - the filters are there in the framework distribution... https://github.com/codeigniter4/framework/tree/master/system/Filters ... and the app/Config/Filters.php looks like it is referencing them correctly. I did the same thing ... - install (with the "-s beta" option that was missing from the appstarter readme but which has been corrected) - "php spark serve" and yes, the error you mentioned - "composer update" - "php spark serve" and no problems finding the filters - the welcome page suggests "beta.1" though Looks like a few hiccups to fix, thanks! RE: beta 2: filter files missing in composer install - ciadmin - 04-04-2019 hmmmmm - the codeigniter4/framework package was still sitting at beta.1 ... it didn't update automatically for some reason. I have triggered the packagist update, and all seems well now. A "composer update" inside your app starter should bring all up to beta.2 RE: beta 2: filter files missing in composer install - donpwinston - 04-04-2019 (04-04-2019, 12:43 PM)ciadmin Wrote: hmmmmm - the codeigniter4/framework package was still sitting at beta.1 ... it didn't update automatically for some reason. The welcome page displays application and not app: application/Views/welcome_message.php RE: beta 2: filter files missing in composer install - ciadmin - 04-04-2019 (04-04-2019, 07:09 PM)donpwinston Wrote:(04-04-2019, 12:43 PM)ciadmin Wrote: hmmmmm - the codeigniter4/framework package was still sitting at beta.1 ... it didn't update automatically for some reason. Doh! Thank goodness for sharp eyes |