# |
Sep 22nd 2011, 00:35 |
Bemcapaz |
I was trying zend server CE + zend studio 8 but having some problems |
# |
Sep 22nd 2011, 00:35 |
Bemcapaz |
hey, with IDE do you guys find out to be the best to use with CAKEPHP? |
# |
Sep 22nd 2011, 00:31 |
cpgo |
where is matchPasswords defined |
# |
Sep 22nd 2011, 00:29 |
Brazilian |
please, any help, it says nothing, just accepts when I set 2 different passwords |
# |
Sep 22nd 2011, 00:29 |
Brazilian |
you guys, my passwords wont validate if they match, any ideas why ?? The model: http://bin.cakephp.org/view/1366414480 and the view: http://bin.cakephp.org/view/122810921 |
# |
Sep 21st 2011, 23:56 |
daVinciWanaB |
maybe i don't have logs turned on or something? |
# |
Sep 21st 2011, 23:55 |
cpgo |
ACTION shrugs |
# |
Sep 21st 2011, 23:55 |
cpgo |
it should log it tho hm |
# |
Sep 21st 2011, 23:55 |
cpgo |
was gonna suggest putting debug off quickly to see what it was |
# |
Sep 21st 2011, 23:55 |
cpgo |
yea |
# |
Sep 21st 2011, 23:55 |
daVinciWanaB |
but gives that error since we're in production mode |
# |
Sep 21st 2011, 23:55 |
daVinciWanaB |
cpgo: appears it was just missing a helper file |
# |
Sep 21st 2011, 23:52 |
cpgo |
have you messed with routes? do other urls work? |
# |
Sep 21st 2011, 23:52 |
Jonah11_ |
daVinciWanaB, ok thx |
# |
Sep 21st 2011, 23:52 |
daVinciWanaB |
jonah11_ - i don't even know what that means honestly |
# |
Sep 21st 2011, 23:50 |
Jonah11_ |
the csrf variables? |
# |
Sep 21st 2011, 23:50 |
daVinciWanaB |
Jonah11_ above statmenet |
# |
Sep 21st 2011, 23:50 |
daVinciWanaB |
just that it adds 2 additional long variables to the submitted data, and it changes on every submission |
# |
Sep 21st 2011, 23:50 |
cpgo |
someprimetime, perhaps set an array of element from the controller that are to be loaded and loop thru them in the view |
# |
Sep 21st 2011, 23:50 |
Jonah11_ |
daVinciWanaB, what part of Security were you thinking of? |
# |
Sep 21st 2011, 23:50 |
daVinciWanaB |
cpgo: there is just an 'empty' file in there |
# |
Sep 21st 2011, 23:49 |
daVinciWanaB |
jonah11_ - i was suggesting something that might help or lead in a direction - a definite answer, I don't know |
# |
Sep 21st 2011, 23:49 |
someprimetime |
if i have elements that will be dynamic in the sidebar, how should i put them in my view? (i.e. an adblock, gallery container, etc) |
# |
Sep 21st 2011, 23:49 |
cpgo |
tmp/logs |
# |
Sep 21st 2011, 23:49 |
daVinciWanaB |
cpgo - where is that? |
# |
Sep 21st 2011, 23:49 |
Jonah11_ |
daVinciWanaB, so the answer to my original question is that cake does not have a component with such functionality? |
# |
Sep 21st 2011, 23:49 |
daVinciWanaB |
cpgo: even if i just try to hit /articles - it gives same error |
# |
Sep 21st 2011, 23:49 |
cpgo |
check the error log to see if it gives a more detailed reason |
# |
Sep 21st 2011, 23:48 |
daVinciWanaB |
jonah11_ - it's not it's purpose |
# |
Sep 21st 2011, 23:48 |
daVinciWanaB |
cpgo: i have the view the action and the controller... |
# |
Sep 21st 2011, 23:48 |
Jonah11_ |
daVinciWanaB, why would not prevent duplicate transactions, if that was its purpose? |
# |
Sep 21st 2011, 23:48 |
cpgo |
daVinciWanaB, start by checking if you have the view file for that action, that controller. and that action on the prod server |
# |
Sep 21st 2011, 23:47 |
daVinciWanaB |
but - don't think it would keep from having 2 transactions |
# |
Sep 21st 2011, 23:47 |
daVinciWanaB |
security component adds 2 things |
# |
Sep 21st 2011, 23:46 |
Jonah11_ |
do any of the cake components provide a transaction token mechanism that would be used, for example, to prevent duplicate payment submissions? |
# |
Sep 21st 2011, 23:43 |
daVinciWanaB |
but not on our dev site - any thoughts on even which file(s) to look at? |
# |
Sep 21st 2011, 23:43 |
NoReGreT |
in login(), i'm checking if the user is logged in, setflash() then redirect. This is happening with the addition of invalid creds message, what can I do in this case? all i'm trying to do is that if a logged in user tried to visit the login action, he will get redirected. |
# |
Sep 21st 2011, 23:43 |
daVinciWanaB |
getting "Error: The requested address '/articles/view/3335' was not found on this server." on our live site |
# |
Sep 21st 2011, 23:37 |
Tetraktys |
however, when i use another model name, like ['Whatever'] the title does show up |
# |
Sep 21st 2011, 23:37 |
Tetraktys |
i'm building an upload component, but when i do: $this->request->data['Upload']['title'] = $file; it won't alter the data in $this->request->data['Upload'] |
# |
Sep 21st 2011, 23:35 |
Tetraktys |
hey guys, for those of you who are playing around with the 2.0 rc: is 'Upload' a reserved word when using it as a model? |