Log message #4222240

# At Username Text
# Jan 13th 2020, 18:20 MrEm Now, the next question: I seem to be coming up against FAILURE_IDENTITY_NOT_FOUND when submitting it with just the user name
# Jan 13th 2020, 18:20 ndm See https://book.cakephp.org/authentication/2/en/identifiers.html#identifiers, the `resolver` config
# Jan 13th 2020, 18:20 MrEm ok, no worries. I can settle
# Jan 13th 2020, 18:19 ndm You'd have to settle for a single input field, and the use a custom finder for the identifier where you can do an OR lookup...
# Jan 13th 2020, 18:18 MrEm Ah, is there no way to have it look at either? I thought I saw that somewhere online
# Jan 13th 2020, 18:17 ndm Tour `username` field contains an array, but it should be a string.
# Jan 13th 2020, 18:16 MrEm https://pastebin.com/zkeiv2Me
# Jan 13th 2020, 18:16 MrEm This is my Applications class:
# Jan 13th 2020, 18:15 ndm Either the request body is funky, or your form authenticator's `fields` configuration is wrong
# Jan 13th 2020, 18:14 MrEm Cake 4
# Jan 13th 2020, 18:14 MrEm This started happening when I started trying to implement Authentication
# Jan 13th 2020, 18:12 MrEm I keep getting an error message every time I post a form:Illegal offset type in isset or empty [ROOT/vendor/cakephp/authentication/src/Authenticator/FormAuthenticator.php, line 63]
# Jan 13th 2020, 16:43 Human_G33k find i guess
# Jan 13th 2020, 16:41 Human_G33k the book/doc for the 4th is just a mess
# Jan 13th 2020, 16:41 Human_G33k by default there is a conventionnal name for a debug_lan_config.php file or it fust load all file in the directory
# Jan 13th 2020, 16:40 neon1024 Good find!
# Jan 13th 2020, 16:37 Human_G33k it was about the test connection
# Jan 13th 2020, 16:37 Human_G33k ok find
# Jan 13th 2020, 16:35 neon1024 As I mentioned above for MySQL. Although I can’t help with Postgres, and I haven’t used it, sorry
# Jan 13th 2020, 16:35 neon1024 I would imagine that Postgres is configured to only allow localhost
# Jan 13th 2020, 16:35 Human_G33k but not from the lan
# Jan 13th 2020, 16:35 Human_G33k it s working fine in/from/to localhost
# Jan 13th 2020, 16:35 neon1024 Could simply be a missing `use` statement
# Jan 13th 2020, 16:34 Human_G33k *app_local
# Jan 13th 2020, 16:34 neon1024 I mean, is Postgres installed?
# Jan 13th 2020, 16:34 Human_G33k and in the same in app.php
# Jan 13th 2020, 16:34 neon1024 Might be Composer autoloader?
# Jan 13th 2020, 16:34 neon1024 You don’t need it, but your application is looking for it. That’s your bug
# Jan 13th 2020, 16:34 Human_G33k 'driver' => Postgres::class, in app.php
# Jan 13th 2020, 16:34 neon1024 Because the app.default.php has been copied
# Jan 13th 2020, 16:34 Human_G33k why i need the mysql if i will not use it ?
# Jan 13th 2020, 16:33 neon1024 Probably because your app.php is using MySQL
# Jan 13th 2020, 16:33 neon1024 Is why that message is being displayed
# Jan 13th 2020, 16:33 neon1024 missing PHP extension
# Jan 13th 2020, 16:33 Human_G33k so why the error message ?
# Jan 13th 2020, 16:33 Human_G33k il my all config file
# Jan 13th 2020, 16:33 Human_G33k 'driver' => Postgres::class,
# Jan 13th 2020, 16:33 neon1024 So read the error out loud now to yourself
# Jan 13th 2020, 16:32 neon1024 Right, so nothing to do with Postgres then.
# Jan 13th 2020, 16:32 Human_G33k is the error
# Jan 13th 2020, 16:32 Human_G33k Database driver Cake\Database\Driver\Mysql cannot be used due to a missing PHP extension or unmet dependency