Zum Inhalt springen

Probleme mit tt_address

Erstellt am 2. November 2007 · 9 Antworten · letzte Antwort am 30. Januar 2009

Tags: Frage

afleischmann ·

Hallo
ich habe Probleme mit der tt_address

ich habe die aktuelle Version aus dem rep. installiuert; soweit scheints ok.
hane einen sysordner angelegt --> ok
in diesem eine adressgruppe angelegt --> ok
adresse angelegt --> fehlermeldung (siehe unten)

kann dann auch nicht mehr auf den sysorder zugreifen;
da kommt oben eine mysql fehlermeldung; die adressgruppe taucht auf, die angelegte adresse leider nicht :-(

was läuft da schief?

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 783

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 796

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 796

Warning: reset(): Passed variable is not an array or object in /homepages/httpd/kjrschwandorf/dummy-4.0.1/typo3conf/ext/mc_autokeywords/class.tx_mcautokeywords.php on line 228

Warning: Variable passed to each() is not an array or object in /homepages/httpd/kjrschwandorf/dummy-4.0.1/typo3conf/ext/mc_autokeywords/class.tx_mcautokeywords.php on line 229

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 796

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 796

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 823

Warning: Cannot modify header information - headers already sent by (output started at /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/t3lib/class.t3lib_db.php:783) in /homepages/httpd/kjrschwandorf/typo3_src-4.1.2/typo3/alt_doc.php on line 1458

danke!

afleischmann ·

ich hab jetzt mal die tt_addresss deinstalliert
danach ein db compare durchgeführt
jetzt tt_address wieder installiert
db compare und da bekomme ich ndiese meldung:

Update database tables and fields:
Table and field definitions should be updated
There seems to be a number of differencies between the database and the selected SQL-file. Please select which statements you want to execute in order to update your database:

Add fields
ALTER TABLE tt_address ADD uid int(11) unsigned NOT NULL auto_increment;
ALTER TABLE tt_address ADD PRIMARY KEY (uid);

weiter passiert nichts...

jemand eine idee?

kann es an der php version 5.1.2 liegen?
Typo3 4.1.3
Apache 2.0.54

adam

StefanF ·

Hallo, ich habe das Problem denke ich gelöst ;-)

In der Tabelle tt_address fehlt die Spalte "uid". Diese kann komischerweise aus dem Install-Tool nicht angelegt werden. Ich bin also ins PHPmyAdmin FE, dort auf die Tabelle und habe per Hand als SQL-Befehl die fehlende Spalte eingefügt:

Dabei habe ich folgendes probiert:

ALTER TABLE tt_address ADD uid int(11) unsigned NOT NULL auto_increment;
ALTER TABLE tt_address ADD PRIMARY KEY (uid);

Hierbei kam es zu einer Fehlermeldung, da nur ein auto_increment wert enthalten sein darf, obwohl es mit diesem eigentlich nur einer wäre. Ich habe also die deklaration als auto_increment weggelassen und den Wert eingefügt. Danach habe ich den Eintrag im FE bearbeitet und als Extra den Wert auto_increment hinzugefügt.

Nun gehts.

Grüße, Stefan

alf ·

Endlich eine antwort gefunden. Vielen vielen Dank. Das hat mir sehr geholfen.

gruß alf

bge ·

Vielen Dank,

aber ich verstehe immer noch nicht wie diese Tabelle ohne uid erstellt werden konnte. Ich habe leider bei der Installation des Direct Mail vergessen erst die tt_Address einzurichten. Hat jemand eine Idee wie ich das bei dependencies geschafft hab?

waldosparding ·

Hallo zusammen,

ich hatte das gleiche Problem. Ursache bei mir die "cal"-Extensions.
Man muss zuerst tt_address und dann cal installieren.

Waldo

MilkyRay ·

Super, dass war auch die Lösung für mi, sql ist gleich gegangen mit
ALTER TABLE `tt_address` ADD `uid` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST ;

thanx!