# |
Oct 22nd 2019, 08:23 |
tokam |
2.9.0 |
# |
Oct 22nd 2019, 08:23 |
tokam |
//////////////////////////////////////////////////////////////////////////////////////////////////// |
# |
Oct 22nd 2019, 08:10 |
admad |
tokam: i highly doubt you are using "0.2.9", what's the actual version? |
# |
Oct 22nd 2019, 07:55 |
tokam |
can you please confirm that this is the correct bugfix? If possible maybe also add me to contributors, unless this is way too much to ask? |
# |
Oct 22nd 2019, 07:55 |
tokam |
In CookieComponent.php |
# |
Oct 22nd 2019, 07:55 |
tokam |
if ( (!isset($this->_values[$this->name][$firstName]) || $this->_values[$this->name][$firstName] == '') andand $isMultiValue) { |
# |
Oct 22nd 2019, 07:55 |
tokam |
and replaced it by this one |
# |
Oct 22nd 2019, 07:55 |
tokam |
if |
# |
Oct 22nd 2019, 07:55 |
tokam |
f ( (!isset($this->_values[$this->name][$firstName]) ) andand $isMultiValue) { |
# |
Oct 22nd 2019, 07:55 |
tokam |
We changed this line ... |
# |
Oct 22nd 2019, 07:48 |
jotpe |
Morning |
# |
Oct 22nd 2019, 07:42 |
kgb.acct.personal |
In CakePHP 2, what's the proper way to render exceptions as JSON? |
# |
Oct 22nd 2019, 07:01 |
tokam |
maybe in a previous version a string was used, and it is still serialized in a cookie? |
# |
Oct 22nd 2019, 07:01 |
tokam |
$value |
# |
Oct 22nd 2019, 07:01 |
tokam |
); |
# |
Oct 22nd 2019, 07:01 |
tokam |
$names[1], |
# |
Oct 22nd 2019, 07:01 |
tokam |
$this->_values[$this->name][$firstName], |
# |
Oct 22nd 2019, 07:01 |
tokam |
$this->_values[$this->name][$firstName] = Hash::insert( |
# |
Oct 22nd 2019, 07:00 |
tokam |
This parameter comes from your framework. Not from a Controller using your function. It is an internal parameter. |
# |
Oct 22nd 2019, 07:00 |
tokam |
08w/\xB5Bo"\x7F\xBD\xF6...', 'utm_source', 'mydomain.de SK...') |
# |
Oct 22nd 2019, 07:00 |
tokam |
fatal error: Uncaught TypeError: Argument 1 passed to Hash::insert() must be of the type array, string given, called in /var/www/vhosts/mydomain.de/httpdocs/lib/Cake/Controller/Component/CookieComponent.php on line 245 and defined in /var/www/vhosts/mydomain.de/httpdocs/lib/Cake/Utility/Hash.php:257 Stack trace: #0 /var/www/vhosts/mydomain.de/httpdocs/lib/Cake/Controller/Component/CookieComponent.php(245): Hash::insert('\xBA\x8F\xB6%'\x |
# |
Oct 22nd 2019, 06:59 |
tokam |
Hi, I am having this problem after the update to Version 0.2.9 |
# |
Oct 22nd 2019, 05:53 |
alexdd55976 |
Morning |
# |
Oct 22nd 2019, 05:01 |
adam282 |
That depends… |
# |
Oct 22nd 2019, 04:47 |
Fastidius |
anyone here? |
# |
Oct 22nd 2019, 02:41 |
joechua |
can anyone help me with crud-json-api |
# |
Oct 22nd 2019, 02:41 |
joechua |
hello |
# |
Oct 21st 2019, 19:44 |
admad |
@devito `$this->Paginator->options(['url' => [...]])` |
# |
Oct 21st 2019, 19:30 |
devito |
in the paginator helper, is there a way to pass additioanl data info to the links? i want to presist a posted form variable with each paged link i click |
# |
Oct 21st 2019, 17:36 |
night_wulfe |
@admad Thanks. Anything you see immediately wrong, or could be improved, with this? https://pastebin.com/1FESVLgg |
# |
Oct 21st 2019, 17:35 |
ron.rattie |
heyo! |
# |
Oct 21st 2019, 17:35 |
ricksaccous |
lollll |
# |
Oct 21st 2019, 17:35 |
ricksaccous |
I'm up front bby, same as with the ladies you know |
# |
Oct 21st 2019, 17:35 |
ron.rattie |
ah crap.. you're no fun |
# |
Oct 21st 2019, 17:35 |
ricksaccous |
;) |
# |
Oct 21st 2019, 17:35 |
ricksaccous |
@ron.rattie it's not a secret, lol |
# |
Oct 21st 2019, 17:34 |
ron.rattie |
@ricksaccous I'm gonna rat you out |
# |
Oct 21st 2019, 17:33 |
admad |
Better to have that complexity tucked inside a custom finder rather than anywhere else :) |
# |
Oct 21st 2019, 17:32 |
night_wulfe |
Thanks. Whenever I do that i always seem to end up writing a lot of code that tries to merge whatever options the user sends with whatever my defaults are and it just seems overly complicated; I feel like I'm doing something wrong. |
# |
Oct 21st 2019, 17:32 |
admad |
Ah you are asking *if* it is a good idea, sure nothing wrong with that |
# |
Oct 21st 2019, 17:31 |
admad |
@night_wulfe did you try just passing custom key like your 1st example? |