Log message #4099621

# At Username Text
# Nov 30th 2017, 01:58 AlexMax I'm trying to map an existing database to a model, and it doesn't have a row id
# Nov 30th 2017, 01:57 AlexMax Question - is there some easy way to hydrate the 'rowid' row in all queries for an sqlite3 database?
# Nov 30th 2017, 00:27 obinoob yes it should work I'm reading a stack overflow that points it out
# Nov 30th 2017, 00:26 phantomwatson ``` $conn = ConnectionManager::get('default'); $conn->logQueries(true); ``` That should do it.
# Nov 30th 2017, 00:25 phantomwatson I _think_ that shouldn't make a difference. ```
# Nov 30th 2017, 00:24 obinoob phantomwatson I'm using an entity :(
# Nov 30th 2017, 00:23 phantomwatson I think this is what you're looking for: https://book.cakephp.org/3.0/en/orm/database-basics.html#query-logging
# Nov 30th 2017, 00:20 obinoob phantomwatson I need to log the sql I guess I'm calling a bad methods $this->log($clients->sql());
# Nov 30th 2017, 00:20 obinoob phantomwatson I am tailing the logs and not much help
# Nov 30th 2017, 00:19 obinoob phantomwatson absolutely positive
# Nov 30th 2017, 00:19 obinoob phantomwatson the problem is that the request is being made via ajax
# Nov 30th 2017, 00:18 phantomwatson Regarding that error message, are you sure that the `district_id` value exists in the `districts` table?
# Nov 30th 2017, 00:16 phantomwatson The DebugKit has a "Sql Log" tab that you can use to browse the queries used in the last request.
# Nov 30th 2017, 00:15 obinoob how can I get the sql being generated so i can have a glimpse of whats going wrong?
# Nov 30th 2017, 00:11 phantomwatson Does anyone know of a slick way to get the current `\Cake\Http\Response` from a `\Cake\Event\Event`? I'm trying to delete a cookie in response to an `Auth.logout` event in an Authentication class, but the only parameters supported are `$event` and `$user`.
# Nov 30th 2017, 00:11 obinoob good evening, anyone knows why I'm having this message (line 2) https://gist.github.com/obinoob/235840a3aaa6224d43d4cdb87aab0419
# Nov 30th 2017, 00:01 inoas that's not nice
# Nov 29th 2017, 23:58 inoas aint we?
# Nov 29th 2017, 23:58 inoas but ... we are now locked to twig1.x
# Nov 29th 2017, 23:58 inoas well including twig was a nice idea
# Nov 29th 2017, 22:24 dereuromark but it could also be a two step process maybe
# Nov 29th 2017, 22:23 dereuromark probalby, yeah
# Nov 29th 2017, 22:20 saeideng I will look again into chronos to ability to add calendar
# Nov 29th 2017, 22:13 saeideng true?
# Nov 29th 2017, 22:12 saeideng with porting into chronos we no needs to cakephp/i18n at all
# Nov 29th 2017, 22:08 dereuromark I am sure it could fit into it
# Nov 29th 2017, 22:08 dereuromark mainly needs a PR from someone
# Nov 29th 2017, 22:08 saeideng perhaps needs open issue first
# Nov 29th 2017, 22:07 saeideng ?
# Nov 29th 2017, 22:07 saeideng do you think there is a plan to add calendar into chronos
# Nov 29th 2017, 22:06 saeideng I always use non-gregorian in apps
# Nov 29th 2017, 22:05 saeideng no
# Nov 29th 2017, 22:05 dereuromark seems like you have a new pet project :slightly_smiling_face:
# Nov 29th 2017, 22:05 saeideng other calendars :middle_finger:
# Nov 29th 2017, 22:04 saeideng japanese buddhist chinese persian indian islamic hebrew coptic ethiopic
# Nov 29th 2017, 22:04 saeideng basic calendar returns gregorian
# Nov 29th 2017, 22:03 dereuromark cant it already do basic calendar? everything else could maybe provided as PR
# Nov 29th 2017, 22:02 saeideng I check chronos that have not `calendar` IMO
# Nov 29th 2017, 22:02 saeideng `$result = $now->i18nFormat(\IntlDateFormatter::FULL, null, 'en-IR@calendar=persian');`
# Nov 29th 2017, 22:00 saeideng like calendar in cakephp/time
# Nov 29th 2017, 22:00 saeideng I need timezone + calendar in chronos