Log message #3148905

# At Username Text
# Jan 29th 2014, 15:05 mini-me looks like a typo to met
# Jan 29th 2014, 15:05 mini-me all other lines are echo __(), line 12 is h($this->request->data)
# Jan 29th 2014, 15:04 dereuromark vikky: that doesnt look good to me. if that is a view, why not using the record instead of using the request object data
# Jan 29th 2014, 15:04 mini-me cannot use ... in return value?
# Jan 29th 2014, 15:04 mini-me exactly what error on line 1?
# Jan 29th 2014, 15:01 vikky hey in my mail i am getting errors in line 1 and line 12 .Plz pelp me with this http://bin.cakephp.org/view/1799965655
# Jan 29th 2014, 14:45 mini-me why does cakephp set error reporting to 0? when debug = 2?
# Jan 29th 2014, 14:39 jschwartz say I have 4 related posts, and they can be summed for a specific field to say 42
# Jan 29th 2014, 14:39 jschwartz hello, I'd like to sum floats in a related model, anyone knows how this is done in a nice way?
# Jan 29th 2014, 14:37 halim i'm starting to get desperate
# Jan 29th 2014, 14:37 halim any ideas on how to solve the problem?
# Jan 29th 2014, 14:37 halim am i missing something, did i do something wrong?
# Jan 29th 2014, 14:37 halim okay, so i'm still stuck with the allocation error: it occurs when a 20mb file is being uploaded through a form. the error seems to be coming from Model::save(). i've overridden FileUpload::save() in order to save the file in correctly into the database (http://pastebin.com/Qc2dJAus).
# Jan 29th 2014, 14:31 Neon1024 Recursion!
# Jan 29th 2014, 14:31 siver ACTION slaps himself
# Jan 29th 2014, 14:31 siver so stupid
# Jan 29th 2014, 14:31 siver jeez, why did I not think of that.
# Jan 29th 2014, 14:29 jose_zap clone the cakephp repo and move the tmp file from that folder into your project
# Jan 29th 2014, 14:27 siver isn't there some easier way to make this work as to me having to make every folder from scratch, basically recreating the whole cache structure
# Jan 29th 2014, 14:26 siver Right, so I'm still digging through this caching issue. Apparently I am missing LOADS of directories inside my cache directory (I did not have one at the time I cloned the project through git)
# Jan 29th 2014, 14:04 mini-me ah sweet! thanks! ;)
# Jan 29th 2014, 14:03 mini-me agh, i didn't think of that, I'll check the demo app in core!! thanks!!
# Jan 29th 2014, 14:03 dereuromark and $this->Html->script() etc
# Jan 29th 2014, 14:03 dereuromark see the layouts in core
# Jan 29th 2014, 14:03 dereuromark $this->fetch(script)
# Jan 29th 2014, 14:02 mini-me hey guys, in cake 2, how do I use the "$script_for_layout" variable, I want to include a javascript file for this one page only (but I want the javascript to be inserted into the <head>)
# Jan 29th 2014, 13:33 halim i just upgraded the virtual machine's ram from 512 MB to 1 GB, still getting the same error
# Jan 29th 2014, 13:27 halim and the virtual machine has a total of 512 MB of ram
# Jan 29th 2014, 13:27 halim inside virtualbox
# Jan 29th 2014, 13:27 jose_zap no idea then :S
# Jan 29th 2014, 13:27 halim well almost, it's a virtual machine
# Jan 29th 2014, 13:27 halim yeah
# Jan 29th 2014, 13:27 jose_zap so, your local machine?
# Jan 29th 2014, 13:27 halim my own
# Jan 29th 2014, 13:27 halim i've tested with a 10 MB file as well and it worked perfectly fine
# Jan 29th 2014, 13:27 jose_zap is that your own server or a shared one?
# Jan 29th 2014, 13:26 halim any ideas?
# Jan 29th 2014, 13:26 halim i don't understand why it can't allocate 21550788 bytes (around 20 MB) even though the server has 300 MB available
# Jan 29th 2014, 13:25 halim and debug(ini_get('memory_limit')); also prints 300M
# Jan 29th 2014, 13:25 halim the content of .htaccess is also attached to that text
# Jan 29th 2014, 13:24 halim hello, i'm getting this error message when trying to upload a 20mb file through a form: http://pastebin.com/Sc81Z0Q6