# |
Sep 22nd 2011, 11:42 |
DidItAgain |
Ill try running it without that statement then? |
# |
Sep 22nd 2011, 11:41 |
fenix` |
DidItAgain: it could be the $this->InstalledBase->create(array()); |
# |
Sep 22nd 2011, 11:41 |
dakota |
DidItAgain: why would it create a problem? |
# |
Sep 22nd 2011, 11:41 |
DidItAgain |
it saves properly, and deletes properly no problems there.. |
# |
Sep 22nd 2011, 11:41 |
DidItAgain |
that wont create a problem? |
# |
Sep 22nd 2011, 11:41 |
DidItAgain |
Im doing a loadModel at the beggining of the function |
# |
Sep 22nd 2011, 11:41 |
ujjain |
just make a fake entry so no sensitive data. |
# |
Sep 22nd 2011, 11:40 |
ujjain |
debug($this->data) and show it. |
# |
Sep 22nd 2011, 11:40 |
ujjain |
13:06 < dakota> DidItAgain: to make it easy you name your post variables "data[server]", "data[vendor]", etc. DidItAgain: and then a simple $this->InstalledBase->save($this->data); is needed |
# |
Sep 22nd 2011, 11:40 |
DidItAgain |
they are the same names that I have my table columns |
# |
Sep 22nd 2011, 11:40 |
DidItAgain |
yes |
# |
Sep 22nd 2011, 11:39 |
dakota |
DidItAgain: Do you have much control over what the field names are? |
# |
Sep 22nd 2011, 11:39 |
dakota |
DidItAgain: I've already told you what to do |
# |
Sep 22nd 2011, 11:39 |
DidItAgain |
D: |
# |
Sep 22nd 2011, 11:39 |
ADmad |
DidItAgain: that wasnt a very wise thing to do |
# |
Sep 22nd 2011, 11:38 |
DidItAgain |
http://bin.cakephp.org/view/681202240 |
# |
Sep 22nd 2011, 11:38 |
DidItAgain |
fenix |
# |
Sep 22nd 2011, 11:38 |
ujjain |
also bin $this->data, |
# |
Sep 22nd 2011, 11:38 |
DidItAgain |
!bin |
# |
Sep 22nd 2011, 11:38 |
DidItAgain |
1 sec |
# |
Sep 22nd 2011, 11:38 |
DidItAgain |
ill bin it |
# |
Sep 22nd 2011, 11:38 |
fenix` |
whats the query, is it an insert? |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
ACTION slaps ADmad around a bit with a large trout |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
so all of my requests and responses are in AJAX |
# |
Sep 22nd 2011, 11:37 |
fenix` |
oh right... |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
I use ExtJS for the frontend |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
yes |
# |
Sep 22nd 2011, 11:37 |
ujjain |
I don't think DidITAgain can bake it, since he uses Ajax requests. |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
-.- |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
! |
# |
Sep 22nd 2011, 11:37 |
fenix` |
bake it! |
# |
Sep 22nd 2011, 11:36 |
DidItAgain |
even though my id is set |
# |
Sep 22nd 2011, 11:36 |
DidItAgain |
my controller does a save instead of an update |
# |
Sep 22nd 2011, 11:36 |
fenix` |
with? |
# |
Sep 22nd 2011, 11:36 |
DidItAgain |
guys, anyone willing to help me out here? |
# |
Sep 22nd 2011, 11:36 |
freshman66 |
Forgot to mention that the string is passed without being translated and that otherwise translation is working fine. |
# |
Sep 22nd 2011, 11:35 |
fenix` |
i reckon they should have cake bake an auth system in, if it detects a suitable users table |
# |
Sep 22nd 2011, 11:35 |
freshman66 |
Hi all. Does one of you know at which point exactly gettext translation kicks in? I'm having a problem with a translation string which sits within a config file. It's beeing loaded in the pages controller and then passed to the template with "set". Silly problem, really, but I'm running out of ideas... Any help appreciated :-) |
# |
Sep 22nd 2011, 11:33 |
dakota |
Oldskool: http://en.wikipedia.org/wiki/Unobtrusive_JavaScript |
# |
Sep 22nd 2011, 11:33 |
dakota |
onClick? :/ |
# |
Sep 22nd 2011, 11:33 |
fenix` |
i just have a col in the user db called privs |