# |
Aug 7th 2008, 05:12 |
Martz |
and still send the params as first and second |
# |
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 |
alkemann |
achew22: http://bakery.cakephp.org/articles/view/chartable-behavior |
# |
Aug 7th 2008, 05:12 |
lobaman |
the apps is like on a loop. |
# |
Aug 7th 2008, 05:12 |
poluta1 |
Martz: yes? |
# |
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:11 |
achew22 |
open flash charts? |
# |
Aug 7th 2008, 05:11 |
Martz |
poluta1 |
# |
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 |
achew22 |
override the layout and make it js/plain |
# |
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:09 |
poluta1 |
Martz: this is my bin code http://bin.cakephp.org/view/1956850175 |
# |
Aug 7th 2008, 05:09 |
achew22 |
chartable? |
# |
Aug 7th 2008, 05:09 |
achew22 |
yay! |
# |
Aug 7th 2008, 05:09 |
alkemann |
achew22: http://code.google.com/p/alkemann/ |
# |
Aug 7th 2008, 05:09 |
achew22 |
why not me? |
# |
Aug 7th 2008, 05:08 |
alkemann |
Martz: http://code.google.com/p/alkemann/ |
# |
Aug 7th 2008, 05:07 |
poluta1 |
u notice that? i remove the params |
# |
Aug 7th 2008, 05:07 |
Martz |
poluta1: bin your code |
# |
Aug 7th 2008, 05:06 |
poluta1 |
if i do this 'captcha' => array('rule' => array('matchCaptcha'), the error disappear |
# |
Aug 7th 2008, 05:06 |
poluta1 |
strange |
# |
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:05 |
achew22 |
grep "<script>" ~/www/project/views/layouts -r |
# |
Aug 7th 2008, 05:05 |
Martz |
ah ok, i'll hunt that then |
# |
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 |
achew22: its not showing any of the <html> <head> etc |
# |
Aug 7th 2008, 05:05 |
achew22 |
check your layouts to see if any wrap in <script> |
# |
Aug 7th 2008, 05:04 |
Martz |
achew22: i havent defined one. |
# |
Aug 7th 2008, 05:04 |
poluta1 |
u know? if i remove the validation function params, the error disappear |
# |
Aug 7th 2008, 05:04 |
achew22 |
Martz: what layout are you using? |
# |
Aug 7th 2008, 05:04 |
Martz |
poluta1: missed a ) somewhere? |
# |
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 |
poluta1 |
it's strange! why always showing error ? 'captcha' => array('rule' => array('matchCaptcha',$this->isSetCaptcha,$this->captcha), |
# |
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:03 |
alkemann |
wtf, i dont have authorization to edit my existing non-published article |
# |
Aug 7th 2008, 05:01 |
achew22 |
mit license is the best for cake stuff |
# |
Aug 7th 2008, 05:01 |
achew22 |
mit |
# |
Aug 7th 2008, 05:01 |
alkemann |
nn |
# |
Aug 7th 2008, 05:01 |
achew22 |
night |
# |
Aug 7th 2008, 05:01 |
TonkaTruck |
Until tomorrow... |
# |
Aug 7th 2008, 05:01 |
TonkaTruck |
ACTION falls asleep. |