---
title: "Fehler in class.t3lib_db.php on line 795 nach Typo3 4.2 Update"
url: "https://www.typo3.net/d/77539-fehler-in-classt3lib-dbphp-on-line-795-nach-typo3-42-update"
source: "typo3.net"
tags: ["Hosting","Installation & Update","Datenbank","Frage"]
created: "2008-05-21"
last_reply: "2009-09-01"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Fehler in class.t3lib_db.php on line 795 nach Typo3 4.2 Update

Hosting › Installation & Update · 1 Antwort · gestartet 2008-05-21

## Eröffnungsbeitrag

**Spyro** · 2008-05-21 · [Beitrag #1](https://www.typo3.net/d/77539-fehler-in-classt3lib-dbphp-on-line-795-nach-typo3-42-update/1)

Hi Leute,

bei mir kam nach dem Update im Pagetree folgender Fehler:

----Fehler----
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in .../typo3_src-4.2.0/t3lib/class.t3lib_db.php on line 795

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in .../typo3_src-4.2.0/t3lib/class.t3lib_db.php on line 835

Warning: Cannot modify header information - headers already sent by (output started at .../typo3_src-4.2.0/t3lib/class.t3lib_db.php:1137) in .../typo3_src-4.2.0/typo3/template.php on line 632
----Fehler----

Nachdem ich im install tool unter "5: All Configuration" das [sqlDebug] eingeschaltet hatte, bekam ich folgende Debausgabe:

----[sqlDebug]----
caller  	t3lib_DB::exec_SELECTquery
ERROR 	Unknown column 't3ver_move_id' in 'field list'
lastBuiltQuery 	SELECT uid,title,doktype,php_tree_stop,t3ver_id,t3ver_state,t3ver_wsid,t3ver_swapmode,t3ver_state,t3ver_move_id,hidden,starttime,endtime,fe_group,module,extendToSubpages,is_siteroot,alias,shortcut,shortcut_mode,mount_pid,mount_pid_ol,nav_hide,nav_title,url
FROM pages
WHERE
pid='0' AND pages.deleted=0 AND 1=1
ORDER BY sorting
debug_backtrace 	SC_alt_db_navframe->main#404 // webPageTree->getBrowsableTree#199 // webPageTree->getTree#378 // t3lib_treeView->getDataInit#406 // t3lib_DB->exec_SELECTquery#935 // t3lib_DB->debug#234
----[sqlDebug]----

Bei mir war die Lösung, dass ich im Install Tool unter "2: Database Analyser" die Tabellen neu angeglichen habe per "COMPARE"->"Write to database". Danach war wieder alles wie gewohnt.

Gruß,
Spyro

## Antworten

### [#2](https://www.typo3.net/d/77539-fehler-in-classt3lib-dbphp-on-line-795-nach-typo3-42-update/2) · franc · 2009-09-01

Uffa, oh ja. Das half auch mir:

Update von 4.0 auf 4.2, da erhielt ich im BE plötzlich solche Fehlermeldungen:

**MySQL Database Error: Unknown column 't3ver_move_id' in 'field list'**

Aber mit dem Installtool und der unter 2. durchgeführten DB-Reparatur (nur die Vorauswahl) gings.

Danke.

---

Quelle: „Fehler in class.t3lib_db.php on line 795 nach Typo3 4.2 Update“, typo3.net, https://www.typo3.net/d/77539-fehler-in-classt3lib-dbphp-on-line-795-nach-typo3-42-update
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
