1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What Error ?

Discussion in 'Troubleshooting and Problems' started by Mr.Phuc, Jul 14, 2012.

  1. Mr.Phuc

    Mr.Phuc New Member

    This error occurs when I perform any action on my site. I need help from you. Thanks!
    [​IMG]



    Server Error Log

    Error Info
    Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Duplicate entry '225' for key 'PRIMARY' - library/Zend/Db/Statement/Mysqli.php:214
    Generated By: admin, Vài giây trước
    Stack Trace
    #0 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
    #1 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
    #2 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
    #3 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/DataWriter.php(1591): Zend_Db_Adapter_Abstract->insert('xf_news_feed', Array)
    #4 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/DataWriter.php(1580): XenForo_DataWriter->_insert()
    #5 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/DataWriter.php(1381): XenForo_DataWriter->_save()
    #6 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/Model/NewsFeed.php(539): XenForo_DataWriter->save()
    #7 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/DataWriter/DiscussionMessage.php(1124): XenForo_Model_NewsFeed->publish(1, 'admin', 'post', 12767, 'insert')
    #8 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/DataWriter/DiscussionMessage.php(1109): XenForo_DataWriter_DiscussionMessage->_publishToNewsFeed()
    #9 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/DataWriter/DiscussionMessage.php(526): XenForo_DataWriter_DiscussionMessage->_publishAndNotify()
    #10 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/DataWriter.php(1385): XenForo_DataWriter_DiscussionMessage->_postSave()
    #11 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/ControllerPublic/Thread.php(504): XenForo_DataWriter->save()
    #12 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Thread->actionAddReply()
    #13 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #14 /home/webspace/freehosting/c3sathay/c3qtst.net/www/html/index.php(13): XenForo_FrontController->run()
    #15 {main}
    Request State
    array(3) {
    ["url"] => string(141) "http://c3qtst.net/index.php?threads/tiểu-long-nữ-hơn-dương-quá-bao-nhiêu-tuổi.2101/add-reply"
    ["_GET"] => array(1) {
    ["threads/tiểu-long-nữ-hơn-dương-quá-bao-nhiêu-tuổi_2101/add-reply"] => string(0) ""
    }
    ["_POST"] => array(8) {
    ["message_html"] => string(14) "<p>sáassa</p>"
    ["_xfRelativeResolver"] => string(132) "http://c3qtst.net/index.php?threads/tiểu-long-nữ-hơn-dương-quá-bao-nhiêu-tuổi.2101/"
    ["attachment_hash"] => string(32) "50e7574e8069d88630fd2194fcd01abd"
    ["last_date"] => string(10) "1342245749"
    ["_xfToken"] => string(53) "1,1342257822,ffc64f129b20345b82912df9bf2c77f1550c635b"
    ["_xfRequestUri"] => string(115) "/index.php?threads/ti%E1%BB%83u-long-n%E1%BB%AF-h%C6%A1n-d%C6%B0%C6%A1ng-qu%C3%A1-bao-nhi%C3%AAu-tu%E1%BB%95i.2101/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
    }
    }​
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That appears to be a problem with the xf_news_feed table. Use phpmyadmin to examine the records in that table. Under the Operations tab make sure the AUTO_INCREMENT value is higher than the highest used news_feed_id.
     
  3. Mr.Phuc

    Mr.Phuc New Member

    you can not say more
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  5. Mr.Phuc

    Mr.Phuc New Member

    can you give me your yahoo address to contact
     
  6. Mr.Phuc

    Mr.Phuc New Member

    Y!M: changtraivanphuc_2000
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  8. Mr.Phuc

    Mr.Phuc New Member

    ok, i'm send
     

Share This Page