Re: keep hitting mysql memory limit, even in Cake Shell when exporting large xml file

2009-07-27 Thread shabba
It seems like a PHP memory limit error rather than MySQL as Waither said, PHP on a standard install has a limit of 64mb, I never find this enough, especially dealing with largew datasets. Seting the memory limit to 128 should suffice, either in the actual file, or in the php.ini. Personally I

hasMany

2008-10-21 Thread shabba
So I am stuck on how to get this working correctly. This is what I want to happen: Many Records can belong to one Schedule with a maximum of 10 but that part doesnt matter as that comes in at validation.. So I have two tables the structure looks like this Records (PK) id - auto_incremental (FK)

Re: Default Date Format

2008-09-10 Thread shabba
Thats all very well, but i want to set it in $form-input On Sep 9, 7:03 pm, Yodi Aditya [EMAIL PROTECTED] wrote: use date function. in controller. for example, date('Y-m-d H:i:s') On 9/8/08, shabba [EMAIL PROTECTED] wrote: How do you set the default formatting for date. Its set to m-d-y

Default Date Format

2008-09-07 Thread shabba
How do you set the default formatting for date. Its set to m-d-y as default, this is great, but when you need user interaction and the standard is d-m-Y. Its really not practical to add formatting to each $form-input, is there a better way? --~--~-~--~~~---~--~~

Re: Auth Component - I'm going crazy

2008-08-27 Thread shabba
I also had this problem its caused because your not allowing a certain page. Action, my problem was that I had a element that was dynamically loading data. Instead I created a new layout just for the login that solved the problem. Here is what my app controller looks like. class AppController

Listing all table fields

2008-06-23 Thread shabba
I am creating a controller that outputs all of the table fields so the user can create a iTunes like playlists on the fly. Whats the best way to do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Form Helper

2008-03-28 Thread shabba
I'm trying to use the form helper to display drop down menu date fields. Now if I want to display datetime it works, but when I try and do the same thing for date I get this error: Warning (512): Method FormHelper::date does not exist [CORE/cake/libs/ view/helper.php, line 148] The code from my