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

Importer for [Tinhte] XenTag to XenForo 1.5 [Deleted]

Discussion in 'Add-on Releases' started by au lait, Jul 12, 2015.

  1. au lait

    au lait Well-Known Member

    au lait submitted a new resource:

    [by PiX-house.com] Importer for [Tinhte] XenTag to XenForo 1.5 - Importer for [Tinhte] XenTag to XenForo 1.5

    Read more about this resource...
    Last edited: Jul 12, 2015
  2. pecadm

    pecadm Member

    Succesfully imported 499 XenTags.
    Works great.
    Thanks ;)
  3. tommydamic68

    tommydamic68 Well-Known Member

    Thats great, hope this works well, will keep an eye on this one for sure!
    au lait likes this.
  4. dev.vnn

    dev.vnn Member

  5. au lait

    au lait Well-Known Member

    That's crazy not XenTag addon has a field "title" still XenForo tags.
    I am assuming that it comes from the thread table is brought up to date there. But why then the thread title is too long,
    XenForo_TagHandler_Thread->updateContentTagCache() in phc/XenTagImport/Importer/XenTag.php at line 161
    I can not reproduce!
  6. Dan

    Dan Well-Known Member

    Just an fyi, worked great for me. Imported 673 tags. Thanks for this.
  7. au lait

    au lait Well-Known Member

    I could just reproduce!

    But only after change the field limit in the xf_thread table for the "title" field and typed a VERY VERY long thread title!
    The error is caused in the indexer!

    Did you change the xf_thread field "title" values?

    Server Error
    Mysqli statement execute error : Data too long for column 'title' at row 1
    Zend_Db_Statement_Mysqli->_execute() in D:\Entwicklung\Webserver\xenforum\library\Zend\Db\Statement.php at line 297
    Zend_Db_Statement->execute() in D:\Entwicklung\Webserver\xenforum\library\Zend\Db\Adapter\Abstract.php at line 479
    Zend_Db_Adapter_Abstract->query() in D:\Entwicklung\Webserver\xenforum\library\XenForo\Search\SourceHandler\MySqlFt.php at line 110
    XenForo_Search_SourceHandler_MySqlFt->_pushToIndex() in D:\Entwicklung\Webserver\xenforum\library\XenForo\Search\SourceHandler\MySqlFt.php at line 82
    XenForo_Search_SourceHandler_MySqlFt->insertIntoIndex() in D:\Entwicklung\Webserver\xenforum\library\XenForo\Search\Indexer.php at line 44
    XenForo_Search_Indexer->insertIntoIndex() in D:\Entwicklung\Webserver\xenforum\library\Tinhte\XenTag\XenForo\Search\Indexer.php at line 18
    Tinhte_XenTag_XenForo_Search_Indexer->insertIntoIndex() in D:\Entwicklung\Webserver\xenforum\library\XenForo\Search\DataHandler\Thread.php at line 59
    XenForo_Search_DataHandler_Thread->_insertIntoIndex() in D:\Entwicklung\Webserver\xenforum\library\Tinhte\XenTag\XenForo\Search\DataHandler\Thread.php at line 28
    Tinhte_XenTag_XenForo_Search_DataHandler_Thread->_insertIntoIndex() in D:\Entwicklung\Webserver\xenforum\library\XenForo\Search\DataHandler\Abstract.php at line 275
    XenForo_Search_DataHandler_Abstract->insertIntoIndex() in D:\Entwicklung\Webserver\xenforum\library\XenForo\DataWriter\Discussion.php at line 698
    XenForo_DataWriter_Discussion->_updateSearchIndexTitle() in D:\Entwicklung\Webserver\xenforum\library\XenForo\DataWriter\Discussion.php at line 635
    XenForo_DataWriter_Discussion->_indexForSearch() in D:\Entwicklung\Webserver\xenforum\library\XenForo\DataWriter\Discussion.php at line 464
    XenForo_DataWriter_Discussion->_postSave() in D:\Entwicklung\Webserver\xenforum\library\XenForo\DataWriter.php at line 1409
    XenForo_DataWriter->save() in D:\Entwicklung\Webserver\xenforum\library\XenForo\TagHandler\Thread.php at line 78
    XenForo_TagHandler_Thread->updateContentTagCache() in D:\Entwicklung\Webserver\xenforum\library\phc\XenTagImport\Importer\XenTag.php at line 161
    phc_XenTagImport_Importer_XenTag->stepXTI() in D:\Entwicklung\Webserver\xenforum\library\XenForo\Importer\Abstract.php at line 97
    XenForo_Importer_Abstract->runStep() in D:\Entwicklung\Webserver\xenforum\library\XenForo\ControllerAdmin\Import.php at line 187
    XenForo_ControllerAdmin_Import->_runStep() in D:\Entwicklung\Webserver\xenforum\library\XenForo\ControllerAdmin\Import.php at line 239
    XenForo_ControllerAdmin_Import->_startStep() in D:\Entwicklung\Webserver\xenforum\library\XenForo\ControllerAdmin\Import.php at line 182
    XenForo_ControllerAdmin_Import->actionStartStep() in D:\Entwicklung\Webserver\xenforum\library\XenForo\FrontController.php at line 347
    XenForo_FrontController->dispatch() in D:\Entwicklung\Webserver\xenforum\library\XenForo\FrontController.php at line 134
    XenForo_FrontController->run() in D:\Entwicklung\Webserver\xenforum\admin.php at line 13
    dev.vnn likes this.
  8. dev.vnn

    dev.vnn Member

    no i am not change. i have 5K tag in tinhte xentag, but i import 630 tag and it error.
  9. au lait

    au lait Well-Known Member

    Once again, the problem is not the Tag - neither XenTag still XF Tag! But a thread Title ist the Problem and the Indexer!
    Any thread title is too long !!!
    have successfully ported a board with 11K tags!
    dev.vnn likes this.
  10. dev.vnn

    dev.vnn Member

    i change the title fields in xf_thread table to 1k lengt. but it error again. how to fix it??

    note: sr my english so bad...
  11. Chris D

    Chris D XenForo Developer Staff Member

    This looks to be a bug within XF.

    I'll report it in the Bug Reports forum.
    nguyenhuuhung, resonansER and dev.vnn like this.
  12. Chris D

    Chris D XenForo Developer Staff Member

    ibrian, mcatze, resonansER and 3 others like this.
  13. dev.vnn

    dev.vnn Member

  14. dev.vnn

    dev.vnn Member

    i completed importer successfull when delete line 161 in xentagimporter addon

    $handler->updateContentTagCache($content, $cache);
    thanks to @Chris D and @au lait
  15. TeflonDon

    TeflonDon Well-Known Member

    Thanks for making this.
  16. ibrian

    ibrian Active Member

    I saw it suggested on another thread that xenforo uses a hyphen in the tag URLs, whereas Xentag uses the + sign.

    Is there a htaccess rewrite required for the different URLs? Or have I misunderstood?
  17. dethfire

    dethfire Well-Known Member

    I have tens of thousands of tags. I'll wait for stable. Thanks for offering though!
  18. RoldanLT

    RoldanLT Well-Known Member

    I have 20K+ and the import is all fine.
    dethfire likes this.
  19. au lait

    au lait Well-Known Member

    resonansER likes this.
  20. dethfire

    dethfire Well-Known Member

    What do I do with the "Previously Imported, Unarchived Data Has Been Found" settings? Will that mess with my redirection?
    Last edited: Aug 6, 2015

Share This Page