We are using CakePHP 2.2.3. We moved the tmp folder from /app/tmp to /tmp (to
the same level of /app). So we removed the /app/tmp folder and we added
these lines to /app/webroot/index.php:
//We like the TMP folder outside the app folder!
define('TMP',
I experienced a similar issue, basically it was impossible to define TMP in
cake.php. The below patch has being merged into the 2.4 branch.
https://github.com/cakephp/cakephp/commit/9c113247de151a15340231013926ed08fd8f61ee
On Tue, Jun 25, 2013 at 6:22 AM, Chris Cinelli