Log message #4123555

# At Username Text
# Mar 10th 2018, 12:37 admad is the 'fk' => $entity->id supposed to endup in URLs query string?
# Mar 10th 2018, 12:30 bravo-kernel @admad would you mind taking a quick look at this one-line PR? https://github.com/FriendsOfCake/crud-json-api/pull/26/files. Tests pass and looks ok but I would prefer confirmation before merging
# Mar 10th 2018, 12:17 admad thanks
# Mar 10th 2018, 12:07 steinkel sure, I'll do that
# Mar 10th 2018, 12:06 admad and please submit to awesome list if it's not already there :slightly_smiling_face:
# Mar 10th 2018, 12:06 gsitex @admad :+1:
# Mar 10th 2018, 12:06 admad @steinkel perhaps the plugin should be suggested in error message here https://github.com/cakephp/app/blob/master/config/requirements.php#L31
# Mar 10th 2018, 12:05 gsitex I am not a fan of modifying files in `vendor` folder. But it's a hack anyway.
# Mar 10th 2018, 12:05 gsitex @steinkel `use IntlCalendar as IC;` fixed the issue ;)
# Mar 10th 2018, 12:00 steinkel ok, if you get issues feel free to throw us a ticket, thanks
# Mar 10th 2018, 11:59 gsitex @steinkel ty, I have just installed `cakedc/intl`. I will try to figure out how it works.
# 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: