On Apr 16, 7:07 pm, "smithtrev...@googlemail.com" <smithtrev...@googlemail.com> wrote: > Thanks for your help mxcdex. > It all is working fine, except the line: > > $success = $this->Team->saveAll($xml['Teams']); > > This doesn't save anything, or appear to be doing anything. It doesn't > produce an error message, nor does it save the records. I've tried all > combinations of Team, Teams, team and teams. But none of them appear > to work. > > Any clues?
As far as errors go, what debug level do you have set in your cake app config? Does it produce any SQL? Also, for the xml at that url (the last I downloaded it), 'Teams' should be contain the array needed by saveAll to save multiple team records to the database. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---