Log message #4228454

# At Username Text
# Feb 24th 2020, 17:19 ndm Isn't that what admins do anyways, wasting time on stupid tasks? :)
# Feb 24th 2020, 17:15 alexdd55976 Our admin wasted hours
# Feb 24th 2020, 17:15 alexdd55976 Thanks @ndm
# Feb 24th 2020, 17:15 alexdd55976 Windows crap
# Feb 24th 2020, 17:00 ndm Classnames translate to filenames, so if you have a case sensitive filesystem, `LDAPIdentifier.php` doesn't exist.
# Feb 24th 2020, 16:56 alexdd55976 dude... wtf...
# Feb 24th 2020, 16:43 ndm The class name is `Ldap...`
# Feb 24th 2020, 16:43 alexdd55976 this is what the error.log is giving me.... no idea
# Feb 24th 2020, 16:42 slackebot /www/ibaonnect/app/src/Application.php:75 - /www/ibaonnect/app/vendor/cakephp/cakephp/src/Http/Server.php:83 - /www/ibaonnect/app/webroot/index.php:40```
# Feb 24th 2020, 16:42 alexdd55976 ```2020-02-24 17:41:08 Error: [RuntimeException] Identifier class `LDAP` was not found. in /www/ibaonnect/app/vendor/cakephp/authentication/src/Identifier/IdentifierCollection.php on line 124 Stack Trace: - /www/ibaonnect/app/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php:101 - /www/ibaonnect/app/vendor/cakephp/authentication/src/AuthenticationService.php:166 - /www/ibaonnect/app/src/Application.php:122 -
# Feb 24th 2020, 16:39 alexdd55976 php extension LDAP is installed
# Feb 24th 2020, 16:38 alexdd55976 any ideas where the error could be?
# Feb 24th 2020, 16:38 alexdd55976 i deployed my working app onto a new server and get ```Identifier class LDAP was not found.```
# Feb 24th 2020, 16:38 neon1024 https://book.cakephp.org/3/en/orm/database-basics.html#checking-error-codes :face_palm:
# Feb 24th 2020, 16:33 neon1024 Knowing MySQL it’ll be “Error: Query executed successfully”
# Feb 24th 2020, 16:32 neon1024 I can see that the `Connection::query` method returns `StatementInterface` which has `errorCode()` so I guess I just check that?
# Feb 24th 2020, 16:31 neon1024 Anyone know how to tell if your query worked?
# Feb 24th 2020, 16:13 ricksaccous cool beans ;) for my latest project it was mostly just me and i kind of zoomed through portions, sometimes when i shouldn't have
# Feb 24th 2020, 16:12 ricksaccous lol
# Feb 24th 2020, 16:12 neon1024 Then again, I’ve had code merged into cakephp, so it can’t be *that* bad if i’ve made it past dereuromark and admad! 8)
# Feb 24th 2020, 16:11 neon1024 Never had colleagues on the same codebase, so my code might be total :poop: and I’d never know ;)
# Feb 24th 2020, 16:11 neon1024 @ricksaccous Can you imagine anyone wanting to work with me! :,)
# Feb 24th 2020, 16:07 neon1024 Guess I’ll use a Shell and write my schema changes in SQL and execute them on the connection
# Feb 24th 2020, 16:04 neon1024 Like Judge Dredd “I am the team!”
# Feb 24th 2020, 16:04 ricksaccous and considering the time it might take to write SQL vs using a shell command it's prob better to just write the shell command
# Feb 24th 2020, 16:03 ricksaccous honestly even if you did if you just communicated about it it would be no big deal
# Feb 24th 2020, 16:02 ricksaccous that makes sense
# Feb 24th 2020, 16:02 ricksaccous if you don't have a team then write that shell command, oh yeahhhh
# Feb 24th 2020, 15:55 neon1024 No idea if I can persist schema changes though
# Feb 24th 2020, 15:54 neon1024 A shell would be my preference as the php logic will be helpful to have
# Feb 24th 2020, 15:53 neon1024 ..and I want a migration to change the schema
# Feb 24th 2020, 15:53 neon1024 I want a Shell for the ORM and PHP logic
# Feb 24th 2020, 15:53 neon1024 I don’t have a team
# Feb 24th 2020, 15:49 ricksaccous i'm only thinking like that for the sake of your team
# Feb 24th 2020, 15:49 ricksaccous whatever
# Feb 24th 2020, 15:49 ricksaccous probably
# Feb 24th 2020, 15:49 ricksaccous actually the neatest way would be in it's own migration where you write your own sql
# Feb 24th 2020, 15:48 ricksaccous i see
# Feb 24th 2020, 15:48 neon1024 Nah, it’s a one off migration, I need to refactor some associations
# Feb 24th 2020, 15:48 ricksaccous @neon1024 i'd probably just use a shell command for something like that if you don't need to do it on some page action
# Feb 24th 2020, 15:35 neon1024 This is what I would try :)