Diverse Warning und kein Ergebnis mehr wurde Beantwortet

Autor Nachricht
Verfasst am: 17.04.2008 [15:13]
m3typo3


[Themenersteller]
dabei seit: 22.01.2007
Beiträge: 126

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.

Html4strict:Zeilennummerierung:  An / Aus

  1. Warning: mysql_query(): Unable to save result set in /typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 226
  2.  
  3. 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
  4.  
  5. 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
  6.  
  7. 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
  8.  
  9. 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
  10.  
  11. 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 ... 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 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.

[Dieser Beitrag wurde 1 mal bearbeitet. Zuletzt am 17.04.2008 um 15:14]
Verfasst am: 19.04.2008 [09:24]
just2b

[Moderator]
dabei seit: 04.08.2004
Beiträge: 15709

über 5000 Posts über 10000 Posts über 15000 Posts
install tool sqldebug einschalten, dann fehlermeldung anschauen/posten

georg

⇒ TYPO3 - inspiring people to share ⇐ aber kein Support per PM!
⇒ Das ist TS: lib.menu.20.if.value.stdWrap.numRows.select.pidInList.stdWrap.cObject.field = uid
⇒ in eigener Sache: · Meine Forumregeln · Meine Seite www.ringer.it · Meine Extensions · Content-Management-Systeme mit TYPO3 & RedDot
Verfasst am: 22.04.2008 [12:20]
m3typo3


[Themenersteller]
dabei seit: 22.01.2007
Beiträge: 126

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 ;)

Html4strict:Zeilennummerierung:  An / Aus

  1. Warning: mysql_query(): Unable to save result set in /typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 226
  2. caller  t3lib_DB::exec_SELECTquery
  3. ERROR   Der Server wird herunter gefahren...
  4. lastBuiltQuery  SELECT IR.phash
  5. FROM index_words IW,
  6. index_rel IR,
  7. index_section ISEC
  8. WHERE
  9. IW.baseword LIKE '%test%'
  10. AND IW.wid=IR.wid
  11. AND ISEC.phash = IR.phash
  12. AND ISEC.rl0 IN (1)
  13. AND is_stopword=0
  14. GROUP BY IR.phash
  15. 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
  16. caller  t3lib_DB::exec_INSERTquery
  17. ERROR   Lost connection to MySQL server during query
  18. lastBuiltQuery  INSERT INTO index_stat_search
  19. (
  20. searchstring,
  21. searchoptions,
  22. feuser_id,
  23. cookie,
  24. IP,
  25. hits,
  26. tstamp
  27. ) VALUES (
  28. 'test',
  29. '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;}}',
  30. '0',
  31. '',
  32. '217.18.185.50',
  33. '0',
  34. '1208859307'
  35. )
  36. 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
  37. caller  t3lib_DB::exec_SELECTquery
  38. ERROR   MySQL server has gone away
  39. lastBuiltQuery  SELECT *
  40. FROM pages
  41. WHERE
  42. 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'))
  43. 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
  44.  
  45. 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
  46. caller  t3lib_DB::exec_SELECTquery
  47. ERROR   MySQL server has gone away
  48. lastBuiltQuery  SELECT content
  49. FROM cache_hash
  50. WHERE
  51. hash='823735b186d44e917dade3543614dc0d'
  52. 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
  53.  
  54. 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
  55. caller  t3lib_DB::exec_DELETEquery
  56. ERROR   MySQL server has gone away
  57. lastBuiltQuery  DELETE FROM cache_hash
  58. WHERE
  59. hash='823735b186d44e917dade3543614dc0d'
  60. 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
  61. caller  t3lib_DB::exec_INSERTquery
  62. ERROR   MySQL server has gone away
  63. lastBuiltQuery  INSERT INTO cache_hash
  64. (
  65. hash,
  66. content,
  67. ident,
  68. tstamp
  69. ) VALUES (
  70. '823735b186d44e917dade3543614dc0d',
  71. '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###\";}}',
  72. 'substMarkArrayCached',
  73. '1208859326'
  74. )
  75. 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
  76. caller  t3lib_DB::exec_SELECTquery
  77. ERROR   MySQL server has gone away
  78. lastBuiltQuery  SELECT content
  79. FROM cache_hash
  80. WHERE
  81. hash='2919bc3053f9378c2177366921657fe5'
  82. 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
  83.  
  84. 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
  85. caller  t3lib_DB::exec_DELETEquery
  86. ERROR   MySQL server has gone away
  87. lastBuiltQuery  DELETE FROM cache_hash
  88. WHERE
  89. hash='2919bc3053f9378c2177366921657fe5'
  90. 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
  91. caller  t3lib_DB::exec_INSERTquery
  92. ERROR   MySQL server has gone away
  93. lastBuiltQuery  INSERT INTO cache_hash
  94. (
  95. hash,
  96. content,
  97. ident,
  98. tstamp
  99. ) VALUES (
  100. '2919bc3053f9378c2177366921657fe5',
  101. '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\" /> \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###\";}}',
  102. 'substMarkArrayCached',
  103. '1208859327'
  104. )
  105. 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
  106.  
  107. 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
  108.  
  109. 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
  110.  
  111. caller  t3lib_DB::exec_INSERTquery
  112. ERROR   MySQL server has gone away
  113. lastBuiltQuery  INSERT INTO sys_stat
  114. (
  115. page_id,
  116. page_type,
  117. jumpurl,
  118. feuser_id,
  119. cookie,
  120. sureCookie,
  121. rl0,
  122. rl1,
  123. client_browser,
  124. client_version,
  125. client_os,
  126. parsetime,
  127. flags,
  128. IP,
  129. host,
  130. referer,
  131. browser,
  132. tstamp
  133. ) VALUES (
  134. '141',
  135. '0',
  136. '',
  137. '',
  138. '264efafd90',
  139. '642710269',
  140. '1',
  141. '141',
  142. 'net',
  143. '5',
  144. 'win',
  145. '19567',
  146. '3',
  147. '217.18.185.50',
  148. '',
  149. '[LOCAL]',
  150. 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14',
  151. '1208859307'
  152. )
  153. debug_backtrace tslib_fe->statistics // t3lib_db->exec_insertquery // t3lib_db->debug


Hier nochmal als PDF (Bildschirmausdruck) weil das obere ja etwas unübersichtlich ist.

[Dieser Beitrag wurde 2 mal bearbeitet. Zuletzt am 22.04.2008 um 12:24]
Verfasst am: 23.04.2008 [12:59]
m3typo3


[Themenersteller]
dabei seit: 22.01.2007
Beiträge: 126

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!




 
TYPO3 Version 4.2.0 testen

TYPO3 Ver. 4.2.0 testen

Testen Sie die neue TYPO3 Version 4.2.0 kostenlos für einen Monat

TYPO3 Bücher

TYPO3 Workshops


TYPO3 Einführungsschulung
in Berlin:
Montag, 07.07.
in Espelkamp:
Montag, 04.08.

TYPO3 Intensivschulung
in Espelkamp:
Mi., 06.08. - Fr., 08.08.
in Würzburg:
Mo., 18.08. - Mi., 20.08.
in Köln:
Mo., 01.09. - Mi., 03.09.
in Berlin:
Mi., 24.09. - Fr., 26.09.

TYPO3 Extensionschulung
in Berlin:
Mo., 14.07. - Mi., 16.07.
in Espelkamp:
Mo., 11.08. - Mi., 13.08.