---
title: "Probleme mit tt_address"
url: "https://www.typo3.net/d/70057-probleme-mit-tt-address"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2007-11-02"
last_reply: "2009-01-30"
replies: 9
solved: false
page: 1
pages: 1
lang: "de"
---

# Probleme mit tt_address

Extensions · 9 Antworten · gestartet 2007-11-02

## Eröffnungsbeitrag

**afleischmann** · 2007-11-02 · [Beitrag #1](https://www.typo3.net/d/70057-probleme-mit-tt-address/1)

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?

```typoscript
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!

## Antworten

### [#2](https://www.typo3.net/d/70057-probleme-mit-tt-address/2) · MatzeMetrix · 2007-11-14

Ich ahb exakt das selbe Problem. Über eine Lösung wäre auch ich dankbar.

### [#3](https://www.typo3.net/d/70057-probleme-mit-tt-address/3) · afleischmann · 2007-11-15

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

### [#4](https://www.typo3.net/d/70057-probleme-mit-tt-address/4) · StefanF · 2008-01-01

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:

```php
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

### [#5](https://www.typo3.net/d/70057-probleme-mit-tt-address/5) · Lefuet · 2008-01-15

Super Tip StefanF. Hat wunderbar geklappt. *freu*

### [#6](https://www.typo3.net/d/70057-probleme-mit-tt-address/6) · alf · 2008-03-10

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

gruß alf

### [#7](https://www.typo3.net/d/70057-probleme-mit-tt-address/7) · bge · 2008-06-16

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?

### [#8](https://www.typo3.net/d/70057-probleme-mit-tt-address/8) · waldosparding · 2008-07-26

Hallo zusammen,

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

Waldo

### [#9](https://www.typo3.net/d/70057-probleme-mit-tt-address/9) · Johnny · 2008-12-02

Die Lösung hat sehr gut funktioniert. Toll, danke.

### [#10](https://www.typo3.net/d/70057-probleme-mit-tt-address/10) · MilkyRay · 2009-01-30

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!

---

Quelle: „Probleme mit tt_address“, typo3.net, https://www.typo3.net/d/70057-probleme-mit-tt-address
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
