Log message #4089380

# At Username Text
# Oct 13th 2017, 09:21 garciamarinel012 File uploaded https://cakesf.slack.com/files/U7J6X3T7H/F7HQCMEJW/-.txt / https://slack-files.com/T053DPNCM-F7HQCMEJW-9463be5b1d
# Oct 13th 2017, 09:21 hmic additionally make sure the problem is not yours, but a generic problem, this is: use another browser/computer to verify the issue
# Oct 13th 2017, 09:20 hmic there is not mauch to do in this sh*** environment you are running the app on, besides checking the logs, basically
# Oct 13th 2017, 09:19 garciamarinel012 yes. earlier in the morning I'm able to login . but now it only redirecting to login page
# Oct 13th 2017, 09:19 hmic if thats the case, should be pretty easy to find the cause now, as you are not developing this application at all, only using it. there will have been very few changes you should be able to go through easily
# Oct 13th 2017, 09:18 hmic i ask again: you have been able to login in this very same setup/environment before?
# Oct 13th 2017, 09:11 garciamarinel012 @hmic yes its now working on WPEngine . earlier im able to login. but not it only redirect me to login area
# Oct 13th 2017, 08:55 hmic i answered both
# Oct 13th 2017, 08:50 rudy1976s @hmic my problem is not related to string but to model fields translation, or maybe I misunderstood your reply :slightly_smiling_face:
# Oct 13th 2017, 08:50 adriencs `Model class "Users" of type "Table" could not be found.` uh
# Oct 13th 2017, 08:49 hmic rudy1976s: with __() this is what happens, with translate behavior, you need to have the translated text. probably could change that, but it's not just there IMHO
# Oct 13th 2017, 08:47 rudy1976s any idea regarding my question ?
# Oct 13th 2017, 08:39 hmic garciamarinel012: did it work already, in that particular install/environment?
# Oct 13th 2017, 08:39 hmic welcome
# Oct 13th 2017, 08:39 hughbertd Thanks again hmic
# Oct 13th 2017, 08:39 hughbertd Gotcha (I think) :thumbsup:
# Oct 13th 2017, 08:39 garciamarinel012 Good day . is there any fix issue for issue that I'm unable to login it only redirects on login page ??? I've already cleared cache . Thank you
# Oct 13th 2017, 08:38 hmic unfold, not zip
# Oct 13th 2017, 08:38 hmic works on any level
# Oct 13th 2017, 08:38 hmic you can, arbitrarily difficult first group by the first sort columns, then sort each group by the second column, then zip the groups
# Oct 13th 2017, 08:37 hmic yeah, well...
# Oct 13th 2017, 08:36 hughbertd :thumbsup: You still wouldn’t be able to have a sort like: ASC NAME, DESC ID tho right?
# Oct 13th 2017, 08:36 hmic hints are: use a seperator that not in your text and fitting to the sort order. - might not be the best choice, ~ or # or something obcure is better IMHO
# Oct 13th 2017, 08:35 hughbertd Oh man. I’m an idiot. It’s not even early enough in the UK to excuse it. Thanks!
# Oct 13th 2017, 08:34 hmic and it shows how to use that to sort on multiple columns in the example!
# Oct 13th 2017, 08:34 hughbertd hmic: from the docs: `The sortBy() method is flexible enough to let you specify an extractor function that will let you dynamically select the value to use for comparing two different values in the collection:`
# Oct 13th 2017, 08:34 rudy1976s I have two languages on my site: the main is italian and the second is english: the translate works fine but I had some request from customer regarding fallbacks: sometimes happens that something should not be translated because the same is for both language: is there a way when switching italian to english to read italian when english field is empty?
# Oct 13th 2017, 08:33 hughbertd @hmic I thought the closure just gave the field to sort on, thats what the docs indicate
# Oct 13th 2017, 08:33 hmic hughbertd: you can have a closure doing the sort, if you can do it, so can the collection
# Oct 13th 2017, 08:32 hmic !tell rudy1976s about ask
# Oct 13th 2017, 08:32 hughbertd Hi all, Is `collection::sortBy` able to sort by multiple columns?
# Oct 13th 2017, 08:31 rudy1976s Hi I have a question related to translatable behavior
# Oct 13th 2017, 08:25 hmic good morning neon1024
# Oct 13th 2017, 08:25 neon1024 Moin hmic!
# Oct 13th 2017, 08:23 hmic justcharlz: sounds like you want a belongsTo association and contain the other table in your query
# Oct 13th 2017, 08:21 neon1024 @dereuromark https://www.12factor.net/de/config - could be of interest as you were talking about config yesterday iirc
# Oct 13th 2017, 08:06 justcharlz Good morning
# Oct 13th 2017, 08:05 neon1024 Morning everyone
# Oct 13th 2017, 08:04 justcharlz Is there another easy way to do this using cakephp collection and extract.
# Oct 13th 2017, 08:03 justcharlz my solution is to first get the id of the genres from the store table and then create another query to get the name from the genre table.
# Oct 13th 2017, 08:02 justcharlz I have two tables. Stores and Genres. I connect them together so that inside the store table, I have the unique id of genre inside the genre column of store. Now I am listing the various music of stores table and I don't want it to be listing the unique id of genres rather should be the name attached to the unique id