Re: saveAll() producing Fatal Error

2010-01-18 Thread MrDevin
So, It is now monday morning, I ma back at work and implemented your solution and it worked immediately. thanks again. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Goog

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
he table column type, then the $model contains the > table name, not a model name, thus asking if $this->data isset - and > as we know, it is! > And thus this function tries to return a wrong result! > > Conclusion: Do not name your table "data" :) > > Enjoy, >

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
nd want to see what > happens in case of a saveAll after an edit operation. > Enjoy, >    John > > On Jan 15, 3:20 pm, MrDevin wrote: > > > > > i screwed up writing that > > > "Thanks for your patience " > > > is supposed to be on the e

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
i screwed up writing that "Thanks for your patience " is supposed to be on the end and have a period. :) On Jan 15, 2:19 pm, MrDevin wrote: > sorry for the confusion. > > the following code was from my schema snapshot schema_5.php I > believe. > This is only used to

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
sorry for the confusion. the following code was from my schema snapshot schema_5.php I believe. This is only used to to make sure my tables in MYSQL are structured correctly and not actively running anywhere. [code snippet] //this is from my latest schema snapshot var $data = array( 'id' =>

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
@john thanks I tried making data_controller > dataaa_controller and changing all references to it but sadly no luck still the exact same problem. On Jan 15, 10:00 am, MrDevin wrote: > BTW tried changing my data_controller name and it made no difference I > still get the s

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
is something with the > data and either your model or your database. can you show us both your > model and database scheme for this table? > > On Jan 14, 3:02 pm, MrDevin wrote: > > > > > Thanks, > > This is a good idea. I am at home now I will try changing my > >

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
e' => 'integer', 'null' => true, 'default' => NULL), 'status_id' => array('type' => 'integer', 'null' => true, 'default' => NULL), 'value' => array('type' => 

Re: saveAll() producing Fatal Error

2010-01-14 Thread MrDevin
: > could calling your control data be a conflict with cakephp? > > On Jan 14, 11:37 am, MrDevin wrote: > > > > > First of all thanks for your insight and taking the time to help. :D > > > if $this->data['Datum'] is as follows: &

Re: saveAll() producing Fatal Error

2010-01-14 Thread MrDevin
dit array does not start > from 0! > Could your view be made to not include the id as the array key? Like: > > [code] > echo $form->hidden('Datum.[].id', array('value' => $field_datum > ['id'])); > [/code] > > I am grasping for straw

Re: saveAll() producing Fatal Error

2010-01-14 Thread MrDevin
;saveAll($this->data) > [/code] > > so that the model, when processing the data, can recognise the model > to which the data belongs! > Enjoy, >    John > > On Jan 14, 3:07 pm, MrDevin wrote: > > > > > This is also posted on stackoverflow if you would l

saveAll() producing Fatal Error

2010-01-14 Thread MrDevin
This is also posted on stackoverflow if you would like to see it with syntax highlighting and such. http://stackoverflow.com/questions/2063703/cakephp-saveall-fatal-error-call-to-a-member-function-getcolumntype So I am creating a form builder. Users will login and then fillout the forms that Admin

Re: Fatal error: Class 'ErrorHandler' not found

2009-11-27 Thread MrDevin
sorry found the problem I had a model and a controller that were called error and errors this messed everything up I believe all is fixed now thanks anyhow. Have a great weekend, Devin On Nov 27, 1:10 pm, MrDevin wrote: > Hi, > > I keep getting this error > > "Fatal error:

Fatal error: Class 'ErrorHandler' not found

2009-11-27 Thread MrDevin
Hi, I keep getting this error "Fatal error: Class 'ErrorHandler' not found in /cake/libs/object.php on line 203" That is all that gets printed on the screen. Funny thing is that I am not doing any error handling yet. (aka: not using appError) So far I have tracked do one way to fix it but it is