Page 14 of 36,922, showing 100 records out of 3,692,143 total, starting on record 1,301, ending on 1,400
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 00:03 | polerin | same with modified |
# | Aug 7th 2008, 00:03 | loki_racer | some tables it does, some it doesn't |
# | Aug 7th 2008, 00:03 | polerin | ah, is the field set as not-null? I seem to rember(though I could be wrong) that it doesn't do it's automagic if it can be null |
# | Aug 7th 2008, 00:04 | loki_racer | it's not null |
# | Aug 7th 2008, 00:04 | loki_racer | INSERT INTO `poll_answers_users` (`poll_answer_id`,`user_id`) VALUES (3,1) |
# | Aug 7th 2008, 00:04 | polerin | is there a default value for the field in the table that is not saving? |
# | Aug 7th 2008, 00:04 | polerin | no, I meen the table, is it specified that the value can be null, or that the field has a default value? |
# | Aug 7th 2008, 00:05 | loki_racer | http://pastebin.com/d1ba82541 |
# | Aug 7th 2008, 00:06 | polerin | yeah |
# | Aug 7th 2008, 00:06 | polerin | take the default off of the field |
# | Aug 7th 2008, 00:06 | polerin | http://pastebin.com/m15d269cf |
# | Aug 7th 2008, 00:07 | loki_racer | i don't think that is the issue since all my datetimes have default, phpmyadmin forces it |
# | Aug 7th 2008, 00:08 | loki_racer | i think it's that I added a field to the database table and didn't flush the model |
# | Aug 7th 2008, 00:08 | loki_racer | oddly, it knows the new fields, but not all the fields after it |
# | Aug 7th 2008, 00:08 | polerin | try it |
# | Aug 7th 2008, 00:08 | polerin | ) |
# | Aug 7th 2008, 00:08 | loki_racer | what, try removing the default? |
# | Aug 7th 2008, 00:08 | polerin | I could be wrong, and I've never had it force a default on me |
# | Aug 7th 2008, 00:08 | polerin | but I seem to remeber having an issue like that |
# | Aug 7th 2008, 00:09 | loki_racer | you can't remove it |
# | Aug 7th 2008, 00:09 | loki_racer | i'm telling you, not unless you write the sql |
# | Aug 7th 2008, 00:09 | polerin | look at my bin. |
# | Aug 7th 2008, 00:09 | loki_racer | flushing model did it |
# | Aug 7th 2008, 00:10 | polerin | btw, one in a table I've found that works is NULL |
# | Aug 7th 2008, 00:10 | polerin | mm, kay |
# | Aug 7th 2008, 00:11 | polerin | ACTION tries to remeber what it was that the not null or default was a part of. |
# | Aug 7th 2008, 00:11 | polerin | meh, I'm tired, and it's late, whatever :P |
# | Aug 7th 2008, 00:12 | loki_racer | haha |
# | Aug 7th 2008, 00:12 | loki_racer | thanks for the help anyways |
# | Aug 7th 2008, 00:16 | chrysanthemum | anyone have any good ideas for websites |
# | Aug 7th 2008, 00:16 | chrysanthemum | i wanna try creating something with cake... but im stumped |
# | Aug 7th 2008, 00:17 | chrysanthemum | i'm sick of writing blogs too |
# | Aug 7th 2008, 00:19 | polerin | write one that allows people to compare tea from various sources |
# | Aug 7th 2008, 00:19 | polerin | P |
# | Aug 7th 2008, 00:19 | chrysanthemum | compare tea !? |
# | Aug 7th 2008, 00:19 | polerin | this young pu ehr is nowhere near as good as the ancient mountian pu ehr I have stashed for a rainy day |
# | Aug 7th 2008, 00:20 | chrysanthemum | i'm on it |
# | Aug 7th 2008, 00:20 | polerin | but I can't get any more of the ancient mountian... it's become a rare tea |
# | Aug 7th 2008, 00:20 | chrysanthemum | i'll report back to you soon |
# | Aug 7th 2008, 00:20 | polerin | lol |
# | Aug 7th 2008, 00:20 | chrysanthemum | seriously though, question |
# | Aug 7th 2008, 00:20 | polerin | I don't particuarly care, I jus have a cup of tea in front of me |
# | Aug 7th 2008, 00:20 | chrysanthemum | whats a good webhost that will support cakePHP? |
# | Aug 7th 2008, 00:20 | chrysanthemum | or can i use anywebhost? |
# | Aug 7th 2008, 00:20 | polerin | anything that supports php and is good? :P |
# | Aug 7th 2008, 00:20 | chrysanthemum | i could use godaddy? |
# | Aug 7th 2008, 00:21 | polerin | the ability to have individual subdomains NOT hosted in htdir/subdomain/ is a plus, but whatever |
# | Aug 7th 2008, 00:21 | polerin | ACTION <3 her dreamhost account |
# | Aug 7th 2008, 00:21 | chrysanthemum | dreamhost eh? |
# | Aug 7th 2008, 00:22 | chrysanthemum | you ever wish it was like 1995 |
# | Aug 7th 2008, 00:22 | chrysanthemum | and noone had created any websites yet |
# | Aug 7th 2008, 00:23 | chrysanthemum | damn... i'd have a blast |
# | Aug 7th 2008, 00:23 | Eddie_CRO | question - I have a DB model like Item->Category->Group. Cointain (in model->find) seems to do the trick of getting the data filtered for third degree (Group in this case), but i don't know how to make a CONDITION for a VALUE in third degree. I put 'Group.name = "name"' but if that name does not exist for an item, 'find' gives me other data (Item, Category) and misses Group. I want him to not give me records if group name does not exist. |
# | Aug 7th 2008, 00:26 | Eddie_CRO | anyone alive? :) |
# | Aug 7th 2008, 00:26 | polerin | batcoder-7: http://bin.cakephp.org/view/230555087 |
# | Aug 7th 2008, 00:27 | polerin | chrysanthemum: ... did you ever REALLY try to do CSS or JS back then? |
# | Aug 7th 2008, 00:27 | TonkaTruck | Eddie_CRO: if you bin your contain array I would like to see it. |
# | Aug 7th 2008, 00:27 | Eddie_CRO | ok |
# | Aug 7th 2008, 00:27 | chrysanthemum | polerin: considering that i was 7 yrs old -- no |
# | Aug 7th 2008, 00:28 | batcoder-7 | polerin: yea thanks, thats hwo i thought it would be, |
# | Aug 7th 2008, 00:28 | TonkaTruck | Is anyone in the channel over 30? heh. |
# | Aug 7th 2008, 00:28 | batcoder-7 | mid 20's |
# | Aug 7th 2008, 00:28 | batcoder-7 | but sure there are many TonkaTruck |
# | Aug 7th 2008, 00:28 | polerin | Eddie_CRO: 'Group' => array('fields' =>array('your field list'), 'contain' => array('not that you can contain 3 deep'), 'conditions' => array('your conditions')); |
# | Aug 7th 2008, 00:28 | polerin | or something like that |
# | Aug 7th 2008, 00:29 | polerin | I'm officialy in my late 20's as of last month :/ |
# | Aug 7th 2008, 00:29 | TonkaTruck | polerin: in the contain test cases for contain you can set recursive as a starting point and contain from there. Can you really not go more than 3 deep? |
# | Aug 7th 2008, 00:29 | chrysanthemum | i got years of programming catch up ahead of me :) |
# | Aug 7th 2008, 00:30 | batcoder-7 | chrysanthemum: how old are you ? |
# | Aug 7th 2008, 00:30 | chrysanthemum | 20 |
# | Aug 7th 2008, 00:30 | poluta1 | hello any change with ajax observeField() since cake 1.2 RC2 ? |
# | Aug 7th 2008, 00:30 | Eddie_CRO | http://bin.cakephp.org/view/216231990 |
# | Aug 7th 2008, 00:30 | polerin | 7 +13 = 20 |
# | Aug 7th 2008, 00:30 | polerin | P |
# | Aug 7th 2008, 00:30 | batcoder-7 | chrysanthemum: php your first programming language ? |
# | Aug 7th 2008, 00:30 | polerin | Eddie_CRO: check my message to you above |
# | Aug 7th 2008, 00:30 | tomas- | i have a text field with 'options' (values) so it renders as a select list -- unfortunately, its a multiple select list (tho i dont say to do so),.... any idea how to turn the 'multiple' attribute OFF? |
# | Aug 7th 2008, 00:30 | Eddie_CRO | polerin: It does not work if you have three degree model |
# | Aug 7th 2008, 00:31 | TonkaTruck | Eddie_CRO: oh yes I have been here. |
# | Aug 7th 2008, 00:31 | polerin | Eddie_CRO: it should.. |
# | Aug 7th 2008, 00:31 | Eddie_CRO | Item->Category->Group |
# | Aug 7th 2008, 00:31 | polerin | yes I understand |
# | Aug 7th 2008, 00:31 | tomas- | gah, nevermind, i have 'size' set |
# | Aug 7th 2008, 00:31 | TonkaTruck | Eddie_CRO: I couldn't get your way to work. |
# | Aug 7th 2008, 00:31 | Eddie_CRO | no, it shouldn't :) |
# | Aug 7th 2008, 00:31 | polerin | I'm assuming 'group' is in the correct place for the contains |
# | Aug 7th 2008, 00:31 | Eddie_CRO | is it possible? |
# | Aug 7th 2008, 00:31 | TonkaTruck | Eddie_CRO: Hang on I posted this in the cake-php group on google. |
# | Aug 7th 2008, 00:31 | Eddie_CRO | is that a bug? :) |
# | Aug 7th 2008, 00:31 | chrysanthemum | batcoder-7: not really... i learned qBasic in 4th grade... recently i've messed with java and python.. but PHP is my favorite, and the one i'm most knowledgable with |
# | Aug 7th 2008, 00:32 | polerin | so 'contains' => array('Item'=>array('User' =>array ('the group stuff I posted earlier in here)))) |
# | Aug 7th 2008, 00:32 | batcoder-7 | you should start off with something like C |
# | Aug 7th 2008, 00:32 | polerin | sorry, take off one ) |
# | Aug 7th 2008, 00:32 | chrysanthemum | why C? |
# | Aug 7th 2008, 00:32 | polerin | batcoder-7: BOOOOOOOOOOOOOOOOOOOOOOOOOOOOO |
# | Aug 7th 2008, 00:32 | batcoder-7 | going from PHP to C is much harer then vice versa |
# | Aug 7th 2008, 00:32 | polerin | you should start with PASCAL! |
# | Aug 7th 2008, 00:32 | TonkaTruck | Eddie_CRO: http://groups.google.com/group/cake-php/browse_thread/thread/b395251c90627fef/664db413bdd2fe45?lnk=gstandq=complex+contain#664db413bdd2fe45 |
# | Aug 7th 2008, 00:32 | batcoder-7 | polerin: sure even pascal |
# | Aug 7th 2008, 00:32 | polerin | declare ALL your variables at the top of your program |