Log message #4154342

# At Username Text
# Jun 28th 2018, 08:35 josbeir hm
# Jun 28th 2018, 08:35 josbeir alright
# Jun 28th 2018, 08:35 josbeir where are you setting that var?
# Jun 28th 2018, 08:35 kunalspunjabi setting the variable in appController::beforeFilter(): ```$this->set('cake123', "cake123"); ```
# Jun 28th 2018, 08:34 kunalspunjabi ```Notice (8): Undefined variable: cake123 [APP/View/Layouts/default.ctp, line 115] ```
# Jun 28th 2018, 08:34 kunalspunjabi @josbeir I tried "cake123", same issue
# Jun 28th 2018, 08:34 saeideng :+1:
# Jun 28th 2018, 08:34 josbeir time for some extra coffee
# Jun 28th 2018, 08:34 josbeir tnx @dereuromark @saeideng
# Jun 28th 2018, 08:33 josbeir but cake2 de-camelcases stuff, bit lame :P
# Jun 28th 2018, 08:33 kunalspunjabi oh
# Jun 28th 2018, 08:33 josbeir you used isProduction
# Jun 28th 2018, 08:33 kunalspunjabi @josbeir thanks for the response - what did you mean by is_production. That's what I was using
# Jun 28th 2018, 08:33 josbeir yeah just started my day and last time i checked it didnt happen :)
# Jun 28th 2018, 08:32 saeideng :face_with_rolling_eyes:
# Jun 28th 2018, 08:32 saeideng about 17 hours ago
# Jun 28th 2018, 08:32 josbeir haha
# Jun 28th 2018, 08:32 josbeir ow didnt see :)
# Jun 28th 2018, 08:32 josbeir ah
# Jun 28th 2018, 08:32 saeideng now is 0.1.2
# Jun 28th 2018, 08:32 josbeir no, i fixed a small but important issue yesterday
# Jun 28th 2018, 08:31 saeideng why whoops needs a new release ?
# Jun 28th 2018, 08:31 josbeir @kunalspunjabi late reply, but try is_production, i believe cake 2 does some inflector stuff on those variables back then
# Jun 28th 2018, 08:30 josbeir @dereuromark care to tag a new rls for your whoops plugin?
# Jun 28th 2018, 07:57 birdy247 Yes it is I see :slightly_smiling_face:
# Jun 28th 2018, 07:56 birdy247 Is it possible for a template to overide the layout set in the controller?
# Jun 28th 2018, 07:42 adriencs Where do you assign *$this->isProduction* ?
# Jun 28th 2018, 07:19 mohitprakashsharma555 pagli rulayegi kya ab
# Jun 28th 2018, 07:18 sharnaaysha23 I solve my problem ..It was database user permission problem. Thank you @tim :grinning:
# Jun 28th 2018, 06:22 lubos Morning All, when I do have ids for belongsToMany association and what to save can I set _ids with entity or I can do it only before marshall?
# Jun 28th 2018, 04:48 kunalspunjabi By the way, this is what I have in my AppController: ``` $this->set('isProduction',$this->isProduction);``` However, accessing the variable from my default template doesn't seem to work: ```<?php if ($isProduction) { ?>``` Any idea why?
# Jun 28th 2018, 04:46 kunalspunjabi Hope this isn't too confusing, I tried my best to be crystal in my description above. Has anyone faced this problem?
# Jun 28th 2018, 04:46 kunalspunjabi It works fine with a skeleton cake2 app, but not with the one where I migrated my 1.3 app into the 2.0 skeleton
# Jun 28th 2018, 04:45 kunalspunjabi For the life of me I can't figure out why I can't pass variables from my app controller to my default template.
# Jun 28th 2018, 04:44 kunalspunjabi File uploaded https://cakesf.slack.com/files/UBEM7BEKS/FBFGETE1K/image.png / https://slack-files.com/T053DPNCM-FBFGETE1K-fce5964728
# Jun 28th 2018, 04:44 kunalspunjabi I've had an old unmaintained app on Cake 1.3 that I've been trying to migrate to 2.0. 1. I tried the Upgrade shell, which ran, but then the app wasn't loading, so I started from scratch with a manual upgrade of my 1.3 app to 2.0 2. After moving all the models, views, controllers, components, helpers etc from my 1.3 app to my "skeleton" 2.0 app, I get this:
# Jun 27th 2018, 19:36 meder what controller / namespace structure would be loaded if the prefix is 'foo' and action is 'index'? i have plugins/Foo/src/Controller/FooController.php::index defined but it doesn't seem to load that controller
# Jun 27th 2018, 19:26 davinci Want to see all SQL queries run during an ajax call (in cake2). I know it's simple w/ Cake 3 now, but - any reasonably simple way to do it in cake2?
# Jun 27th 2018, 19:09 meder im using multidimensional/cakephp-subdomains - but i can't seem to bind the homepage to a specific controller with a subdomain. anyone use this plugin before?
# Jun 27th 2018, 17:50 dwms ??
# Jun 27th 2018, 17:50 dwms json response