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

Unmaintained FluxBB Importer 1.50

FluxBB 1.4/1.5 Importer

  1. Benjy

    Benjy Well-Known Member

  2. trichome

    trichome Member

    This seems to have worked perfectly, but upon trying to log in with an existing account I get an error:

    Code:
    A server error occurred. Please try again later.
    Do I need to do something with the custom authentication class mentioned?

    Thanks. :)

    Edit: Here's an example of an entry in the server error log in the admin cp, generated by a log in attempt:

    This seems to have worked perfectly, but upon trying to log in with an existing account I get an error:

    Code:
    A server error occurred. Please try again later.
    Do I need to do something with the custom authentication class mentioned?

    Thanks. :)

    Edit: Here's an example of an entry in the server error log in the admin cp, generated by a log in attempt:

    Error Info
    Code:
    ErrorException: Undefined index: salt - library/CodeInMotion/Authentication/FluxBB.php:52
    Generated By: Unknown Account, Yesterday at 9:06 PM
    Stack Trace
    Code:
    #0 /home/user/example.com/xen/library/CodeInMotion/Authentication/FluxBB.php(52): XenForo_Application::handlePhpError(8443, 'PASSWOR...')
    #1 /home/user/example.com/xen/library/XenForo/Model/User.php(1036): CodeInMotion_Authentication_FluxBB->authenticate('username', 'PASSWOR...', NULL)
    #2 /home/user/example.com/xen/library/XenForo/ControllerPublic/Login.php(79): XenForo_Model_User->validateAuthentication()
    #3 /home/user/example.com/xen/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Login->actionLogin(Object(XenForo_RouteMatch))
    #4 /home/user/example.com/xen/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch()
    #5 /home/user/example.com/xen/index.php(13): XenForo_FrontController->run()
    #6 {main}
    Request State
    Code:
    array(3) {
      ["url"] => string(51) "http://example.com/xen/index.php?login/login"
      ["_GET"] => array(1) {
        ["login/login"] => string(0) ""
      }
      ["_POST"] => array(6) {
        ["login"] => string(8) "username"
        ["register"] => string(1) "0"
        ["password"] => string(16) "PASSWORD"
        ["cookie_check"] => string(1) "1"
        ["redirect"] => string(26) "/xen/index.php?login/login"
        ["_xfToken"] => string(0) ""
      }
    }
    Where it says "PASSWORD" it displays the user's password in plaintext. The first two instances of it are truncated with the "...".
     
  3. Benjy

    Benjy Well-Known Member

    Hi,

    This is what happens when you don't test a lot :p
    Anyway, just replace your library/CodeInMotion/Authentication/FluxBB.php file with the attached one (I also updated the package).
     

    Attached Files:

    trichome likes this.
  4. trichome

    trichome Member

    It works now, thank you Benjy! :D

    One strange thing I noticed; after the import the xF database is only 102MB, where the original FluxBB database is 330MB. I also had tested an import into MyBB and that's 734MB! Is xenForo really that efficient?
     
  5. Benjy

    Benjy Well-Known Member

    Mmm, it seems strange. Is all your content here? One important thing is that I don't import the search tables; you must rebuild the search in XF after the import.
     
  6. trichome

    trichome Member

    Everything is there as far as I can tell. I did rebuild the search cache after the import and search is working great! Thanks so much for the the fix. Very nice site and domain you have btw. :)
     
  7. Benjy

    Benjy Well-Known Member

    Thx :)
     
  8. trichome

    trichome Member

    I noticed that if the Importer files are removed after the import I can't log in, which makes sense considering the above bug, but would this also be the case if that bug wasn't there during the import?

    Ideally I'd rather not be permanently tied to unofficial/unsupported components for basic functionality like logging in. This is not to say you, Benjy, haven't been extremely help because you have, but you know what I mean. :)
     
  9. Benjy

    Benjy Well-Known Member

    The only file you can't remove after import is library/CodeInMotion/Authentication/FluxBB.php because it manages the FluxBB login (passwords can't be converted to the XF scheme because we don't have the unencrypted ones :)).
     
    trichome likes this.
  10. trichome

    trichome Member

    Well that makes perfect sense. Do you think it's possible that a new version of xenForo could cause problems with that, or is that stuff "written in stone" for use with the official importers?

    As you can see I'm paranoid, and ignorant. A bad combo!
     
  11. Benjy

    Benjy Well-Known Member

    Not at all, your question is welcome.

    The fact is, XF allows developers to write their own authentication classes and delegates the process to it. Thus, for your imported users, the authentication scheme is CodeInMotion_Authentication_FluxBB and I don't see how you could have problems with future XF versions because this class handles the login, not XF.
     
    trichome likes this.
  12. Benjy

    Benjy Well-Known Member

  13. Benjy

    Benjy Well-Known Member

  14. KidCastro

    KidCastro New Member

    Hi Benjy,

    I am trying to import from fluxbb 1.5.3 and when trying to import users I am getting...
    Error
    The field 'identities' was not recognised.

    Should my forum be closed or in maintenance mode when this is happening? also why is this error occuring.

    Thanks, really need your help!
     
  15. Benjy

    Benjy Well-Known Member

    Hi KidCastro,

    Please try again, replacing the original library/CodeInMotion/Importer/FluxBB.php file with the one attached.
    The identities (ICQ, MSN, etc.) are handled differently in the latest XF versions.

    If it doesn't work, you can try upgrading from FluxBB to XF 1.1.3, then upgrading your XF installation (yes I know, it's not very clean).
     

    Attached Files:

  16. RoldanLT

    RoldanLT Well-Known Member

    I already did convert his forum just yesterday.
     
  17. ProCom

    ProCom Active Member

    A few quick items as I work through the importer to convert from FluxBB 1.2.17 to XenForo 1.2.1 :
    1. My "absolute path" was basically this: /home/useraccout/public_html/forum/img/avatars
    2. I got the error "file_exists() [function.file-exists]: open_basedir restriction in effect." I had to follow these instructions in WHM to allow access:
    3. I now have the error "The field 'identities' was not recognised." while trying to import users. (see more here). I'm stuck on this issue. :(
    Hopefully the first two items will help others and hopefully someone will be able to help me on the 3rd item. :D
     
    Last edited: Sep 5, 2013
  18. Digital Doctor

    Digital Doctor Well-Known Member

    @Benjy Note:

     
  19. Benjy

    Benjy Well-Known Member

  20. ProCom

    ProCom Active Member

    Wow Benjy, sorry I totally missed that file. I've downloaded it and tried the import again. Fortunately I didn't get that same "identities" error, but unfortunately am now getting this error:

    Am I doing something wrong on my side?
     

Share This Page