# |
Jan 29th 2014, 15:13 |
dereuromark |
why not $account[Acccount] |
# |
Jan 29th 2014, 15:13 |
dereuromark |
why $this->request->data['Account'] |
# |
Jan 29th 2014, 15:11 |
vikky |
dereuromark: didnt' get u.....:( |
# |
Jan 29th 2014, 15:10 |
vikky |
U can have a look at this my github url https://github.com/vixy410/lsm/blob/master/View/Emails/html/new_lead.ctp |
# |
Jan 29th 2014, 15:09 |
vikky |
the main thing is that i am not able to fetch data from other tables |
# |
Jan 29th 2014, 15:08 |
vikky |
mine-me: line 17 is also like this |
# |
Jan 29th 2014, 15:07 |
vikky |
deruromark: i made a seperate template in view/Mails/html/view.ctp |
# |
Jan 29th 2014, 15:05 |
mini-me |
me |
# |
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? |