# |
Mar 10th 2018, 11:45 |
admad |
i feel ya |
# |
Mar 10th 2018, 11:44 |
gsitex |
@admad It's complicated. |
# |
Mar 10th 2018, 11:40 |
admad |
@gsitex no chance explaining to the client he's using a shitty hoster? |
# |
Mar 10th 2018, 11:38 |
gsitex |
@admad ty, I will try that. I really don't want to use L*** Framework instead of Cake |
# |
Mar 10th 2018, 11:37 |
admad |
@gsitex https://github.com/cakedc/intl not sure in what state that plugin is though |
# |
Mar 10th 2018, 11:09 |
turkles |
gives me errors saying the id column doesn't exist, but it does.. and I can see it in the query if I debug, but fails execution. foreign key is a different value than id.. |
# |
Mar 10th 2018, 11:08 |
turkles |
$this->query=$this->Factions->find()->where(['Factions.id' => $this->fac]); foreach($updatelist as $this->target_type) { if (empty($this->factionUpdate[$this->fac][$this->target_type])) $this->factionUpdate[$this->fac][$this->target_type]=0; $this->query->contain($this->target_type,function ($q) { return $q->where([$this->target_type.'.id' => $this->factionUpdate[$this->fac][$this->target_type]]); }); } |
# |
Mar 10th 2018, 11:08 |
turkles |
Now can anyone help me with constraints in a contain in 3.5? |
# |
Mar 10th 2018, 11:07 |
turkles |
https://help.dreamhost.com/hc/en-us/articles/214893957-How-do-I-enable-PHP-extensions-and-loaders- |
# |
Mar 10th 2018, 11:07 |
turkles |
yup |
# |
Mar 10th 2018, 10:56 |
gsitex |
I will try that. |
# |
Mar 10th 2018, 10:56 |
gsitex |
`extension = intl.so` in phprc? |
# |
Mar 10th 2018, 10:44 |
turkles |
my host allows phprc files for that, but has nothing in cPanel |
# |
Mar 10th 2018, 10:44 |
turkles |
support said no? :P |
# |
Mar 10th 2018, 10:41 |
gsitex |
I will port my app to L*** Framework. It doesn't need `Intl. |
# |
Mar 10th 2018, 10:40 |
gsitex |
@turkles This is client's hosting located. I don't remember the name. Usually it's possible to select extensions in cPanel. But not in this case. I don't see such options in cPanel :( |
# |
Mar 10th 2018, 10:37 |
turkles |
@gsitex which host? There are usually workarounds |
# |
Mar 10th 2018, 10:02 |
birdy247 |
I I am extending Helper B from Helper A, and Helper B has some default config, but I want to add a bit more in Helper A and also inherit all of the config from Helper B, would I need to essentially copy/paste the $_defaultCofnig from helper B? |
# |
Mar 10th 2018, 09:17 |
bravo-kernel |
@birdy247 nope |
# |
Mar 10th 2018, 09:17 |
gsitex |
My Shared Hosting is too poor with PHP configs :( |
# |
Mar 10th 2018, 09:17 |
birdy247 |
@bravo-kernel Thats very good. Can you use it on a client project to make the money back? |
# |
Mar 10th 2018, 09:16 |
gsitex |
Can I run CakePHP without intl extenstion? |
# |
Mar 10th 2018, 09:15 |
gsitex |
Hey all |
# |
Mar 10th 2018, 09:15 |
bravo-kernel |
These two features have been open for too long and I simply don't have the time right now to invest but... the plugin is worth it so I figured.. give something back this time |
# |
Mar 10th 2018, 09:14 |
bravo-kernel |
It is indeed an incentive |
# |
Mar 10th 2018, 09:14 |
rchavik |
:slightly_smiling_face: |
# |
Mar 10th 2018, 09:14 |
rchavik |
i hope so, i'm working on #2 right this moment |
# |
Mar 10th 2018, 09:07 |
birdy247 |
Why he cash incentive? |
# |
Mar 10th 2018, 09:06 |
birdy247 |
Looks like you might be owing someone some $$ soon... maybe yourself ;) |
# |
Mar 10th 2018, 09:05 |
birdy247 |
@bravo-kernel lol |
# |
Mar 10th 2018, 09:04 |
birdy247 |
Morning |
# |
Mar 10th 2018, 08:19 |
bravo-kernel |
https://twitter.com/bravo_kernel/status/972385939338289153 |
# |
Mar 10th 2018, 08:19 |
bravo-kernel |
https://twitter.com/bravo_kernel/status/972385308632342528 |
# |
Mar 10th 2018, 06:01 |
beatricz.emmanuel |
i am trying to complete the bookmarker tutorial and the findTagged() method is not displaying anything |
# |
Mar 10th 2018, 01:45 |
turkles |
annoyingly count() gives me result of 1.. it's only on execution it dies |
# |
Mar 10th 2018, 00:56 |
slackebot |
Action: turkles waits for someone to wake up |
# |
Mar 9th 2018, 23:58 |
turkles |
$query=$this->Factions->find()->where(['Factions.id' => $this->fac]); foreach($updatelist as $this->target_type) { $query->contain($this->target_type, function ($q) { return $q->where([$this->target_type.'.id >' => $this->factionUpdate[$this->fac][$this->target_type],'faction_id' => $this->fac]); }); } |
# |
Mar 9th 2018, 23:57 |
turkles |
Anyone used contain constraints in 3.5? I keep getting errors that my id column is not found, but I can see it when I debug the query as the defaultTypes part |
# |
Mar 9th 2018, 20:32 |
joopm |
okey thank i take a look |
# |
Mar 9th 2018, 20:31 |
watermark |
Here's some logic I've used to pull the messages out, see if this helps out all. https://gist.github.com/watermark/8ca96c84ccd9c80b214174bb988ab0a2 |
# |
Mar 9th 2018, 20:28 |
joopm |
rule message |