---
title: "Diverse Warning und kein Ergebnis mehr"
url: "https://www.typo3.net/d/76213-diverse-warning-und-kein-ergebnis-mehr"
source: "typo3.net"
tags: ["Extensions","Datenbank","Frage","Suche","TYPO3 4"]
created: "2008-04-17"
last_reply: "2008-04-23"
replies: 3
solved: false
page: 1
pages: 1
lang: "de"
---

# Diverse Warning und kein Ergebnis mehr

Extensions · 3 Antworten · gestartet 2008-04-17

## Eröffnungsbeitrag

**m3typo3** · 2008-04-17 · [Beitrag #1](https://www.typo3.net/d/76213-diverse-warning-und-kein-ergebnis-mehr/1)

Hallo Typo'ler,

ich bin ratlos und bitte um Hilfe. Bei einem unserer Typo3 Projekte funktioniert seit heute die Suchfunktion nicht mehr bzw. werden Warnings ausgegeben, die ich mir nicht erklären kann. Das Suchergebnis bleibt leer.

```html
Warning: mysql_query(): Unable to save result set in /typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 226

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /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 /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 /typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 796

Warning: Cannot modify header information - headers already sent by (output started at /typo3_src-4.1.2/t3lib/class.t3lib_db.php:226) in /typo3_src-4.1.2/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2907

Warning: Cannot modify header information - headers already sent by (output started at /typo3_src-4.1.2/t3lib/class.t3lib_db.php:226) in /typo3_src-4.1.2/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2920
```

[Link zur Seite](http://www.nabuk-europa.de/index.php?id=141) ... die Fehler bzw. Warnings erscheinen bei ausführen der Suche!

Es wurden keine Veränderungen an der Datenbank oder dem Typo System vorgenommen.

Hier im Forum habe ich ein [ähnliches Problem](https://www.typo3.net/d/43678-diverse-warnings-beim-speichern-im-be) recherchiert und bin auch den Lösungsansatz mit "repair table" nachgegangen ... ohne Erfolg. Im phpMyAdmin wird keine Tabelle als "marked as crashed" gekennzeichnet!

Was muss ich prüfen? Wo muss ich nachschauen? Was muss ich tun um diesen Fehler schnellstmöglich zu beheben?

m3typo3

P.S. Beim Provider (Mittwald) habe ich noch nicht nachgefragt ob es evtl eine Änderung am System gegeben hat.

## Antworten

### [#2](https://www.typo3.net/d/76213-diverse-warning-und-kein-ergebnis-mehr/2) · just2b · 2008-04-19

install tool sqldebug einschalten, dann fehlermeldung anschauen/posten

georg

### [#3](https://www.typo3.net/d/76213-diverse-warning-und-kein-ergebnis-mehr/3) · m3typo3 · 2008-04-22

Danke für den Tip, ich hab das mal gemacht ... muss aber ehrlich sagen das ich da nicht durchsehe ... aber ich denke euch ´sagt das alles was ;)

```html
Warning: mysql_query(): Unable to save result set in /typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 226
caller	t3lib_DB::exec_SELECTquery
ERROR	Der Server wird herunter gefahren...
lastBuiltQuery	SELECT IR.phash
FROM index_words IW,
index_rel IR,
index_section ISEC
WHERE
IW.baseword LIKE '%test%'
AND IW.wid=IR.wid
AND ISEC.phash = IR.phash
AND ISEC.rl0 IN (1)
AND is_stopword=0
GROUP BY IR.phash
debug_backtrace	tslib_fe->intincscript // tslib_cobj->user // tslib_cobj->calluserfunction // call_user_method // tx_indexedsearch->main // tx_indexedsearch->dosearch // tx_indexedsearch->getresultrows // tx_indexedsearch->getresultrows_sqlpointer // tx_indexedsearch->getphashlist // tx_indexedsearch->execphashlistquery // t3lib_db->exec_selectquery // t3lib_db->debug
caller	t3lib_DB::exec_INSERTquery
ERROR	Lost connection to MySQL server during query
lastBuiltQuery	INSERT INTO index_stat_search
(
searchstring,
searchoptions,
feuser_id,
cookie,
IP,
hits,
tstamp
) VALUES (
'test',
'a:3:{i:0;a:15:{s:9:\"extResume\";s:1:\"1\";s:4:\"type\";s:1:\"1\";s:5:\"group\";s:4:\"flat\";s:9:\"_sections\";s:1:\"0\";s:13:\"_freeIndexUid\";s:1:\"_\";s:7:\"pointer\";s:1:\"0\";s:5:\"sword\";s:4:\"test\";s:7:\"results\";i:10;s:5:\"defOp\";i:0;s:8:\"sections\";i:0;s:12:\"freeIndexUid\";i:-1;s:5:\"media\";i:-1;s:5:\"order\";s:9:\"rank_flag\";s:4:\"lang\";i:-1;s:4:\"desc\";i:0;}i:1;a:1:{i:0;a:2:{s:5:\"sword\";s:4:\"test\";s:4:\"oper\";s:3:\"AND\";}}i:2;a:3:{i:0;d:1208859308142;i:1;d:1208859326994;i:2;d:1208859326994;}}',
'0',
'',
'217.18.185.50',
'0',
'1208859307'
)
debug_backtrace	tslib_fe->intincscript // tslib_cobj->user // tslib_cobj->calluserfunction // call_user_method // tx_indexedsearch->main // tx_indexedsearch->dosearch // tx_indexedsearch->writesearchstat // t3lib_db->exec_insertquery // t3lib_db->debug
caller	t3lib_DB::exec_SELECTquery
ERROR	MySQL server has gone away
lastBuiltQuery	SELECT *
FROM pages
WHERE
uid=141 AND pages.deleted=0 AND pages.hidden=0 AND (pages.starttime<=1208859307) AND (pages.endtime=0 OR pages.endtime>1208859307) AND NOT(pages.t3ver_state=1) AND pages.doktype<200 AND (pages.fe_group='' OR pages.fe_group IS NULL OR pages.fe_group='0' OR (pages.fe_group LIKE '%,0,%' OR pages.fe_group LIKE '0,%' OR pages.fe_group LIKE '%,0' OR pages.fe_group='0') OR (pages.fe_group LIKE '%,-1,%' OR pages.fe_group LIKE '-1,%' OR pages.fe_group LIKE '%,-1' OR pages.fe_group='-1'))
debug_backtrace	tslib_fe->intincscript // tslib_cobj->user // tslib_cobj->calluserfunction // call_user_method // tx_indexedsearch->main // tx_indexedsearch->makesearchform // tx_indexedsearch->pi_getpagelink // tslib_cobj->gettypolink_url // tslib_cobj->gettypolink // tslib_cobj->typolink // t3lib_pageselect->getpage // t3lib_db->exec_selectquery // t3lib_db->debug

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 796
caller	t3lib_DB::exec_SELECTquery
ERROR	MySQL server has gone away
lastBuiltQuery	SELECT content
FROM cache_hash
WHERE
hash='823735b186d44e917dade3543614dc0d'
debug_backtrace	tslib_fe->intincscript // tslib_cobj->user // tslib_cobj->calluserfunction // call_user_method // tx_indexedsearch->main // tx_indexedsearch->makesearchform // tslib_cobj->substitutemarkerarraycached // t3lib_pageselect->gethash // t3lib_db->exec_selectquery // t3lib_db->debug

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 796
caller	t3lib_DB::exec_DELETEquery
ERROR	MySQL server has gone away
lastBuiltQuery	DELETE FROM cache_hash
WHERE
hash='823735b186d44e917dade3543614dc0d'
debug_backtrace	tslib_fe->intincscript // tslib_cobj->user // tslib_cobj->calluserfunction // call_user_method // tx_indexedsearch->main // tx_indexedsearch->makesearchform // tslib_cobj->substitutemarkerarraycached // t3lib_pageselect->storehash // t3lib_db->exec_deletequery // t3lib_db->debug
caller	t3lib_DB::exec_INSERTquery
ERROR	MySQL server has gone away
lastBuiltQuery	INSERT INTO cache_hash
(
hash,
content,
ident,
tstamp
) VALUES (
'823735b186d44e917dade3543614dc0d',
'a:2:{s:1:\"c\";a:3:{i:0;s:31:\"\r\n <input type=\"hidden\" name=\"\";i:1;s:9:\"\" value=\"\";i:2;s:8:\"\" />\r\n \";}s:1:\"k\";a:2:{i:0;s:22:\"###HIDDEN_FIELDNAME###\";i:1;s:18:\"###HIDDEN_VALUE###\";}}',
'substMarkArrayCached',
'1208859326'
)
debug_backtrace	tslib_fe->intincscript // tslib_cobj->user // tslib_cobj->calluserfunction // call_user_method // tx_indexedsearch->main // tx_indexedsearch->makesearchform // tslib_cobj->substitutemarkerarraycached // t3lib_pageselect->storehash // t3lib_db->exec_insertquery // t3lib_db->debug
caller	t3lib_DB::exec_SELECTquery
ERROR	MySQL server has gone away
lastBuiltQuery	SELECT content
FROM cache_hash
WHERE
hash='2919bc3053f9378c2177366921657fe5'
debug_backtrace	tslib_fe->intincscript // tslib_cobj->user // tslib_cobj->calluserfunction // call_user_method // tx_indexedsearch->main // tx_indexedsearch->makesearchform // tslib_cobj->substitutemarkerarraycached // t3lib_pageselect->gethash // t3lib_db->exec_selectquery // t3lib_db->debug

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 796
caller	t3lib_DB::exec_DELETEquery
ERROR	MySQL server has gone away
lastBuiltQuery	DELETE FROM cache_hash
WHERE
hash='2919bc3053f9378c2177366921657fe5'
debug_backtrace	tslib_fe->intincscript // tslib_cobj->user // tslib_cobj->calluserfunction // call_user_method // tx_indexedsearch->main // tx_indexedsearch->makesearchform // tslib_cobj->substitutemarkerarraycached // t3lib_pageselect->storehash // t3lib_db->exec_deletequery // t3lib_db->debug
caller	t3lib_DB::exec_INSERTquery
ERROR	MySQL server has gone away
lastBuiltQuery	INSERT INTO cache_hash
(
hash,
content,
ident,
tstamp
) VALUES (
'2919bc3053f9378c2177366921657fe5',
'a:2:{s:1:\"c\";a:6:{i:0;s:77:\"\r\n<div class=\"tx-indexedsearch-searchbox searchbox-tmpl-css\">\r\n<form action=\"\";i:1;s:1077:\"\" method=\"post\" name=\"tx_indexedsearch\">\r\n <div>\r\n <input type=\"hidden\" name=\"tx_indexedsearch[_sections]\" value=\"0\" />\r\n <input type=\"hidden\" name=\"tx_indexedsearch[_freeIndexUid]\" value=\"_\" />\r\n <input type=\"hidden\" name=\"tx_indexedsearch[pointer]\" value=\"0\" />\r\n \r\n <input type=\"hidden\" name=\"tx_indexedsearch[ext]\" value=\"\" />\r\n \r\n <input type=\"hidden\" name=\"tx_indexedsearch[type]\" value=\"1\" />\r\n \r\n <input type=\"hidden\" name=\"tx_indexedsearch[defOp]\" value=\"0\" />\r\n \r\n <input type=\"hidden\" name=\"tx_indexedsearch[media]\" value=\"-1\" />\r\n \r\n <input type=\"hidden\" name=\"tx_indexedsearch[order]\" value=\"rank_flag\" />\r\n \r\n <input type=\"hidden\" name=\"tx_indexedsearch[group]\" value=\"flat\" />\r\n \r\n <input type=\"hidden\" name=\"tx_indexedsearch[lang]\" value=\"-1\" />\r\n \r\n <input type=\"hidden\" name=\"tx_indexedsearch[desc]\" value=\"0\" />\r\n \r\n <input type=\"hidden\" name=\"tx_indexedsearch[results]\" value=\"10\" />\r\n \r\n </div>\r\n\r\n <fieldset>\r\n <legend>Suchformular</legend>\r\n\r\n <div class=\"tx-indexedsearch-form\">\r\n <label for=\"tx-indexedsearch-searchbox-sword\">\";i:2;s:70:\"</label>\r\n <input type=\"text\" name=\"tx_indexedsearch[sword]\" value=\"\";i:3;s:237:\"\" id=\"tx-indexedsearch-searchbox-sword\" class=\"tx-indexedsearch-searchbox-sword sword\" />&nbsp;\r\n </div>\r\n\r\n \r\n\r\n \r\n <div class=\"tx-indexedsearch-search-submit\">\r\n <input type=\"submit\" name=\"tx_indexedsearch[submit_button]\" value=\"\";i:4;s:129:\"\" id=\"tx-indexedsearch-searchbox-button-submit\" class=\"tx-indexedsearch-searchbox-button submit\" />\r\n </div>\r\n </fieldset>\r\n <p>\";i:5;s:23:\"</p>\r\n</form>\r\n</div>\r\n\";}s:1:\"k\";a:5:{i:0;s:16:\"###ACTION_URL###\";i:1;s:20:\"###FORM_SEARCHFOR###\";i:2;s:17:\"###SWORD_VALUE###\";i:3;s:17:\"###FORM_SUBMIT###\";i:4;s:21:\"###LINKTOOTHERMODE###\";}}',
'substMarkArrayCached',
'1208859327'
)
debug_backtrace	tslib_fe->intincscript // tslib_cobj->user // tslib_cobj->calluserfunction // call_user_method // tx_indexedsearch->main // tx_indexedsearch->makesearchform // tslib_cobj->substitutemarkerarraycached // t3lib_pageselect->storehash // t3lib_db->exec_insertquery // t3lib_db->debug

Warning: Cannot modify header information - headers already sent by (output started at /typo3_src-4.1.2/t3lib/class.t3lib_db.php:226) in /typo3_src-4.1.2/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2907

Warning: Cannot modify header information - headers already sent by (output started at /typo3_src-4.1.2/t3lib/class.t3lib_db.php:226) in /typo3_src-4.1.2/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2920
 
caller	t3lib_DB::exec_INSERTquery
ERROR	MySQL server has gone away
lastBuiltQuery	INSERT INTO sys_stat
(
page_id,
page_type,
jumpurl,
feuser_id,
cookie,
sureCookie,
rl0,
rl1,
client_browser,
client_version,
client_os,
parsetime,
flags,
IP,
host,
referer,
browser,
tstamp
) VALUES (
'141',
'0',
'',
'',
'264efafd90',
'642710269',
'1',
'141',
'net',
'5',
'win',
'19567',
'3',
'217.18.185.50',
'',
'[LOCAL]',
'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14',
'1208859307'
)
debug_backtrace	tslib_fe->statistics // t3lib_db->exec_insertquery // t3lib_db->debug
```

Hier nochmal als [PDF (Bildschirmausdruck)](http://www.nabuk-europa.de/fileadmin/tmp/sqldebug_22-04-2008.pdf) weil das obere ja etwas unübersichtlich ist.

### [#4](https://www.typo3.net/d/76213-diverse-warning-und-kein-ergebnis-mehr/4) · m3typo3 · 2008-04-23

Nachdem ich mir die DB mal von näherem angesehen habe, musste ich mit Erstaunen feststellen das die Tabelle index_rel etwas über 7 Millionen Einträge hatte und ca. 350MB groß ist ... nachdem ich alle index_ Tabellen geleert habe ist auch die Fehlermeldung weg bzw. funktioniert die Suche wieder.

Jetzt aber meine Fragen:

1. Muss ich bzw. der Kunde die Indizierung pflegen? Also ab und an löschen und neu indizieren?

2. Wie kann ich diesem Problem in Zukunft vorbeugen?

Vielen Dank für eure Mühen!

---

Quelle: „Diverse Warning und kein Ergebnis mehr“, typo3.net, https://www.typo3.net/d/76213-diverse-warning-und-kein-ergebnis-mehr
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
