Log message #111460

# At Username Text
# Aug 8th 2008, 09:59 FunkyWeasel Still allowed in 1.2: var $useTable = FALSE; ?
# Aug 8th 2008, 09:58 TommyO __mork: if you're doing large queries with lots of recursion or lots of fields, you might want to tighten up your find() to get only the fields you want. you'll also save a lot of processing time too
# Aug 8th 2008, 09:58 __mork you're very kind!
# Aug 8th 2008, 09:58 gwoo they should be your guide
# Aug 8th 2008, 09:58 gwoo NOSLOW: look at the other ones that were added in that changeset
# Aug 8th 2008, 09:58 __mork thanks, folk!
# Aug 8th 2008, 09:57 __mork but i had problem with charset and this take me "off the road"
# Aug 8th 2008, 09:57 __mork i should figure out
# Aug 8th 2008, 09:57 NOSLOW I'm a little new to writing test cases so it may take me a while...and tips on where to put the test case?
# Aug 8th 2008, 09:57 __mork thanks!
# Aug 8th 2008, 09:57 __mork with 64 is good!
# Aug 8th 2008, 09:57 teknoid __mork: it is... better to increase
# Aug 8th 2008, 09:56 gwoo NOSLOW: yup :P
# Aug 8th 2008, 09:56 __mork i try to increase
# Aug 8th 2008, 09:56 __mork far too little... i think
# Aug 8th 2008, 09:56 __mork 16M
# Aug 8th 2008, 09:56 NOSLOW gwoo: that was a stupid question, right?
# Aug 8th 2008, 09:56 gwoo NOSLOW: sure
# Aug 8th 2008, 09:54 TommyO __mork: it's an out of memory error? how much memory does it say the max is?
# Aug 8th 2008, 09:54 __mork some pages simply do not display (and they work on the remote server)
# Aug 8th 2008, 09:53 freebox2 $base = array($model.'.'.$field . ' LIKE' => '%'.$data[$model][$field].'%');
# Aug 8th 2008, 09:53 NOSLOW gwoo: Should I open a ticket with a test case to show the failure?
# Aug 8th 2008, 09:53 freebox2 yeah! done =D
# Aug 8th 2008, 09:53 __mork i repeat (sorry): the error raises even with a plugin (phpgacl) but not for all the pages
# Aug 8th 2008, 09:52 __mork no, for sure
# Aug 8th 2008, 09:51 TommyO __mork: hmmm... are you calling h() somehwere in your app?
# Aug 8th 2008, 09:51 teknoid __mork: it's never easy :)
# Aug 8th 2008, 09:51 __mork teknoid: not so easy for me :-(
# Aug 8th 2008, 09:51 freebox2 dammit :(
# Aug 8th 2008, 09:51 teknoid __mork: i'm saying something in your app is triggering that error, what you need to find out is what, where and why
# Aug 8th 2008, 09:51 __mork and more exactly at if (empty($charset)) ...
# Aug 8th 2008, 09:51 __mork at that point there is a Convenience method for htmlspecialchars: function h
# Aug 8th 2008, 09:51 __mork TommyO: Hi! there is a charset
# Aug 8th 2008, 09:50 __mork i downloaded phpgacl and it gives that fatal error
# Aug 8th 2008, 09:50 TommyO it'll be clear when you see what function line 208 is in...
# Aug 8th 2008, 09:50 __mork teknoid: it is not only in my code (mmmh... thinking about: unless it is in app_controller, but... no: only some pages give that
# Aug 8th 2008, 09:49 TommyO __mork: no, that's just where it's being revealed. the error is in your code
# Aug 8th 2008, 09:49 __mork and more exactly at if (empty($charset)) ...
# Aug 8th 2008, 09:49 teknoid __mork: in your code
# Aug 8th 2008, 09:49 __mork at that point there is a Convenience method for htmlspecialchars: function h
# Aug 8th 2008, 09:49 __mork in in /var/www/prestazioni/cake/basics.php on line 208