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

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
for this table? On Jan 14, 3:02 pm, MrDevin mr.de...@gmail.com wrote: Thanks, This is a good idea. I am at home now I will try changing my controller in the morning. (posting from Germany) But I think that this has more to do with the Model which is called Datum but at this poin I am

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
think there 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 mr.de...@gmail.com wrote: Thanks, This is a good idea. I am at home now I will try changing my controller

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 mr.de...@gmail.com wrote: BTW tried changing my data_controller name and it made no difference I still get

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
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 mr.de...@gmail.com wrote: 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

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
, and want to see what happens in case of a saveAll after an edit operation. Enjoy,    John On Jan 15, 3:20 pm, MrDevin mr.de...@gmail.com wrote: 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

Re: saveAll() producing Fatal Error

2010-01-15 Thread MrDevin
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,    John On Jan 15, 4:30 pm, MrDevin mr.de...@gmail.com wrote: You understand correctly. WOW! thanks for putting so

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

Re: saveAll() producing Fatal Error

2010-01-14 Thread MrDevin
recognise the model to which the data belongs! Enjoy,    John On Jan 14, 3:07 pm, MrDevin mr.de...@gmail.com wrote: 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-erro

Re: saveAll() producing Fatal Error

2010-01-14 Thread MrDevin
] echo $form-hidden('Datum.[].id', array('value' = $field_datum ['id'])); [/code] I am grasping for straw here :D Enjoy,    John On Jan 14, 5:47 pm, MrDevin mr.de...@gmail.com wrote: When I do the following in my edit method [code] $this-Datum-saveAll($this-data) [/code] I get

Re: saveAll() producing Fatal Error

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

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

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 mr.de...@gmail.com wrote: Hi, I keep getting this error Fatal error: Class