Zum Inhalt springen

Probleme mit Login User Tracking

Erstellt am 4. April 2006 · 1 Antwort · letzte Antwort am 5. April 2006

Tags: Frage

Shinak ·

Hallo @ all

Ich habe ein Problem mit der Extensoin Login User Tracking deren installation auch in dem Video QuickStart Typo3 3.5.0 von Kasper beschrieben wird.
Sobald ich in das Template Setup config.tx_loginusertrack_enable = 1 schreibe bekomme ich im Frontend nurnoch Fehlermeldungen.

config["config"]["tx_loginusertrack_enable"]) { if (is_array($this->fe_user->user)) { if (t3lib_div::GPvar("logintype")=="login") { $this->ext_addNewEntry(); } else { $this->ext_updateEntry(); } } } } function ext_addNewEntry() { $query="INSERT INTO tx_loginusertrack_stat (fe_user,session_login,last_page_hit,session_hit_counter,page_id) VALUES (".intval($this->fe_user->user["uid"]).",".time().",".time().",1,".intval($this->id).")"; $res=mysql(TYPO3_db,$query); echo mysql_error(); } function ext_updateEntry() { $query = "SELECT * FROM tx_loginusertrack_stat WHERE fe_user=".intval($this->fe_user->user["uid"])." ORDER BY session_login DESC LIMIT 1"; $res = mysql(TYPO3_db,$query); $row=mysql_fetch_assoc($res); if (is_array($row)) { $query = "UPDATE tx_loginusertrack_stat SET last_page_hit=".time().", session_hit_counter=".intval($row["session_hit_counter"]+1)." WHERE uid=".intval($row["uid"]); $res = mysql(TYPO3_db,$query); } } } ?>
Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\typo\typo3conf\ext\loginusertrack\class.ux_tslib_fe.php:1) in D:\wamp\www\typo\t3lib\class.t3lib_userauth.php on line 290

Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\typo\typo3conf\ext\loginusertrack\class.ux_tslib_fe.php:1) in D:\wamp\www\typo\t3lib\class.t3lib_userauth.php on line 291

Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\typo\typo3conf\ext\loginusertrack\class.ux_tslib_fe.php:1) in D:\wamp\www\typo\t3lib\class.t3lib_userauth.php on line 292

Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\typo\typo3conf\ext\loginusertrack\class.ux_tslib_fe.php:1) in D:\wamp\www\typo\t3lib\class.t3lib_userauth.php on line 293

Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\typo\typo3conf\ext\loginusertrack\class.ux_tslib_fe.php:1) in D:\wamp\www\typo\tslib\class.tslib_fe.php on line 2614

Wenn ich in die Details der Extensoin gehe steht da und Database status:Table error!
Probably one or more required fields/tables are missing in the database!

und unter Errors:Some tables or fields are missing!

Ich habe in PHP Myadmin die Tabelen und Felder überprüft und habe keinen fehler oder fehlende Felder/Tabellen gefunden.

Ich betreibe Typo3 ver.quickstart-3.8.1 mom auf meinen Windes Xp Rechner mit WAMP ver.1.6.1 mit Apache/2.0.55, MySQL 5.0.18-nt und PHP 5.1.2