[TYPO3-irre] bekomme IRRE in eigener EXtension nicht zum laufen :(
Oliver Hader
oh at inpublica.de
Sun Jan 6 23:36:07 CET 2008
Hi Marcelin,
this is an english newsgroup/mailing-list. The chances are better to get
an answer if issues were written in english... ;)
marcelin schrieb:
> Hallo Community,
>
> habe gestern einmal die IRRE Demoext. angeschaut, dort funktioniert alles wunderbar ☺. Allerdings bekomme ich das ganze bei mir irgendwie nicht zum laufen. Ich habe insgesamt 3 Tabellen (Person, Course, Person_Course_Rel). Ich möchte gern das wenn ich Kurse angelegt habe, diese dann bei den Personen zur Auswahl stehen. Aber irgendwie bekomme ich immer einen mysql_fetch_row(): supplied argument is not a valid MySQL result resource Fehler. Hoffe das mir jemand helfen kann.
>
> Hier einmal mein Code :
>
> DB:
> #
> # Table structure for table 'tx_irretester_person_course_rel'
> #
> #
> CREATE TABLE tx_irretester_person_course_rel (
> person_fk int(11) DEFAULT '0' NOT NULL,
> course_fk int(11) DEFAULT '0' NOT NULL,
> tablenames varchar(30) DEFAULT '' NOT NULL,
> sorting int(11) DEFAULT '0' NOT NULL,
> KEY person_fk (person_fk),
> KEY course_fk (course_fk)
> );
The uid and pid field are missing. IRRE uses "regular TYPO3 tables" as
intermediate tables. Maybe you know the MM-tables - but here this is
something completely different.
Please have again a look to the "m:n asymmetric" part of the "IRRE
Tutorial" - available in the TER with the extension key "irre_tutorial".
olly
--
Oliver Hader
http://inpublica.de/
More information about the TYPO3-project-irre
mailing list