Could not insert row in code_cache



  • Ich wollte eben http://www.c-plusplus.net/forum/viewtopic.php?t=78376 aufrufen, da gab es folgende Fehlermeldung:

    <table class="forumline">
    <tbody><tr>
    <th>Allgemeiner Fehler</th>
    
    </tr>
    <tr>
    <td align="center" class="row1"><br>
    	Could not insert row in code_cache<br><br><b><u>DEBUG MODE</u></b><br><br>SQL Error : 1062 Duplicate entry '1343963461' for key 1<br><br>INSERT INTO code_cache VALUES ('1343963461', '1088632678', '<div style="" visibility:hidden="" position:absolute=""><table><tbody><tr><td><strong class="\&quot;genmed\&quot;">C/C++ Code:</strong></td></tr><tr><td class="\&quot;code\&quot;"><b>#include</b> &lt;iostream&gt;
    &nbsp; &nbsp; 
    &nbsp; &nbsp; <b>using namespace</b> std;
    
    <b>int</b> main()&nbsp; &nbsp; {
    
    &nbsp; &nbsp; <b>char</b>&nbsp; &nbsp; JN;
    
    &nbsp; &nbsp; cout &lt;&lt; "<u>\\nBestaetigen?(J/N): </u>";
    
    &nbsp; &nbsp; &nbsp; &nbsp; cin &gt;&gt; JN;
    
    &nbsp; &nbsp; &nbsp; &nbsp; <b>if</b>(JN == &nbsp;'<u>J</u>','<u>j</u>') {&nbsp; &nbsp; &nbsp; &nbsp; cout&nbsp; &nbsp; &lt;&lt;&nbsp; &nbsp; "<u>\\nSie haben JA gewaehlt.\\n</u>";&nbsp; &nbsp; }
    
    &nbsp; &nbsp; &nbsp; &nbsp; <b>if</b>(JN == &nbsp;'<u>N</u>','<u>n</u>') {&nbsp; &nbsp; &nbsp; &nbsp; cout&nbsp; &nbsp; &lt;&lt;&nbsp; &nbsp; "<u>\\nSie haben NEIN gewaehlt.\\n</u>";&nbsp; &nbsp; }
    
    <b>return</b> 0;
    
    }</td></tr></tbody></table></div><div class="\&quot;code_contain_box\&quot;"><div class="\&quot;code_not_viewable_box\&quot;"><table><tbody><tr><td><strong class="\&quot;genmed\&quot;">C/C++ Code:</strong></td></tr><tr><td class="\&quot;code\&quot;"><b>#include</b> &lt;iostream&gt;
    
      <b>using namespace</b> std;
    
    <b>int</b> main()  {
    
      <b>char</b>  JN;
    
      cout &lt;&lt; "<u>\\nBestaetigen?(J/N): </u>";
        cin &gt;&gt; JN;
    
        <b>if</b>(JN == '<u>J</u>','<u>j</u>') {    cout  &lt;&lt;  "<u>\\nSie haben JA gewaehlt.\\n</u>";  }
        <b>if</b>(JN == '<u>N</u>','<u>n</u>') {    cout  &lt;&lt;  "<u>\\nSie haben NEIN gewaehlt.\\n</u>";  }
    
    <b>return</b> 0;
    
    }</td></tr></tbody></table></div><div class="\&quot;code_viewable_box\&quot;"><table><tbody><tr><td><strong class="\&quot;genmed\&quot;">C/C++ Code:</strong></td></tr><tr><td class="\&quot;code\&quot;"><b>#include</b> &lt;iostream&gt;
    &nbsp; &nbsp; 
    &nbsp; &nbsp; <b>using namespace</b> std;
    
    <b>int</b> main()&nbsp; &nbsp; {
    
    &nbsp; &nbsp; <b>char</b>&nbsp; &nbsp; JN;
    
    &nbsp; &nbsp; cout &lt;&lt; "<u>\\nBestaetigen?(J/N): </u>";
    &nbsp; &nbsp; &nbsp; &nbsp; cin &gt;&gt; JN;
    
    &nbsp; &nbsp; &nbsp; &nbsp; <b>if</b>(JN == &nbsp;'<u>J</u>','<u>j</u>') {&nbsp; &nbsp; &nbsp; &nbsp; cout&nbsp; &nbsp; &lt;&lt;&nbsp; &nbsp; "<u>\\nSie haben JA gewaehlt.\\n</u>";&nbsp; &nbsp; }
    
    &nbsp; &nbsp; &nbsp; &nbsp; <b>if</b>(JN == &nbsp;'<u>N</u>','<u>n</u>') {&nbsp; &nbsp; &nbsp; &nbsp; cout&nbsp; &nbsp; &lt;&lt;&nbsp; &nbsp; "<u>\\nSie haben NEIN gewaehlt.\\n</u>";&nbsp; &nbsp; }
    
    <b>return</b> 0;
    
    }</td></tr></tbody></table></div></div>')<br><br>Line : 185<br>File : /homepages/33/d68571482/htdocs/forum/includes/bbcode_mods/functions.php<br>&nbsp;</td>
    </tr>
    <tr>
    <td class="cat">&nbsp;</td>
    </tr>
    </tbody></table>
    

    Beim 2. Versuch hat's aber geklappt.


Anmelden zum Antworten