Yippi, it works! I updated XAMPP to Version 1.7.2 with PHP 5.3 and Apache 2.2.12 Problem solved. I can advise anyone to use the newest PHP and Apache version. They also seem to be much faster.
On Dec 21, 1:22 am, Tobias <[email protected]> wrote: > Thanks for the answer. > I already use XAMPP 1.6.8 > Another issue is that even without the second embedRelation this piece > of code raises the same exception: > > public function executeNew(sfWebRequest $request) > { > $teammatch = new Teammatch(); > > $badmintonMatches = array('1.HD', 'DD', '2.HD', 'DE', 'Mix', > '1.HE', '2.HE', '3.HE'); > foreach ($badmintonMatches as $badmintonMatchType) { > $match = new Match(); > $match['match_type'] = $badmintonMatchType; > $teammatch['Matches'][] = $match; > } > > $this->form = new TeammatchForm($teammatch); > } > > Do you know why this happens or have a workaround? I don't really > think it has to do with apache. > But you can assure that recursive embedRelations do work for you? > > On Dec 19, 2:28 am, ScherlOMatic <[email protected]> > wrote: > > > I'm not sure but I guess there's a problem with your apache version. > > > Maybe you could try to update or to use xampp package instead. > > I'm developing on Windows as well and I never expected problems with > > the embedRelation() function. > > > Sincerly, Stefan > > > On 17 Dez., 15:21, Tobias <[email protected]> wrote: > > > > Hello, > > > > I have a Doctrine Form (Teammatch) which consists of several Matches > > > which themselves have several Games. > > > > So I have a recursive embedded Relation like this: > > > > class TeammatchForm extends BaseTeammatchForm > > > { > > > public function configure() > > > { > > > $this->embedRelation('Matches'); > > > } > > > > } > > > > class MatchForm extends BaseMatchForm > > > { > > > public function configure() > > > { > > > $this->embedRelation('Games'); > > > } > > > > } > > > > But it doesn't work. I get a Win32 Exception in apache.exe and the > > > connection is lost. > > > Without $this->embedRelation('Games'); it works fine. So it must have > > > to do with the recursion. > > > > Does anybody know a workaround? > > > > Thanks -- You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en.
