Log message #113917

# At Username Text
# Aug 9th 2008, 15:06 jaredhoyt it's nice
# Aug 9th 2008, 15:06 Howard`` effectively
# Aug 9th 2008, 15:06 jaredhoyt i think i just installed that for nbc olypmics coverage
# Aug 9th 2008, 15:06 markstory I don't have it installed even.
# Aug 9th 2008, 15:06 Howard`` it's microsofts version of flash
# Aug 9th 2008, 15:06 jaredhoyt from microsoft?
# Aug 9th 2008, 15:06 markstory does anyone have silverlight installed?
# Aug 9th 2008, 15:06 jaredhoyt Howard``: is that the video player?
# Aug 9th 2008, 15:06 Howard`` has anyone here tried silverlight by chance
# Aug 9th 2008, 15:06 AD7six eaqua: find
# Aug 9th 2008, 15:05 jaredhoyt i'll clear cache though and see if that fixes anything
# Aug 9th 2008, 15:05 eaqua AD7six: so what's the other method I can use insted of findBy ?
# Aug 9th 2008, 15:05 jaredhoyt AD7six: i recently added them in the beforeSave, but not in the model
# Aug 9th 2008, 15:05 AD7six jaredhoyt: did you recently add those fields?
# Aug 9th 2008, 15:05 jaredhoyt dieselz: everything else is getting saved though... and 'mailing_address' doesn't even have a value in $validate array
# Aug 9th 2008, 15:04 dieselz jaredhoyt: check validationErrors
# Aug 9th 2008, 15:03 jaredhoyt does anyone see anything wrong with my Client::beforeSave() here : http://bin.cakephp.org/view/1205572484 ? it's not saving 'mailing_address' or 'country' although i've verified both with pr($this->data)
# Aug 9th 2008, 15:03 AD7six no
# Aug 9th 2008, 15:03 eaqua AD7six: instead of findByCAPS --> findCAPS ??
# Aug 9th 2008, 15:03 AD7six eaqua: find
# Aug 9th 2008, 15:03 eaqua AD7six: what's the equivalent without underscore caps ?
# Aug 9th 2008, 15:02 eaqua I'm not sure mysql is case sensitive. I can look it up. as I've said I have some shared hosting so the php/mysql might have changed.
# Aug 9th 2008, 15:02 infantigniter does anybody have a solution to the question i asked -- as far as a forum script that plays well with prior coding
# Aug 9th 2008, 15:02 AD7six eaqua: don't use a method that is designed to underscore caps
# Aug 9th 2008, 15:01 infantigniter eaqua: is MYSQL case sensitive?
# Aug 9th 2008, 15:01 eaqua hy. I have a strange cakephp error: I have findByALLCAPSCOLUMN() which gets translated into something like SELECT Table.ALLCAPS where Table.a_l_l_c_a_p_s='something'. Note the whole bunch of underscores. I assume it might have something to do with the inflections.php. But I haven't touched the server at all (unless there was some new php/mysql installed). Any hints ?
# Aug 9th 2008, 15:00 infantigniter or should i try to make my own forum system
# Aug 9th 2008, 15:00 AD7six barduck: I don't see why not: https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/model/model.php#L1828
# Aug 9th 2008, 15:00 infantigniter does anybody have recommendations for an onsite forum, specifically one that could be integrated with my existing cake user system
# Aug 9th 2008, 14:58 barduck AD7six: nope...I never even executes the query...
# Aug 9th 2008, 14:58 AD7six find('count', array('fields' => ..?
# Aug 9th 2008, 14:58 AD7six barduck: does it work?
# Aug 9th 2008, 14:56 jaredhoyt 'mailing_address' is tinytext and 'country' is varchar
# Aug 9th 2008, 14:56 barduck althought I never used it since
# Aug 9th 2008, 14:56 barduck AD7six: that once was fixed for findCount -> https://trac.cakephp.org/ticket/2445
# Aug 9th 2008, 14:55 jaredhoyt i did a pr($this->data) right before the return true; and the 'mailing_address' and 'country' fields are present and contain the correct values... they're just not ending up in the db
# Aug 9th 2008, 14:55 barduck AD7Six: yes, that would work, of course. I thought there might be some parameter that I can just pass to find('count') to make it cleaner
# Aug 9th 2008, 14:55 jaredhoyt http://bin.cakephp.org/view/1205572484
# Aug 9th 2008, 14:54 jaredhoyt the rest of the data is, just not these two particular fields i'm changing
# Aug 9th 2008, 14:54 AD7six barduck: doesn't find('first', array('fields' => 'COUNT(DISTINCT....) AS count' ..?
# Aug 9th 2008, 14:54 jaredhoyt hmm, my beforeSave() doesn't seem to be working correctly ... i'm formating some fields before saving and i've done a pr($this->data) just to make sure it's coming out correctly (which it is) ... they're just not showing up in the db