Log message #4158094

# At Username Text
# Jul 11th, 14:04 james.phillips hi....if I have innerJoinWith with a loop inside... how do I generate (CrmContactRoles.crm_role_id = 2 AND CrmContactRoles.crm_admin_organisation_id = 1) OR (CrmContactRoles.crm_role_id = 3 and CrmContactRoles.crm_admin_organisation_id = 1)) I always get (CrmContactRoles.crm_role_id = 2 AND CrmContactRoles.crm_admin_organisation_id = 1) OR (CrmContactRoles.crm_role_id = 3 OR CrmContactRoles.crm_admin_organisation_id = 1))
# Jul 11th, 14:03 dereuromark @admad Are you ok with the hybridauth addition? We would need it to get the flash message and login count (back) for non-form login.
# Jul 11th, 14:02 admad that's the only reason I would work on code from the Jurassic age
# Jul 11th, 14:01 admad atoning for your sins?
# Jul 11th, 14:01 verax5 What am I doing with my life
# Jul 11th, 14:01 verax5 god
# Jul 11th, 13:51 josbeir taking a trip down memory lane
# Jul 11th, 13:50 josbeir => https://book.cakephp.org/1.3/en/The-Manual/Developing-with-CakePHP/Controllers.html
# Jul 11th, 13:50 josbeir If you do not wish to use a Model in your controller, set var $uses = array(). This will allow you to use a controller without a need for a corresponding Model file.
# Jul 11th, 13:50 josbeir try $uses = array();
# Jul 11th, 13:48 josbeir i'm looking if i have some old cake 1.x project on this laptop but cant find any
# Jul 11th, 13:47 josbeir uses = false; should work
# Jul 11th, 13:47 verax5 But it also forced me to create Model class
# Jul 11th, 13:47 verax5 I don't even need model
# Jul 11th, 13:46 verax5 https://kopy.io/JMoxd
# Jul 11th, 13:46 josbeir damn, thats some legacy stuff :P
# Jul 11th, 13:46 josbeir and idd, $uses = false; should work :slightly_smiling_face:
# Jul 11th, 13:46 josbeir unsub_controller.php
# Jul 11th, 13:46 verax5 Missing Database Table No Database table for model Unsub (expected "unsubs"), create it first.
# Jul 11th, 13:45 josbeir also verax, if its cake 1.x your controller name must be lowercases and underscored, ROR naming conventions
# Jul 11th, 13:45 admad gonna have a tough time working with nearly a decade old version of a lib :slightly_smiling_face:
# Jul 11th, 13:45 iqu maybe there is something similar 1.1
# Jul 11th, 13:45 admad verax5: try adding `var $uses = false;` to the controller
# Jul 11th, 13:44 iqu verax5: cakephp 3 comes with https://book.cakephp.org/3.0/en/controllers/pages-controller.html
# Jul 11th, 13:44 verax5 If anyone else is willing to help me would be appreciated
# Jul 11th, 13:43 verax5 It's fine
# Jul 11th, 13:43 iqu ok. then i cannot help. sry
# Jul 11th, 13:43 verax5 cake 1.1
# Jul 11th, 13:43 verax5 I'm working with some legacy code here
# Jul 11th, 13:43 verax5 I'm not quite sure mate
# Jul 11th, 13:43 iqu verax5: are you using skeleton app?
# Jul 11th, 13:42 verax5 page
# Jul 11th, 13:42 verax5 I don't understand why cakephp is forcing me to create a model when I just want o return static apge..
# Jul 11th, 13:42 iqu could open many possibilities with async model
# Jul 11th, 13:42 iqu anyone tried with cake: https://laravel-news.com/laravel-swoole
# Jul 11th, 13:34 dereuromark Unsub sounds like straight from criminal minds and behavior unit of the FBI :P doing some cake profiling there? HEHE
# Jul 11th, 13:34 josbeir and the path is wrong too
# Jul 11th, 13:34 josbeir your view name is wrong
# Jul 11th, 13:22 verax5 Which from what I understand should invoke index() method in UnsubController right?
# Jul 11th, 13:22 verax5 Page I'm trying to load is /unsub
# Jul 11th, 13:22 verax5 https://kopy.io/0kMSX