CakePHP and jQuery problems.

Reading time ~1 minute

This issue plagued me for way longer than it should. Due to lack of documentation online I figured it would be best to represent it here.

I kept getting Black-holed. The most common answer I found online was to disable security altogether. (Seriously, don't do that). Rather, the correct answer via consensus in the #CakePHP IRC, as well as multiple other hidden forum posts was to disable it on a per hidden field basis.

Easy answer. Make this:

echo $this->Form->input('w', array('type' => 'hidden'));
Into this:

echo $this->Form->input('w', array('type' => 'hidden', 'security => false));
(The last one didn't work for me as was vastly suggested, but the following worked for me and should be an alternate)

<? $this->Form->unlockField('Purchase.x');
Happy coding!

Quick Laravel/Lumen install with Docker!

The default installer that comes with Laravel is great, but unfortunately that means you have to install dependencies of PHP and Laravel/...… Continue reading

PHP To Python

Published on February 24, 2016

Aftertouch in Logic Pro X and 2015 Macbook Pro

Published on February 24, 2016