# |
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 |
# |
Jun 27th 2018, 17:50 |
dwms |
how to replace null to empty |
# |
Jun 27th 2018, 14:54 |
Martin` |
think you need to make a custom validationrule for that |
# |
Jun 27th 2018, 14:51 |
tim |
Any way to validate uniqueness of email addresses with multiple tables? Using 3.2 so don't have the second `$options` parameter in the construct of IsUnique https://api.cakephp.org/3.3/class-Cake.ORM.Rule.IsUnique.html |
# |
Jun 27th 2018, 14:37 |
Martin` |
Don't know if it is the correct way, I had to do it fast |
# |
Jun 27th 2018, 14:37 |
Martin` |
hmm it is just an extension of JsonView, so I think 'Json' instead of 'Api' :P |
# |
Jun 27th 2018, 14:36 |
Martin` |
or is Api a own viewClass? |
# |
Jun 27th 2018, 14:35 |
Martin` |
I just added "$this->viewBuilder()->className('Api');" in beforeRender of appcontroller, also exceptions are in json format |
# |
Jun 27th 2018, 14:32 |
magiq |
$router->setExtensions ? |
# |
Jun 27th 2018, 14:32 |
magiq |
I dont understand |
# |
Jun 27th 2018, 14:31 |
dereuromark |
yeah you dont have the best URL it seems |
# |
Jun 27th 2018, 14:30 |
magiq |
action.json ? |
# |
Jun 27th 2018, 14:29 |
dereuromark |
using the proper extension :slightly_smiling_face: action.json |
# |
Jun 27th 2018, 14:29 |
magiq |
for rest api |
# |
Jun 27th 2018, 14:29 |
magiq |
how to make cakephp return exceptions in json ? |
# |
Jun 27th 2018, 14:22 |
Martin` |
can not response to that |
# |
Jun 27th 2018, 14:21 |
Martin` |
I only recieved a push notification of a reply on my phone :P |
# |
Jun 27th 2018, 14:21 |
Martin` |
then I did refresh, and then I was fully lost :( |
# |
Jun 27th 2018, 14:21 |
Martin` |
yes me too |
# |
Jun 27th 2018, 14:21 |
NeoThermic|Work |
even though I was connected |
# |
Jun 27th 2018, 14:21 |
NeoThermic|Work |
I was having issues sending messages on another slack team |
# |
Jun 27th 2018, 14:20 |
NeoThermic|Work |
for various values of "still work" |
# |
Jun 27th 2018, 14:20 |
Martin` |
ah existing connectinos still work? :P |
# |
Jun 27th 2018, 14:20 |
NeoThermic|Work |
https://status.slack.com/ |
# |
Jun 27th 2018, 14:20 |
NeoThermic|Work |
the connection gateway is having issues :P |
# |
Jun 27th 2018, 14:20 |
Martin` |
in the past when we used irc, we never had problems like that |
# |
Jun 27th 2018, 14:19 |
Martin` |
you guys are still on slack? how do you do that, mine does not want to connect |
# |
Jun 27th 2018, 14:19 |
neon1024 |
Thanks |
# |
Jun 27th 2018, 14:18 |
NeoThermic|Work |
https://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html#operator_json-column-path |
# |
Jun 27th 2018, 14:18 |
adriencs |
but the "JSON" type does not exist with MariaDB, it's a "LONGTEXT" so cakephp have some trouble |
# |
Jun 27th 2018, 14:17 |
adriencs |
or MariaDB 10.3 |
# |
Jun 27th 2018, 14:16 |
NeoThermic|Work |
neon1024: you'd need MySQL 8 to get the super awesome JSON stuff... |