Log message #4020495

# At Username Text
# Apr 27th 2017, 00:40 tippexs91 how can i catch a Exception ...
# Apr 27th 2017, 00:40 tippexs91 Hey folks
# Apr 26th 2017, 21:27 btx does anyone know of any Filters for `FriendsOfCake/Search` that do .. progressive, weighted searches? For example someone searching for `msk resource cd` will get no results, but `msk resource` would return results (ie adding `cd` makes it too specific). So if it searched for `msk or (msk AND resource) or (msk AND resource AND cd)` and then sorted them by number of keywords matched
# Apr 26th 2017, 17:08 spriz @doug__ that would be impossible to know without knowing the context of ->paginator
# Apr 26th 2017, 16:38 chris-andre A gist of my action: https://gist.github.com/chris-andre/2104948e2dfef7b66c45d65b8f854828, It is straight forward.
# Apr 26th 2017, 16:36 chris-andre I'm getting data from my table (charset: UTF-8), and are using CsvView to download csv-file (UTF-8 as well). When I open the csv-file in excel, characters like `Æ, Ø, Å` is converted to some "strange" characters. If I enable bom, they show as expected. If I create a data-array with utf8_decode('ÆØÅ'), it shows as I want in the CSV-file. Any ideas?
# Apr 26th 2017, 16:19 doug__ maybe you are on drugs yourself and are projecting?
# Apr 26th 2017, 16:19 slackebot1 Action: bravo-kernel respecting the ops wishes
# Apr 26th 2017, 16:18 doug__ not cool
# Apr 26th 2017, 16:18 doug__ but glad to see you are jumping to accusing me of being on drugs
# Apr 26th 2017, 16:18 slackebot1 Action: bravo-kernel respecting the ops wishes
# Apr 26th 2017, 16:17 doug__ I asked where I could find docs on the options for ->paginator. You could not do so, and are getting frustrated that I did not find logic in your answer.
# Apr 26th 2017, 16:16 bravo-kernel but please return the favor and ignore me as well ;)
# Apr 26th 2017, 16:16 bravo-kernel are you on something my friend? just pointing you to the same source of truth I have been pointed to myself it many times
# Apr 26th 2017, 16:13 doug__ it was not a pointer, it was a 'message' that I should 'rtfm', but thanks anyways, you are intent on wasting both of our time!
# Apr 26th 2017, 16:12 bravo-kernel ok, will do, nvm the pointer
# Apr 26th 2017, 16:12 doug__ ignore me please
# Apr 26th 2017, 16:12 doug__ but expected, now that I recall previous posts from you ;)
# Apr 26th 2017, 16:12 doug__ that is not logical
# Apr 26th 2017, 16:11 bravo-kernel correct
# Apr 26th 2017, 16:10 doug__ @bravo-kernel, that is a link to the main api page
# Apr 26th 2017, 16:08 bravo-kernel @doug) https://api.cakephp.org/
# Apr 26th 2017, 16:07 doug__ Anyone know where I get docs on the options for ->paginator ?
# Apr 26th 2017, 15:52 doug__ the pagination->numbers() return URLs like ../articles/index/en-us instead of ../en-us/articles
# Apr 26th 2017, 15:51 doug__ I get "array_merge(): Argument #2 is not an arra" error
# Apr 26th 2017, 15:50 doug__ I'm trying "$this->Paginator->options(['url'=>Router::url([],true)]);" with no luck
# Apr 26th 2017, 15:49 doug__ not sure what I would need to set pagination options to...
# Apr 26th 2017, 15:49 doug__ URLs
# Apr 26th 2017, 15:49 doug__ even if it's not json format, it's ok, I just need valid iURLs,
# Apr 26th 2017, 15:49 doug__ in json format?
# Apr 26th 2017, 15:49 doug__ I'm just trying to add numbered pagination links as json using paginator->numbered(), and I'm not having any luck, the URLs produced are muddled. What is the easiest way to get page number links like google search result?
# Apr 26th 2017, 15:43 sdevore In CakePHP 3.x I have been using this advice https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#customize-key-value-output
# Apr 26th 2017, 15:39 cpierce what is the best way to get a virutal property in a list?
# Apr 26th 2017, 15:36 julez with the same uploaded file
# Apr 26th 2017, 15:36 julez i another part of this cake2.x application the same rule works
# Apr 26th 2017, 15:35 julez the validation rule is: 'mimeType', ['application/pdf', 'application/octet-stream', 'application/x-unknown']
# Apr 26th 2017, 15:35 julez Anybody has a idea why i got this when validating a fileupload? Can not determine the mimetype.
# Apr 26th 2017, 15:22 pedroseco thanks
# Apr 26th 2017, 15:22 slackebot1 controllers, what could I do?
# Apr 26th 2017, 15:22 pedroseco Hi guys! I’m having a couple of difficulties implementing a logic here in Cake and would like a opinion. I created a “shortcode” solution for my backoffice content on which I would replace it for a block of code that represented for instance, a Google Maps. I can do this on /view by using elements or view cells. But I would prefer to do it in the controller and return the $table->body with the completed html. Since I can’t use elem
# Apr 26th 2017, 15:16 chris-andre I need to utf8_decode($value) before it is output to CSV utf-8 export.