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

Fixed Import IPB 3.4.4 to XenForo - Undefined offset: 1

Discussion in 'Resolved Bug Reports' started by Adam Howard, Apr 29, 2013.

  1. Adam Howard

    Adam Howard Well-Known Member

    PHP:
    Undefined offset1
     
        XenForo_Application
    ::handlePhpError() in XenForo/Importer/IPBoard.php at line 672
        XenForo_Importer_IPBoard
    ->_convertUserFieldChoices() in XenForo/Importer/IPBoard.php at line 591
        XenForo_Importer_IPBoard
    ->stepUserFields() in XenForo/Importer/Abstract.php at line 77
        XenForo_Importer_Abstract
    ->runStep() in XenForo/ControllerAdmin/Import.php at line 180
        XenForo_ControllerAdmin_Import
    ->_runStep() in XenForo/ControllerAdmin/Import.php at line 232
        XenForo_ControllerAdmin_Import
    ->_startStep() in XenForo/ControllerAdmin/Import.php at line 175
        XenForo_ControllerAdmin_Import
    ->actionStartStep() in XenForo/FrontController.php at line 310
        XenForo_FrontController
    ->dispatch() in XenForo/FrontController.php at line 132
        XenForo_FrontController
    ->run() in /home2/newlibar/public_html/libar/admin.php at line 13
    I get this when trying to import = Import Custom User Fields
     
  2. Adam Howard

    Adam Howard Well-Known Member

    Decided to test XenForo Official Support for the first time.
    http://xenforo.com/tickets/51B9E210/?v=ff8b1e9962

    I've never used support before. :p

    I've finally run into an issue in which I don't know how to resolve and it would seem no one here has an answer for.

    * waits *
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  4. Adam Howard

    Adam Howard Well-Known Member

  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Then it must be a problem with the source data. I am examining your database now...
     
    Adam Howard likes this.
  6. Adam Howard

    Adam Howard Well-Known Member

    Thank you Jake Bunce :)

    I did a check and repair, but didn't turn up anything.... I await the results.
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The libar5 database I presume?

    Try it now. There were some extra pipes in ibf_pfields_data.pf_content that I removed.
     
    Adam Howard likes this.
  8. Adam Howard

    Adam Howard Well-Known Member

    (y)

    That did the trick. Safe to close that ticket now.

    Thank you Jake Bunce :cool:
     
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Moving to bugs. The devs may wish to be more defensive about the profile field values. Your data had this in the middle:

    Code:
    ...|zw=Zimbabwe|||Afghanistan=Afghanistan|...
    
    I removed two of the pipes to fix the error.
     
    Adam Howard likes this.
  10. Adam Howard

    Adam Howard Well-Known Member

    I also noticed when importing users or post (don't recall which) it reached 100.2 %

    But all seems well (so far), so I just kept moving along.
     
  11. Mike

    Mike XenForo Developer Staff Member

    This error should be prevented now.
     
    Adam Howard likes this.

Share This Page