Page 24 of 36,922, showing 100 records out of 3,692,143 total, starting on record 2,301, ending on 2,400
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 04:58 | alkemann | ninja |
# | Aug 7th 2008, 04:58 | achew22 | documentation ninja? |
# | Aug 7th 2008, 04:58 | achew22 | not two words I expect together |
# | Aug 7th 2008, 04:59 | alkemann | so how can i set up a google code thinig? |
# | Aug 7th 2008, 04:59 | achew22 | code.google.com |
# | Aug 7th 2008, 04:59 | achew22 | hit project hosting |
# | Aug 7th 2008, 04:59 | achew22 | type in php |
# | Aug 7th 2008, 04:59 | achew22 | cakephp |
# | Aug 7th 2008, 04:59 | achew22 | whatever |
# | Aug 7th 2008, 05:00 | alkemann | found it. |
# | Aug 7th 2008, 05:00 | achew22 | oh, don't type in that box there is a link to add a new one |
# | Aug 7th 2008, 05:01 | alkemann | If i wanna just give stuff away, what license is best? |
# | Aug 7th 2008, 05:01 | TonkaTruck | ACTION falls asleep. |
# | Aug 7th 2008, 05:01 | TonkaTruck | Until tomorrow... |
# | Aug 7th 2008, 05:01 | achew22 | night |
# | Aug 7th 2008, 05:01 | alkemann | nn |
# | Aug 7th 2008, 05:01 | achew22 | mit |
# | Aug 7th 2008, 05:01 | achew22 | mit license is the best for cake stuff |
# | Aug 7th 2008, 05:03 | alkemann | wtf, i dont have authorization to edit my existing non-published article |
# | Aug 7th 2008, 05:03 | Martz | hrm, so im trying to return javascript from a view - so i set parseExtensions and did /images/feed.js and the correct mime/headers are set, put it outputs <script>...</script> - which isnt right - I expected just plain js code? any ideas? |
# | Aug 7th 2008, 05:04 | poluta1 | it's strange! why always showing error ? 'captcha' => array('rule' => array('matchCaptcha',$this->isSetCaptcha,$this->captcha), |
# | Aug 7th 2008, 05:04 | poluta1 | error "Parse error: parse error, unexpected T_VARIABLE, expecting ')' in D:\tohtdocs\Indienesia\models\user.php on line 10 |
# | Aug 7th 2008, 05:04 | Martz | poluta1: missed a ) somewhere? |
# | Aug 7th 2008, 05:04 | achew22 | Martz: what layout are you using? |
# | Aug 7th 2008, 05:04 | poluta1 | u know? if i remove the validation function params, the error disappear |
# | Aug 7th 2008, 05:04 | Martz | achew22: i havent defined one. |
# | Aug 7th 2008, 05:05 | achew22 | check your layouts to see if any wrap in <script> |
# | Aug 7th 2008, 05:05 | Martz | achew22: its not showing any of the <html> <head> etc |
# | Aug 7th 2008, 05:05 | poluta1 | i don't understand, if i remove function's params the error will disappar |
# | Aug 7th 2008, 05:05 | Martz | ah ok, i'll hunt that then |
# | Aug 7th 2008, 05:05 | achew22 | grep "<script>" ~/www/project/views/layouts -r |
# | Aug 7th 2008, 05:06 | poluta1 | Martz: No.. i think no missed ")" somewhere . but if i remove the function's params the error disappear |
# | Aug 7th 2008, 05:06 | poluta1 | strange |
# | Aug 7th 2008, 05:06 | poluta1 | if i do this 'captcha' => array('rule' => array('matchCaptcha'), the error disappear |
# | Aug 7th 2008, 05:07 | Martz | poluta1: bin your code |
# | Aug 7th 2008, 05:07 | poluta1 | u notice that? i remove the params |
# | Aug 7th 2008, 05:08 | alkemann | Martz: http://code.google.com/p/alkemann/ |
# | Aug 7th 2008, 05:09 | achew22 | why not me? |
# | Aug 7th 2008, 05:09 | alkemann | achew22: http://code.google.com/p/alkemann/ |
# | Aug 7th 2008, 05:09 | achew22 | yay! |
# | Aug 7th 2008, 05:09 | achew22 | chartable? |
# | Aug 7th 2008, 05:09 | poluta1 | Martz: this is my bin code http://bin.cakephp.org/view/1956850175 |
# | Aug 7th 2008, 05:10 | Martz | achew22: hrm i see where my lib/views/layouts/js/default.ctp has <script> around it, when I make my own layout i dont get the right type, dont know if its a problem, shows as text/html instead of application/x-javascript |
# | Aug 7th 2008, 05:11 | achew22 | override the layout and make it js/plain |
# | Aug 7th 2008, 05:11 | alkemann | achew22: there is a flash chart helper on the bakery that uses this awesome flash thing. I just made a behavior to make it easier to use this helper (that i didnt make) |
# | Aug 7th 2008, 05:11 | Martz | poluta1 |
# | Aug 7th 2008, 05:11 | achew22 | open flash charts? |
# | Aug 7th 2008, 05:12 | lobaman | i have a little problem. my apps doesnt work for unknown reason. it doesnt write my cache model in /app/tmp |
# | Aug 7th 2008, 05:12 | poluta1 | Martz: yes? |
# | Aug 7th 2008, 05:12 | lobaman | the apps is like on a loop. |
# | Aug 7th 2008, 05:12 | alkemann | achew22: http://bakery.cakephp.org/articles/view/chartable-behavior |
# | Aug 7th 2008, 05:12 | Martz | poluta1: I cant remember,but maybe you have to put: function matchCaptcha (and$model, $isSetCaptcha, $captchaText) { .. } |
# | Aug 7th 2008, 05:12 | Martz | and still send the params as first and second |
# | Aug 7th 2008, 05:12 | Martz | I remember I had to do that when creating a behavior, dont think it applies... o_O |
# | Aug 7th 2008, 05:13 | Martz | poluta1: also, what is "line 11" in that bin? |
# | Aug 7th 2008, 05:13 | lobaman | i think i need to reboot. |
# | Aug 7th 2008, 05:13 | alkemann | for behaviors always put and$Model as first param, but when calling it in controller or whatever, skip the model and give the 2nd param in the code first |
# | Aug 7th 2008, 05:14 | Martz | poluta1: ah feck. hang on. I was looking at line 11 in wrong paste |
# | Aug 7th 2008, 05:14 | poluta1 | Martz: :D |
# | Aug 7th 2008, 05:15 | poluta1 | Martz: I just don;t understand, if i fill function's params manually, the error not showing |
# | Aug 7th 2008, 05:15 | Martz | poluta1: perhaps because you are setting a variable based on another variable? hrm |
# | Aug 7th 2008, 05:15 | poluta1 | fill manually with a values |
# | Aug 7th 2008, 05:15 | poluta1 | no with a variable |
# | Aug 7th 2008, 05:16 | Martz | poluta1: i would ommit the params and access them directly in the method. |
# | Aug 7th 2008, 05:17 | alkemann | achew22: trying to think out step 1 of your feature request. how where you thinking that the change should be saved? |
# | Aug 7th 2008, 05:17 | Martz | poluta1 so (($isSetCaptcha) andand ($val == $captchaText)) { becomes if (($this->isSetCaptcha) andand ($val == $this->captchaText)) { |
# | Aug 7th 2008, 05:18 | achew22 | alkemann: a very nice sql query |
# | Aug 7th 2008, 05:19 | alkemann | you mean save the old row as an sql query for updating (basically an undo)? |
# | Aug 7th 2008, 05:19 | jessy_ | Hi |
# | Aug 7th 2008, 05:19 | jessy_ | is there a way to get the current database config in a controller ? |
# | Aug 7th 2008, 05:20 | achew22 | alkemann: Select `columns`, `enumerated`, ((SELECT count(1) WHERE `id` = '$thisId') + 1) as `version` INTO `ShadowTable` from `OrigionalTable` |
# | Aug 7th 2008, 05:21 | poluta1 | Martz: Yeaaa... i have do that. But still not working |
# | Aug 7th 2008, 05:22 | alkemann | achew22: i was thinking step 1 as with just the log table and no shadow table |
# | Aug 7th 2008, 05:22 | achew22 | oh |
# | Aug 7th 2008, 05:22 | achew22 | I could do it in 1 query I think... |
# | Aug 7th 2008, 05:22 | achew22 | I don't know -- let me think for a little while |
# | Aug 7th 2008, 05:24 | Martz | poluta1: you changed it? whats the error again? |
# | Aug 7th 2008, 05:24 | jessy_ | is there a way to get the table prefix for the current database configuration in a controller ? |
# | Aug 7th 2008, 05:25 | poluta1 | Martz: yes i have to change it |
# | Aug 7th 2008, 05:25 | poluta1 | but still not work |
# | Aug 7th 2008, 05:25 | poluta1 | how to test property value? |
# | Aug 7th 2008, 05:26 | poluta1 | i'am not trying your function matchCaptcha (and$model, $isSetCaptcha, $captchaText) { .. } yet |
# | Aug 7th 2008, 05:26 | Martz | poluta1: debug it to keep simple, get your property from the controller into the model and pr() it |
# | Aug 7th 2008, 05:26 | Martz | in beforeFind() or something |
# | Aug 7th 2008, 05:26 | Martz | just to make sure your passing it |
# | Aug 7th 2008, 05:26 | Martz | then go from there |
# | Aug 7th 2008, 05:26 | Martz | i gtg in a min |
# | Aug 7th 2008, 05:27 | poluta1 | i'am not trying your function matchCaptcha (and$model, $isSetCaptcha, $captchaText) { .. } yet |
# | Aug 7th 2008, 05:28 | primeminister__ | hi! |
# | Aug 7th 2008, 05:28 | primeminister | wondering if I can change the where class in an UPDATE query |
# | Aug 7th 2008, 05:29 | alkemann | primeminister: what are you trying to achieve? |
# | Aug 7th 2008, 05:29 | primeminister | default: UPDATE x SET skinid=2 WHERE id=12; Extra wish AND accoutnid=12345 |
# | Aug 7th 2008, 05:29 | primeminister | so extra security in the UPDATE statement |
# | Aug 7th 2008, 05:30 | primeminister | I can do it in the code, but wondering if this is possible |
# | Aug 7th 2008, 05:31 | alkemann | i still have no idea what u wanna do |
# | Aug 7th 2008, 05:32 | primeminister | alkemann: Normally when get an UPDATE query in cake you pas an valid id right? |
# | Aug 7th 2008, 05:32 | primeminister | alkemann: That is placed in the WHERE clause of that UPDATE query |
# | Aug 7th 2008, 05:32 | batcoder-7 | man i wish i knew CSS MUCH better damn shit |
# | Aug 7th 2008, 05:33 | alkemann | w3schools batcoder-7 |
# | Aug 7th 2008, 05:33 | primeminister | alkemann: I want to have an extra AND in that WHERE clause like: AND accountid=12 |