Log message #4156822

# At Username Text
# Jul 7th 2018, 19:58 itmpls or maybe I incorrectly tested
# Jul 7th 2018, 19:58 itmpls then how come in subdomain.blah.domain.com/ it goes to dd('parse'); in SubdomainRoute but not in /foo ?
# Jul 7th 2018, 19:58 saeideng for all controller/action syntax
# Jul 7th 2018, 19:58 itmpls ok
# Jul 7th 2018, 19:57 saeideng cake fallbacks is globally
# Jul 7th 2018, 19:57 itmpls thats why im using it, but i dont want to limit to just '/'
# Jul 7th 2018, 19:57 itmpls i saw fallbacks, but doesnt it apply globally?
# Jul 7th 2018, 19:57 saeideng cake uses `/:controller/:action, ........` in fallbacks
# Jul 7th 2018, 19:56 itmpls i guess maybe i use setDefaultRoute?
# Jul 7th 2018, 19:56 saeideng see cake's default fallbacks
# Jul 7th 2018, 19:55 saeideng how cake can detect your mean ?
# Jul 7th 2018, 19:55 itmpls well.. i mean i want it global. not just /foo, but /bar, /baz, etc
# Jul 7th 2018, 19:55 saeideng are you have `SubdomainRoute` class ?
# Jul 7th 2018, 19:54 saeideng ^^ first check with this
# Jul 7th 2018, 19:54 saeideng ``` Router::scope('/', function($routes) { $routes->connect('/foo`,........); $routes->fallbacks('SubdomainRoute'); }); ```
# Jul 7th 2018, 19:54 itmpls https://github.com/cakephp/cakephp/issues/11689 ?
# Jul 7th 2018, 19:53 itmpls how can I make it reach/apply SubdomainRoute in /foo and anywhere, though? where there's a subdomain
# Jul 7th 2018, 19:52 saeideng check `SubdomainRoute`
# Jul 7th 2018, 19:52 saeideng this is your code
# Jul 7th 2018, 19:52 saeideng ``` Router::scope('/', function($routes) { $routes->fallbacks('SubdomainRoute'); }); ```
# Jul 7th 2018, 19:51 saeideng sorry it is `Router::scope('/',`
# Jul 7th 2018, 19:51 itmpls so how can i make it a wildcard then?
# Jul 7th 2018, 19:50 saeideng yes
# Jul 7th 2018, 19:42 itmpls is it because of the leading / ? which is still confusing to me
# Jul 7th 2018, 19:42 itmpls anyone know why with Router::scope('/', function($routes) { $routes->fallbacks('SubdomainRoute'); }); it doesn't reach SubdomainRoute::parse() via subdomain.blah.domain.com/foo but only at subdomain.blah.domain.com/ (home)
# Jul 7th 2018, 19:36 slackebot4 ~ask
# Jul 7th 2018, 19:36 slackebot4 Command sent from Slack by savant:
# Jul 7th 2018, 17:54 itmpls and push to master
# Jul 7th 2018, 17:54 itmpls then make your edits, then commit
# Jul 7th 2018, 17:54 itmpls @joopm - git clone the repo
# Jul 7th 2018, 17:38 joopm i have a repository in the github and i have a local cakeproject
# Jul 7th 2018, 17:37 joopm can you tell me how do you use github with cakephp?
# Jul 7th 2018, 17:37 joopm hello
# Jul 7th 2018, 14:27 admad do what the ORM does yourself :slightly_smiling_face:
# Jul 7th 2018, 14:26 drgn I am moving towards migrating all my hard-coded sql into ORM, but in the meantime, what is the recommended solution to hydrating the timestamps into FrozenTime? The sql is quite complex an only this last piece remains.
# Jul 7th 2018, 14:17 admad use the ORM methods, not lower level database query methods
# Jul 7th 2018, 14:08 drgn when using ->execute, the timestamps in my table return as strings, and not FrozenTime. How do I return FrozenTime instead of string?
# Jul 7th 2018, 13:10 braeden That's unusual, has nothing to do with Cake though, unless someone slipped in a sleep(21); into the repo
# Jul 7th 2018, 11:21 joopm in the config/app.php i setup the exact database server address 127.0.0.1
# Jul 7th 2018, 11:20 joopm i setup a new cake project on my localhost,but its extremely slow its takes 21s to load a page(with one single query)
# Jul 7th 2018, 11:19 joopm hello