# |
Dec 19th 2017, 08:40 |
hmic |
if you want to specify them in the config array the keys used are: ssl_key, ssl_cert and ssl_ca, the last being optional |
# |
Dec 19th 2017, 08:37 |
hmic |
aro: you can just add the requried ssl options to the connect string (url) |
# |
Dec 19th 2017, 08:36 |
heke |
@aro command goes something like this, ssh -fN -L 3320:{ip_addess}:3306 user@subdomain.remote-host.com , I am sure google helps you |
# |
Dec 19th 2017, 08:35 |
hmic |
totally different story! |
# |
Dec 19th 2017, 08:35 |
hmic |
this is mysql through an ssh tunnel |
# |
Dec 19th 2017, 08:35 |
hmic |
this is not mysql with ssl |
# |
Dec 19th 2017, 08:35 |
hmic |
slaps heke |
# |
Dec 19th 2017, 08:35 |
mamchenkov |
I think I'm misunderstanding something about the log configuration ... I thought 'levels' should limit the messages to specific levels, ignoring the rest |
# |
Dec 19th 2017, 08:34 |
heke |
we are using cake 2 and DB over SSL ... totally non cake issue ... you set up ssh connection with ssh command .... you connect cake to locahost port which in fact is forwarded via SSH connection to remote host ... Is that what you are searching ? , @aro |
# |
Dec 19th 2017, 08:29 |
mamchenkov |
hello all :) |
# |
Dec 19th 2017, 07:18 |
joop |
good morning to all community members |
# |
Dec 19th 2017, 06:08 |
braeden |
,:) |
# |
Dec 19th 2017, 06:08 |
braeden |
@admad I thought so, but then again I saw a blog post which was using the Paginator Component within a Cell, to which I asked myself 'did he read the cookbook?!' |
# |
Dec 19th 2017, 04:22 |
aro |
i know it was there in 2.0 |
# |
Dec 19th 2017, 04:13 |
aro |
does cake support ssl db connections? |
# |
Dec 19th 2017, 04:09 |
aro |
anyone kn ow |
# |
Dec 19th 2017, 03:49 |
aro |
how do i get Cake to use SSL on a db connection? |
# |
Dec 19th 2017, 03:39 |
admad |
yes |
# |
Dec 19th 2017, 02:19 |
braeden |
Is it bad practice to use a Component inside a Cell? |
# |
Dec 18th 2017, 22:45 |
meder |
how come i defined a _getEditablePair method in my entity but it doesn't trigger when I do $this->Form->control('editablepair') in the template? does it only trigger if you access it directly? eg $entity->editablepair |
# |
Dec 18th 2017, 22:32 |
joop |
idont find in the debug include tab |
# |
Dec 18th 2017, 22:32 |
joop |
i need to check which validation rule was loaded,how can i do that? |
# |
Dec 18th 2017, 21:43 |
rafael.junqueira.sant |
It worked just fine, thank you, @admad. It was a relief not having to deal with joins, pretty simple and beautiful. |
# |
Dec 18th 2017, 20:41 |
tomicapo |
Of course, there must be different features on different plugins, but I need it for simple user management with roles and permissions. |
# |
Dec 18th 2017, 20:39 |
tomicapo |
Hi. I want to see your opinion. Is the CakeDC Users Plugin the best one around? |
# |
Dec 18th 2017, 20:36 |
birdy247 |
@bravo-kernel thanks |
# |
Dec 18th 2017, 18:27 |
rafael.junqueira.sant |
thank you, I'll read. |
# |
Dec 18th 2017, 18:27 |
admad |
@rafael.junqueira.sant setup association https://book.cakephp.org/3.0/en/orm/associations.html then use contain() when querying table https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#eager-loading-associations-via-contain |
# |
Dec 18th 2017, 18:26 |
joop |
commenting out this line shows no error |
# |
Dec 18th 2017, 18:26 |
joop |
echo $this->Form->control($index.'.points',['label'=>(__('Points:'))]); |
# |
Dec 18th 2017, 18:25 |
joop |
ohm that really interesting,i dig into deeper myself,its shows something in the template |
# |
Dec 18th 2017, 18:24 |
rafael.junqueira.sant |
hey, can someone help me? I've been searching for a while and can't find a solution on how to retrieve data from multiple tables with the orm. |
# |
Dec 18th 2017, 18:19 |
joop |
Call to undefined function App\Model\Table\ValidPoint() |
# |
Dec 18th 2017, 18:19 |
joop |
by the model's add page when try to create new record |
# |
Dec 18th 2017, 18:15 |
hmic |
where when how |
# |
Dec 18th 2017, 18:15 |
joop |
keep getting call to undefinied function |
# |
Dec 18th 2017, 18:15 |
joop |
$validator->setProvider('costume','App\Model\Rule\ValidPoint\ValidPoint'); |
# |
Dec 18th 2017, 18:07 |
inoas |
fixed @ admad |
# |
Dec 18th 2017, 18:05 |
joop |
also tried $validator->setProvider('rr','App\Model\Rule\ValidPoint\ValidPoint'); |
# |
Dec 18th 2017, 18:05 |
joop |
in the model file i use this : $validator->setProvider('costume','App\Model\Rule\ValidPoint'); |
# |
Dec 18th 2017, 18:04 |
joop |
hmic i followed your instructions, namespace correct in validation file,located in the modele\rule folder |