[TYPO3-german] Fatal error: Allowed memory size
JCL - Johannes C. Laxander
jc at laxander.com
Wed Feb 25 17:37:14 CET 2015
Hallo,
bin bei diesem Problem leider nicht weitergekommen. Wer kann mir hier bite weiterhelfen???
Johannes.
>
>
> NACHTRAG:
>
> Auf einer Seite, auf der aufgrund der Suchkriterien
> korrekterweise keine Datensätze gefunden / ausgegeben werden,
> wird Extbase var_dump 2.047 mal ausgegeben:
> TYPO3\CMS\Extbase\Persistence\Generic\QueryResultprototypeobje
ct (empty) !???
>
>
> > Hallo Bernd,
> >
> > > >
> > > > Eigenartig ist, dass die Extension bis Anfang der Woche
> > > ohne diesen Fehler gelaufen ist!?
> > > >
> > >
> > > was hat sich zu dem Zeitpunkt geändert?
> > > welche Updates/Änderungen hat es gegeben?
> > > - Daten
> > > - TYPO3
> > > - extensions
> > > - Server (apache, php, VM, ...)
> >
> >
> > Was sich geändert hat? Gute Frage! "Eigentlich" nichts, was darauf
> > einen direkt Einfluss hätte.
> >
> > Daten habe ich übeprüft, die sind i.O.
> > TYPO3: kein Update
> > Extensions: keine neue installiert und auch kein Update
> > Server: nicht bekannt; aber eher nicht, weil ich da
> informiert worden
> > wäre.
> >
> > Inzwischen habe ich mit var_dump im Repository herausgefunden, dass
> > mein "return $query->execute();" x Mal ausgeführt wird,
> öfters sogar
> > als aufgrund der Abfrage Datensätze vorhanden sind. Das
> verstehe ich
> > nicht!???
> >
> > In meinem List-Template habe ich diese Verarbeitungsstruktur:
> >
> > <f:if condition="{cruises}">
> > <f:then>
> > <f:for each="{cruises}" as="cruise"
> > iteration="cruiseIterator">
> > <f:cycle values="{0: 'even', 1: 'odd'}" as="class">
> > <tr class="tr-{class}
> > tr-{cruiseIterator.index}{f:if(condition:cruiseIterator.isLast
> > , then: ' tr-last')}" >
> > ...
> > </f:cycle>
> > </f:for>
> > </f:then>
> > <f:else>
> > ...
> > </f:else>
> > </f:if>
> >
> > In meiner listAction() lese ich mit einer eigenen Find-Funktion:
> >
> > $cruises =
> > $this->cruiseRepository->findBySelectedCriteria($this->settings);
> > $this->view->assign('cruises', $cruises);
> >
> > Ich kann bisher nicht erkennen, wo es haken soll!
> >
> >
> > Repository: findBySelectedCriteria()
> > Extbase Variable Dump von "$query->execute()" (nach mehr als 70
> > Auflistungen im Browser abgebrochen):
> >
> > TYPO3\CMS\Extbase\Persistence\Generic\QueryResultprototypeobje
> ct (21 items)
> > 0 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=189, pid=102)
> > 1 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=185, pid=102)
> > 2 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=188, pid=102)
> > 3 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=184, pid=102)
> > 4 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=20, pid=102)
> > 5 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=108, pid=102)
> > 6 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=110, pid=102)
> > 7 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=14, pid=102)
> > 8 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=111, pid=102)
> > 9 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=112, pid=102)
> > 10 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=107, pid=102)
> > 11 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=113, pid=102)
> > 12 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=106, pid=102)
> > 13 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=105, pid=102)
> > 14 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=104, pid=102)
> > 15 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=103, pid=102)
> > 16 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=193, pid=102)
> > 17 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=102, pid=102)
> > 18 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=114, pid=102)
> > 19 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=25, pid=102)
> > 20 => XXX\Extension\Domain\Model\Cruiseprototypepersistent
> > entity (uid=115, pid=102)
> >
> > Johannes.
> >
> > _______________________________________________
> > TYPO3-german mailing list
> > TYPO3-german at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
> >
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>
More information about the TYPO3-german
mailing list