Re: relacionamento de tabelas

2008-01-01 Thread Juan Basso
Brasileiro é tudo igual... sempre querendo economizar onde pode, até nas tabelas de relacionamento hehe. Brincadeira, mas é isso mesmo que o Gustavo falou. Não deixou dúvidas. Abraços e bom ano novo a todos. Juan Basso On 31 dez 2007, 11:11, Gustavo Carreno [EMAIL PROTECTED] wrote: On Dec

Re: Cake 1.1.X Model table name problem

2008-01-01 Thread Thrilller
hi i too was getting this error did what AD7six mentioned but then i got table dont exits Error in model even table was in DB with lots tries i solved it by deleting/clearing cache of Models in tmp folder i hope this will work but y CAKE wasnt detecting a DB change like new table??

Help with application

2008-01-01 Thread Bill
Hi, I am trying to create an application that uploads files, keeps track of them, sends emails and provides upload and download links. I want to upload a file, have it assigned to someone for translation into another language (send an email that file was uploaded, with ftp link(?)), upload file

How code a edit view with a list

2008-01-01 Thread bibi
I have a basket with many lines. I want to display all the line in a form. User can update the quantite of each line. How can i code my view ? I tryed [code] foreach ($params['data']['Basketline'] as $Basketline) { echo $html-input(Basketline/$i/quantite, array('size'='4'))

Re: Require SSL for entire site?

2008-01-01 Thread Chris Hartjes
On Dec 31, 2007 11:48 AM, Chris Hartjes [EMAIL PROTECTED] wrote: Well, if you did want to do that sort of thing you could put it in a beforeFilter() method in app_controller, but can you really trust the contents of $_SERVER['HTTPS'] to be correct? If I understand correctly, that info can

ACL ini

2008-01-01 Thread [EMAIL PROTECTED]
Hi, I have question about ACL ini. We can check permissions by a code: $this-Acl-check( $aro, $aco, $action ); But what about third parameter ('action')? Where we can add information about $action in our acl.ini.php file? We have there, by example: [admin] allow = Admin And if I want that

link and redirect trouble

2008-01-01 Thread Ron Astonvarga
Hello, I've developed on localhost some code and now I transferred it to web server and only trouble I have is: On the page http://www.example.com/tax_classes/edit/7 I use: $html-link(__('back to list of tax classes', true), array('controller' = 'tax_classes', 'action'='index')); and it

Problem with first cake form input name=data[....

2008-01-01 Thread lirc201
I'm having some trouble with my login form. In my thtml file: ?php echo $html-input('Account/email',array(id = email, class=input));? but when I view source: input name=data[Account][email] id=email class=input ... I was assuming cake would fill in name=email to correspond to the field name

Re: ACL ini

2008-01-01 Thread aranworld
I am mostly familiar with the AclComponent, so I don't know if this is applicable. In the component, the $action parameter is only fully utilized if you are using the 'crud' mode of the AuthComponent. If you are using the 'actions' mode of the AuthComponent, then the $action parameter is not

Re: Child model fields

2008-01-01 Thread DaveM
Thanks for the reply. I have tried $this-Game-Score-create(); in my Games controller but the result is still the same as before. Here are the debug statements: 6 INSERT INTO `scores` (`player_id`,`player_points`,`player_finish`,`game_id`,`created`,`modified`) VALUES (374,'0',10,60,'2008-01-01

Re: Memcache and CakePHP

2008-01-01 Thread mehodgson
On Dec 30 2007, 11:02 am, Mike Lewis [EMAIL PROTECTED] wrote: So I installed memcache + added the code to core.php: Cache::config('default', array('engine' = 'Memcache',              'duration' = 3600, //[optional]              'probability' = 100, //[optional]                  'servers'

New Year, New Beta

2008-01-01 Thread Larry E. Masters aka PhpNut
The CakePHP team is happy to wish everyone a wonderful new year. Entering the 3rd year of the development we can reflect back on what was done. A year ago, we released Cake 1.2 dev. We have worked solidly over the last year to stabilize the new features and provide a growing platform for