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

1.1.4 Discussion Thread.

Discussion in 'General XenForo Discussion and Feedback' started by Slavik, Mar 26, 2013.

  1. Slavik

    Slavik XenForo Moderator Staff Member

    As per title :) Questions, comments and upgrades!

    I'm going to highlight this one point inparticular.

    register_form
    Add support for the registration timer and add the reg_key input.​

    You need to update/revert this template, otherwise you may lose the ability for people to register on your site.


    Common issues.

    TMS (http://xenforo.com/community/resources/template-modification-system-tms.293/) needs an update if you have debug enabled

    in library/TMS/Model/Template.php:

    Find:
    Code:
    public function fetchAllKeyed($sql, $key, $bind = array())
    {
    if (strpos($sql, 'template_map') !== false) {
    $sql = str_replace('SELECT ', 'SELECT template_map.template_final, template_map.template_modifications, ', $sql);
    }
     
    return parent::fetchAllKeyed($sql, $key, $bind);
    }
    
    Replace with:

    Code:
    public function fetchAllKeyed($sql, $key, $bind = array(), $nullPrefix = '')
    {
    if (strpos($sql, 'template_map') !== false) {
    $sql = str_replace('SELECT ', 'SELECT template_map.template_final, template_map.template_modifications, ', $sql);
    }
     
    return parent::fetchAllKeyed($sql, $key, $bind, $nullPrefix);
    }
    
    http://xenforo.com/community/threads/1-1-4-discussion-thread.47031/#post-505736


    Users Awaiting Approval bug fix
    Please note that a minor bug has been fixed and the the download package has been updated at around 11:30 GMT.

    http://xenforo.com/community/threads/users-awaiting-approval-not-counting-down.47036/

    If you have already upgraded using the previous package, you can download the latest .zip and just copy the new file which is library/XenForo/DataWriter/User.php

    If you also want the file health check to pass, you will need to upload library/xf/install/data/filesums.php too.
     
  2. MattW

    MattW Well-Known Member

    Upgrading my test install now (y)
     
  3. Lee

    Lee Well-Known Member

    Here come the releases! :)
     
  4. Iconic

    Iconic Member

    Going to try it out now! :)
     
  5. Lisa

    Lisa Well-Known Member

    Woohoo... that is all, for the moment :D
     
  6. RobParker

    RobParker Well-Known Member

    Will the RM released work ok on 1.1.3? Can't upgrade to 1.1.4 until our style is updated.
     
  7. account8226

    account8226 Guest

    Yes, I read RM is for 1.1.3 and above.
     
  8. tyteen4a03

    tyteen4a03 Well-Known Member

    Are TinyMCE issues fixed in TinyMCE Fix addon officially fixed in 1.1.4?

    EDIT: Seems not. TinyMCE version remains at 3.4.2.
     
  9. account8226

    account8226 Guest

    in admin.php.

    Disabling TMS.
     
    0xym0r0n and tyteen4a03 like this.
  10. RobParker

    RobParker Well-Known Member

    But that info was before 1.1.4 was released so just checking it hadn't changed.
     
  11. account8226

    account8226 Guest

    Server error in /conversations after upgrade.

    Because of Conversation essentials addon.

    60bdff8f9650c2b9acb8db75ffe4460d.png
     
  12. Mike

    Mike XenForo Developer Staff Member

    Turn off debug mode. You shouldn't really be in it unless you're developing.

    No, still 1.1.3.
     
  13. tyteen4a03

    tyteen4a03 Well-Known Member

    Quick fix:

    library/TMS/Model/Template.php:

    Find:
    Code:
    public function fetchAllKeyed($sql, $key, $bind = array())
    {
    if (strpos($sql, 'template_map') !== false) {
    $sql = str_replace('SELECT ', 'SELECT template_map.template_final, template_map.template_modifications, ', $sql);
    }
     
    return parent::fetchAllKeyed($sql, $key, $bind);
    }
    
    Replace with:

    Code:
    public function fetchAllKeyed($sql, $key, $bind = array(), $nullPrefix = '')
    {
    if (strpos($sql, 'template_map') !== false) {
    $sql = str_replace('SELECT ', 'SELECT template_map.template_final, template_map.template_modifications, ', $sql);
    }
     
    return parent::fetchAllKeyed($sql, $key, $bind, $nullPrefix);
    }
    
    1.1.4 added a $nullPrefix parameter, which allows you to prefix your result keys in case they were null. Not sure why it isn't documented.

    I have submitted a pull request, guiltar should see it very soon.
     
  14. account8226

    account8226 Guest

    Ok all good on my board with quite a lot of members, just needed to remove Conversation essentials addon while waiting for an upgrade for this add-on, and a bug with the Template modification system on the admin panel, just needed to quit debug mode while waiting for an upgrade of this other add-on (OR quick fix above this message for TMS, thanks you very much).

    Everything is great, let's have a look to that new spam prevention system ;)

    Congratz for the great work, nice to see XF is back :D
     
  15. pjfry

    pjfry Active Member

    Wooohooo great update ES 1.0.1 and XenForo 1.1.4 both withn 15 min incl. uploading all files!

    No Problems and everything works just fine :)

    Great
     
    account8226 likes this.
  16. wmtech

    wmtech Well-Known Member

    Great to see the new releases and good to see XF back on track!
    Thank you and congratulations!
     
  17. Lisa

    Lisa Well-Known Member

    Upgraded without any issues. Perfect, as always!
     
  18. Brogan

    Brogan XenForo Moderator Staff Member

    The Admin Demo has been upgraded to 1.1.4 and also now includes the Resource Manager.
     
    sonnb, Jeremy P, SchmitzIT and 2 others like this.
  19. RastaLulz

    RastaLulz Well-Known Member

    Can you upgrade from 1.1.2 to 1.1.4? or do you have to upgrade to 1.1.3 before going to 1.1.4? I never bothered with 1.1.3, as I applied the security fix myself.
     
  20. Brogan

    Brogan XenForo Moderator Staff Member

    Puntocom and RastaLulz like this.

Share This Page