# |
Mar 10th 2018, 11:58 |
steinkel |
@gsitex there must be another class in the include path with the same name |
# |
Mar 10th 2018, 11:57 |
steinkel |
I've used it to bypass some shared hosting restrictions |
# |
Mar 10th 2018, 11:57 |
gsitex |
``` PHP Fatal error: Cannot use IntlCalendar as IntlCalendar because the name is already in use in /home/cigar/prices.cigarworld.com.au/vendor/cakedc/intl/src/IntlGregorianCalendar.php on line 14 ``` |
# |
Mar 10th 2018, 11:56 |
steinkel |
@gsitex @admad cakedc/intl works if you don't need multiple languages |
# |
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]); }); } |