Log message #4160673

# At Username Text
# Jul 19th 2018, 16:20 cluelessguru AllowOverride was set to none. Changed to All and I have a different error now. Internal Server Error. Lol. I'll report back if I'm stuck again.
# Jul 19th 2018, 16:19 cluelessguru Found it.
# Jul 19th 2018, 16:15 cluelessguru Yes welcome screen all green
# Jul 19th 2018, 16:15 Diego_ Cakephp welcome shows all verifications green? db connection etc?
# Jul 19th 2018, 16:15 cluelessguru I'm thinking mod_rewrite issues. Looking into that right now.
# Jul 19th 2018, 16:12 cluelessguru Cakephp welcome screen has "DebugKit is loaded". Browsing to articles/index still gives 404 error.
# Jul 19th 2018, 16:11 cluelessguru Installed pdo_sqlite. No more errors in the cakephp log now.
# Jul 19th 2018, 16:11 cluelessguru 2018-07-19 16:01:56 Warning: DebugKit not enabled. You need to either install pdo_sqlite, or define the "debug_kit" connection name.
# Jul 19th 2018, 16:11 cluelessguru Alright. Enabled DebugKit.forceEnable. Got this warning.
# Jul 19th 2018, 16:01 josbeir :rolling_on_the_floor_laughing:
# Jul 19th 2018, 16:01 birdy247 Either security flaw someone f**ked up?
# Jul 19th 2018, 16:01 josbeir File uploaded https://cakesf.slack.com/files/UAG1HNWKT/FBUJ2AADD/image.png / https://slack-files.com/T053DPNCM-FBUJ2AADD-e83cd4f2c3
# Jul 19th 2018, 16:00 josbeir random ppl (incl me) have seen it
# Jul 19th 2018, 16:00 birdy247 @josbeir I noticed one the other day which was a tiny tiny 1
# Jul 19th 2018, 16:00 josbeir @birdy247 yeah its the subject of the day here at the office :) :) that weird toggle button in chrome
# Jul 19th 2018, 15:58 Diego_ bootstrap
# Jul 19th 2018, 15:57 cluelessguru That goes into app.php?
# Jul 19th 2018, 15:56 Diego_ if you are in dev domain: Configure::write('DebugKit.forceEnable', true);
# Jul 19th 2018, 15:55 cluelessguru Error log for cakephp shows: 2018-07-19 14:11:21 Warning: DebugKit is disabling itself as your host `cakephp.network.hom` is not in the known safe list of top-level-domains (localhost, dev, invalid, test, example, local). If you would like to force DebugKit on use the `DebugKit.forceEnable` Configure option.
# Jul 19th 2018, 15:54 cluelessguru I'm doing the quickstart guide at https://book.cakephp.org/3.0/en/quickstart.html running on FreeBSD/FAMP setup. I got a 404 error when accessing the articles/index page.
# Jul 19th 2018, 15:53 itmpls any errors?
# Jul 19th 2018, 15:52 cluelessguru Is anyone here able to assist me in troubleshooting a cakephp setup? I'm starting out and I'm not sure where to look to start solving issues.
# Jul 19th 2018, 15:43 flavius disable all extensions and see if it changes
# Jul 19th 2018, 15:42 graziel no switch here also but im using theme
# Jul 19th 2018, 15:42 flavius @birdy247 lol, no switch here :slightly_smiling_face:
# Jul 19th 2018, 15:33 Diego_ I think Auth load the model before initialize() and make the behavior dont work as expected
# Jul 19th 2018, 15:32 Diego_ is there any way to use Footprint plugin in UsersTable with Auth component?
# Jul 19th 2018, 15:29 birdy247 File uploaded https://cakesf.slack.com/files/U0T295QA3/FBSQLBKS4/image.png / https://slack-files.com/T053DPNCM-FBSQLBKS4-d26670f237
# Jul 19th 2018, 15:26 birdy247 I got a weird "switch" in the top left when opening a new tab
# Jul 19th 2018, 15:26 birdy247 Is anyone using chrome on here?
# Jul 19th 2018, 15:14 dereuromark how should it know the type of entity? so at least doc block needs fixing ( https://github.com/dereuromark/cakephp-ide-helper/issues/86 )
# Jul 19th 2018, 15:14 josbeir and if you don't go too high in lvl :)
# Jul 19th 2018, 15:14 dereuromark no, it does not work fine :slightly_smiling_face:
# Jul 19th 2018, 15:13 josbeir if you include @property stuff that is :P
# Jul 19th 2018, 15:13 josbeir nah works fine?
# Jul 19th 2018, 15:12 neon1024 PHP Stan hates CakePHP anyway
# Jul 19th 2018, 15:11 dereuromark `public function beforeSave(Event $event, EntityInterface $entity, ArrayObject $options)` at least the doc block then must be the concrete class `@param \App\Model\Entity\Post $entity The entity that is going to be saved` Otherwise PHPStan and IDE cant work with it inside the callbacks
# Jul 19th 2018, 15:10 dereuromark Our generated callbacks in e.g. tables are not correct btw
# Jul 19th 2018, 15:07 itmpls that's why i was going to convert it to an array etc but no need
# Jul 19th 2018, 15:07 itmpls right
# Jul 19th 2018, 15:07 neon1024 `patchEntity()` will expect arrays, not EntityInterface instances