IE6 and IE7 losing sessions - can't log in - solved

2013-08-15 Thread Jeremy Burns
I'm posting this as I had a problem that was driving me nuts. I know IE7 is ancient, so there are some posts on this subject from 2008/9, but none solved it for me. I have a global banking client trying my software and their standard browser is IE6. That is not at all uncommon in large corporat

bootstrap twitter typeahead , dont work for me in cakephp

2013-08-15 Thread Renato Bigliazzi
Hi , I can not do the twitter bootstrap component typeahead work with cake. i use https://github.com/rudylee/cbunny , but dont work form me. In my view JS $(document).ready(function(){ $('#itemdesc').typeahead({ source: function (query, process) { return $.ajax({ url:'

Re: Character on code , very weird.

2013-08-15 Thread Renato Bigliazzi
Thanks , Rodrigo I will review, thank you for now Regards Renato Em terça-feira, 13 de agosto de 2013 08h54min03s UTC-3, Renato Bigliazzi escreveu: > > Good morning, appeared on my screen, a character who can not make out, > already tried everything, but he insisted, the problem is that the

Cake 1.3: Using translate behaviour and find('list') returns wrong name

2013-08-15 Thread Christian
Hi, I am using the translate behaviour in my models and so far it worked well. However, one issue I can't get fixed and I am not sure if this is me or cake. If I use a find('all') on my model everything works fine - however, if I use a find('list'), the result is [id]=>id (e.g. [22]=>22. Everyt

Re: Simple controller action takes over 13 seconds

2013-08-15 Thread Xtagon
I cloned the DB locally for development and the slow speeds completely went away. I guess there was a lot of overhead connecting to the remote DB other than the query, because the query itself was really fast. I'm not sure I understand what went on there, but I'm good to go now. Thanks for your

loginError Element

2013-08-15 Thread Eric Haskins
Afternoon all, I am having an issue with the Auth Component. I set 'flash' => array('key'=>'auth','element'=>'alerts/error'), in my Auth config in appcontroller. Permission errors work fine but invalid login is still using default element. Am I missing something somewhere? 'Auth' => a

Re: consoleShell & Sanitize class

2013-08-15 Thread malducin
I did panic a little when I saw that Sanitize was being deprecated. I use it in all my models before save to clean inputs of non-HTML data. I even extended the Sanitize class to use htmlspecialchars instead of htmlentities (have to preserve accented characters, etc.). Anyway I prefer to sanitiz

Re: Extend a core behavoir

2013-08-15 Thread Rodrigo Mourão
I already didi this with tree behavior like Andre recommended. models/behaviors/tree_plus.php > With App::import()... > > Them you can extend it: > class MyTreeBehavior extends TreeBehavior... > > Em quarta-feira, 14 de agosto de 2013 10h05min03s UTC-3, Mohammad Naghavi > escreveu: >> >> Hi All,

Re: Character on code , very weird.

2013-08-15 Thread Rodrigo Mourão
This kind of thing make we loose so many time to find, and normally is a stupid thing to fix. Did you check the encoding in models and controllers too? If all encoding is ok without bom. You should try to use an empty layout, so check if the string appear. If you see it, so probably the problem i

Re: Character on code , very weird.

2013-08-15 Thread Renato Bigliazzi
Hi , rodrigo , thanks I check the files , all are whit UT8 . I put the code in notepad++ , and convert to ansi , look below. *f? * i cant find where come from that. Thanks Renato Em terça-feira, 13 de agosto de 2013 08h54min03s UTC-3, Renato Bigliazzi escreveu: > > Good morning, appe