Log message #4020501

# At Username Text
# Apr 27th 2017, 01:11 joshuaso91 so basically when i sign in a user i want to show the username as he is logged into the system
# Apr 27th 2017, 00:59 rrueco I think the problem is applying another validation in the controller. I'l try to apply all my validation in Model, and in separate Form validation (if modelless)
# Apr 27th 2017, 00:55 joshuaso91 Hey guys this is the CakePHP 2.x way of getting values from the database for example, li>Welcome, <?php echo $user_username; ?></li. How do I write in CakePHP3.x way??
# Apr 27th 2017, 00:51 rrueco I have a form with modelless field (with separate validation). When modelless field contains invalid input, all form fields goes empty. How can I retain form field values when validation fails?
# Apr 27th 2017, 00:41 tippexs91 this is not working, currently
# Apr 27th 2017, 00:40 tippexs91 try { $PIC->savePic($hash, $pin, $album_id, $extension, $filesize, $memberid); } catch (Exception $exception) { echo 'error while saving data to database'; };
# 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