Wild guess : Try putting all your (relevant) keys in the db LONGINT(or 
similar). looks like you reached 32 768 on some autoincrement/identity 
or smth .

If the value of the key at autoincrement field reached or passed the 
limit of the type you put in there, then you get errors.
Also the int is casted anyway to float if is beyond *PHP_INT_MAX*, and 
you get key conflicts. That would be 2 billion records or smth anyway on 
32 bit machines.

You should know better.

(and if you don't succeed please come back with details like PHP 
version, OS, database engine, processor type (32/64 bits), etc, I 
sincerely doubt is cake's fault )

D

bruceharrod wrote:
> Hello All,
>
> I have a cake app which logs and handles Orders and Quotes. Everything
> has been working well up to now but as of last night, the Quotes model
> doesn't want to save any more records.
>
> I currently have about 30K quotes already, could this be the problem?
>
> Just to test, I reverted back to simple scaffolding and tried to save
> an order manually. The validation error returned "please correct the
> errors" below. Although all the required fields were entered.
>
> How would having many records effect this save operation (presuming
> that is the issue)?
> Is this the only - or most efficient - way of saving the data?
>
>        $this->Quote->create();
>        $this->Quote->save($data);
>
> Help! Please let me know that using cake wasn't a mistake.
>
> Any insights would be greatly appreciated.
>
> >
>   




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to