Re: saveAll() not inserting related id pt II

2008-09-28 Thread trustfundbaby
This is on a local machine. On Sep 26, 4:00 am, Penfold [EMAIL PROTECTED] wrote: Are you hosting locally or with a web host? as some hosting providers turn transaction support off, so that can cram on more users per server. On 25 Sep, 18:53, trustfundbaby [EMAIL PROTECTED] wrote: just

Re: saveAll() not inserting related id pt II

2008-09-26 Thread Penfold
Are you hosting locally or with a web host? as some hosting providers turn transaction support off, so that can cram on more users per server. On 25 Sep, 18:53, trustfundbaby [EMAIL PROTECTED] wrote: just took a look and the tables were already in innodb On Sep 23, 10:05 am, teknoid [EMAIL

Re: saveAll() not inserting related id pt II

2008-09-25 Thread trustfundbaby
just took a look and the tables were already in innodb On Sep 23, 10:05 am, teknoid [EMAIL PROTECTED] wrote: It may work, but it may not work correctly. MyIsam tables do not support transactions, so there is not point in doing saveAll() for multiple models. On Sep 23, 5:59 am, trustfundbaby

Re: saveAll() not inserting related id pt II

2008-09-23 Thread [EMAIL PROTECTED]
Thanks for bumping this, I never really got anywhere close to fixing this and went back to old loop method. I'll keep an eye on this now. On Sep 23, 6:53 am, trustfundbaby [EMAIL PROTECTED] wrote: Okay ... I'll do that. On Sep 22, 11:46 pm, teknoid [EMAIL PROTECTED] wrote: You might want

Re: saveAll() not inserting related id pt II

2008-09-23 Thread trustfundbaby
So why does it work in PHP5 with myisam tables? On Sep 23, 4:34 am, Penfold [EMAIL PROTECTED] wrote: Hi, Your table needs to be innodb for the saveall function to work properly. as the auto insert id relies on transactions to work. On 23 Sep, 09:29, [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: saveAll() not inserting related id pt II

2008-09-23 Thread Penfold
Hi, Your table needs to be innodb for the saveall function to work properly. as the auto insert id relies on transactions to work. On 23 Sep, 09:29, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks for bumping this, I never really got anywhere close to fixing this and went back to old loop

Re: saveAll() not inserting related id pt II

2008-09-23 Thread [EMAIL PROTECTED]
Well that explains my problem - many thanks. On Sep 23, 10:34 am, Penfold [EMAIL PROTECTED] wrote: Hi, Your table needs to be innodb for the saveall function to work properly. as the auto insert id relies on transactions to work. On 23 Sep, 09:29, [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: saveAll() not inserting related id pt II

2008-09-23 Thread teknoid
It may work, but it may not work correctly. MyIsam tables do not support transactions, so there is not point in doing saveAll() for multiple models. On Sep 23, 5:59 am, trustfundbaby [EMAIL PROTECTED] wrote: So why does it work in PHP5 with myisam tables? On Sep 23, 4:34 am, Penfold [EMAIL

saveAll() not inserting related id pt II

2008-09-22 Thread trustfundbaby
Just wanted to follow up on this thread http://is.gd/2XoO, because I'm having the same exact problem I've been trying to figure this one out for the last 5 hours (so no sleep yet :] ... ) cakephp version: 1.2RC2 Mysql version: 4.1 PHP version: various (see post) I have a 'Question' model that

Re: saveAll() not inserting related id pt II

2008-09-22 Thread trustfundbaby
bump? On Sep 22, 10:17 am, trustfundbaby [EMAIL PROTECTED] wrote: Just wanted to follow up on this threadhttp://is.gd/2XoO, because I'm having the same exact problem I've been trying to figure this one out for the last 5 hours (so no sleep yet :] ... ) cakephp version: 1.2RC2 Mysql

Re: saveAll() not inserting related id pt II

2008-09-22 Thread teknoid
You might want to create a bug report for this. Be sure to include a test case illustrating your problem, and specify the exact PHP version you are having trouble with. Take a look at the existing test cases to see how to write one, if you haven't done it before. On Sep 22, 11:21 pm,

Re: saveAll() not inserting related id pt II

2008-09-22 Thread trustfundbaby
Okay ... I'll do that. On Sep 22, 11:46 pm, teknoid [EMAIL PROTECTED] wrote: You might want to create a bug report for this. Be sure to include a test case illustrating your problem, and specify the exact PHP version you are having trouble with. Take a look at the existing test cases to see