Ergebnis 1 bis 3 von 3

Thema: Store Locator - Duplicate Key Error

      
  1. #1
    Forum Zuschauer
    Registriert seit
    03.09.2010
    Beiträge
    1

    Frage Store Locator - Duplicate Key Error

    Hi Zusammen,

    habe die Store-Locator-Extension bei mir installiert - das hat alles ohne Probleme funktioniert. Dann habe ich das Plugin auf einer Seite eingebunden und erhalte folgende Fehlermeldung wenn ich die Seite aufrufe:

    Code:
    exec_INSERTquery
    
    caller	t3lib_DB::exec_INSERTquery
    
    ERROR	Duplicate entry '0' for key 'PRIMARY'
    
    lastBuiltQuery
    
    INSERT INTO cache_hash(hash,content,ident,tstamp) VALUES ('51c82af0068a6b916911d3a3bdefe4ec','a:7:{i:0;a:1:{s:8:\"linkwrap\";s:0:\"\";}i:1;a:1:{s:8:\"linkwrap\";s:0:\"\";}i:2;a:1:{s:8:\"linkwrap\";s:0:\"\";}i:3;a:1:{s:8:\"linkwrap\";s:0:\"\";}i:4;a:1:{s:8:\"linkwrap\";s:0:\"\";}i:5;a:1:{s:8:\"linkwrap\";s:0:\"\";}i:6;a:1:{s:8:\"linkwrap\";s:0:\"\";}}','MENUDATA','1284144826')
    
    debug_backtrace	
    
    require#80 // include#443 // TSpagegen::renderContent#76 // tslib_cObj->cObjGet#314 // tslib_cObj->cObjGetSingle#507 // tslib_cObj->TEMPLATE#640 // tslib_cObj->cObjGetSingle#2591 // tslib_cObj->HMENU#597 // tslib_menu->makeMenu#1501 // t3lib_pageSelect::storeHash#911 // t3lib_DB->exec_INSERTquery#1064 // t3lib_DB->debug#184
    Code:
    exec_INSERTquery
    
    caller	t3lib_DB::exec_INSERTquery
    
    ERROR	Duplicate entry '0' for key 'PRIMARY'
    
    lastBuiltQuery	
    
    INSERT INTO cache_hash(hash,content,ident,tstamp) VALUES ('a0ff4bc884c156d74aafd0224b1798e4','a:2:{s:1:\"c\";a:4:{i:0;s:195:\"\n <body>\n <div id=\"feedback\">\n div:feedback\n </div>\n <div id=\"container\">\n <div id=\"navi\">\n <div id=\"navi_links\">\n \";i:1;s:605:\"\n </div>\n <div id=\"navi_search\">\n <form action=\"fileadmin/../index.php?id=29&L=###LANGID###&tx_indexedsearch[sword]\" method=\"post\" target=\"_self\">\n <input name=\"tx_indexedsearch[sword]\"id=\"navi_search_input\" type=\"text\" value=\"Suchen\"><input type=\"image\" src=\"fileadmin/templates/rocketlife.de/images/btn_search.gif\" id=\"navi_search_submit\" border=\"0\" value=\"\">\n </form>\n </div>\n </div>\n <div id=\"content\">\n <div id=\"container_content_main\">\n \";i:2;s:95:\"\n </div>\n <div id=\"container_content_right\">\n \";i:3;s:123:\"\n </div>\n </div>\n <div id=\"footer\">\n </div>\n </div>\n </body>\n \";}s:1:\"k\";a:3:{i:0;s:11:\"###MENUE###\";i:1;s:18:\"###CONTENT-MAIN###\";i:2;s:19:\"###CONTENT-RIGHT###\";}}','substMarkArrayCached','1284144826')
    
    debug_backtrace	
    
    require#80 // include#443 // TSpagegen::renderContent#76 // tslib_cObj->cObjGet#314 // tslib_cObj->cObjGetSingle#507 // tslib_cObj->TEMPLATE#640 // tslib_cObj->substituteMarkerArrayCached#2611 // t3lib_pageSelect::storeHash#3574 // t3lib_DB->exec_INSERTquery#1064 // t3lib_DB->debug#184
    Leider bin ich noch nicht so fit in Typo3, dass mir diese Meldung weiterhelfen würde. Kann mir von euch jemand weiterhelfen? Eine intensive Google-Recherche war bislang erfolglos.

    Kann mir von euch jemand helfen?

    Gruß - SMATU

    ______________________


    Setup:

    . Mac OS X 10.5.8
    . PHP Version 5.3.2
    . Apache/2.0.63 (Unix)
    . TYPO3 Version 4.4.2

  2. #2
    Forum Newbie
    Registriert seit
    11.03.2008
    Beiträge
    11
    Have a look, at your DB, and make shure, that field 'id' of your table 'cache_hash' is set to AUTO_INCREMENT=TRUE!

    SQL: `id` int(11) unsigned NOT NULL AUTO_INCREMENT,

  3. #3
    Forum Stammgast Avatar von Martin Terber
    Registriert seit
    11.08.2006
    Ort
    Köln
    Alter
    40
    Beiträge
    432
    Zitat Zitat von enobe Beitrag anzeigen
    Have a look, at your DB, and make shure, that field 'id' of your table 'cache_hash' is set to AUTO_INCREMENT=TRUE!

    SQL: `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
    Thanks, I had the same error and that worked for me!
    Suche Linktauschpartner - Themen: Reisen und Übersetzungen.
    Konnte ich helfen, dann hilf mir: Meine Themen | Martin Terber - Typo3 & PHP

 

 

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Facebook Kommentare

Ähnliche Themen

  1. Antworten: 13
    Letzter Beitrag: 12.08.2010, 08:45
  2. Content wird nicht angezeigt
    Von TIGER im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 2
    Letzter Beitrag: 30.07.2010, 14:58
  3. Store Locator: You have an error in your SQL syntax
    Von Tobi0815 im Forum Alle anderen Extensions
    Antworten: 2
    Letzter Beitrag: 12.06.2010, 16:19
  4. nach Update: TYPO3 Fatal Error: Extension key "lang" was NOT loaded!
    Von Henning3 im Forum TYPO3 4.x Installation und Updates
    Antworten: 1
    Letzter Beitrag: 28.05.2010, 23:16
  5. TYPO3 Fatal Error: Extension key "sv" was NOT loaded! (t3lib_extMgm::extPath)
    Von zack877 im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 2
    Letzter Beitrag: 16.09.2009, 13:17

Stichworte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238