Re: Getting errors when session expires

2006-04-26 Thread jburns131
ok, I figured it out. The problem was caused by mysql v4.1. I had 'CAKE_SESSION_SAVE' set to 'database'. Once I switched that back to 'php', everything went back to normal. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

scaffolding bugs(?) and questions

2006-04-26 Thread V
Hello! 1st problem: table prefixes do not work on join. Or at least I thought that I do not need to add the prefix to the column name. Ex: I have a prefix_students table and a prefix_everyone table where I have a student_id column. This won't work with scaffolding, Cake expects to use

Re: Custom empty value for selectTag

2006-04-26 Thread saavedrajj
thanks but doesn't work: I have this in my controller: $this-set('levelID', am(array(0 = 'Select a Level')), $this-User-Level-generateList( null, name_en ASC)); and only view shows: ?php echo $html-selectTag('User/level_id', $levelID, null, null, $html-tagValue('User/level_id'), true);?

Re: Custom empty value for selectTag

2006-04-26 Thread nate
If you read the API, you'll notice that the last parameter in selectTag is called $showEmpty. In the code above, you have it set to true. What do you suppose that does? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Using

2006-04-26 Thread stefano
Thank you!! I'll do this way... then in some future I'll switch to a db backed components so the site admins will can add users themselves Stefano --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group.

Re: html select

2006-04-26 Thread V
Hello William, you should use $html-selectTag. You can find its documentation at http://api.cakephp.org/class_html_helper.html#64b225925057ff1822723aeb636379cd An example: if you have a table with columns id and name, you write in your controller: $data = $this-YourModel-findAll(); Then you

Re: observeForm

2006-04-26 Thread Samuel DeVore
you should open a ticket with the fix! https://trac.cakephp.org/ so it can get includedOn 4/26/06, sinyo [EMAIL PROTECTED] wrote: hahaha, finally i can help myself to useAjaxHelper::observeForm :)but i make a little bit change infile/cake/libs/view/helpers/ajax.phpline 411$options['with'] =

Re: model_php4 issue - bug ? (maybe easyphp specific)

2006-04-26 Thread [EMAIL PROTECTED]
I have also gotten that second error when I was connecting to a blank database. There were no tables and I got that on calling $javascript-link(). So, check the database and make sure your primaryKey is defined. --~--~-~--~~~---~--~~ You received this message

Re: observeForm

2006-04-26 Thread [EMAIL PROTECTED]
One day I will set down and make an AJAX testbed for CakePHP. I have found numerous inconsistencies over the course of the RC's with regards to the AJAX helper. But please post this bug and the resolution on the trac. --~--~-~--~~~---~--~~ You received this

Re: model_php4 issue - bug ? (maybe easyphp specific)

2006-04-26 Thread Olivier percebois-Garve
Database is fully ok, because its an application I was upgrading from 2026 to 2378 final. Also I reproduced the bug on another application running 2378 final. [EMAIL PROTECTED] wrote: I have also gotten that second error when I was connecting to a blank database. There were no tables and I

Re: model_php4 issue - bug ? (maybe easyphp specific)

2006-04-26 Thread Olivier percebois-Garve
I installed WAMP and the code is working fine. So what I described is a easyphp specific issue. If there is easyphp users out there, it would be nice to test that code to confirm the bug. [EMAIL PROTECTED] wrote: I have also gotten that second error when I was connecting to a blank

Re: html select

2006-04-26 Thread williamn
Thank you V. It help very much. -- William --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email