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

XF 1.4 Upgrade to 1.4 - license question

Discussion in 'XenForo Questions and Support' started by squirrly, Oct 15, 2014.

  1. squirrly

    squirrly Active Member

    We are running 1.3.1 right now. I made a copy of our live install so that I can test the upgrade to 1.4. What do I need to do so that the license is suitable? In theory it's exposed, but since only myself and another admin know that it exists, it's not really like we're trying to run two boards on one license.
  2. rainmotorsports

    rainmotorsports Well-Known Member

    You won't get caught running it for 5 minutes to test the upgrade process. But its easier to ip protect than password protect, as using htaccess password protection has a couple of steps. IP not so much.

    Assumes an apache server, place this in the .htaccess file on the dev site with your IP instead, can add additional:
  3. Martok

    Martok Well-Known Member

    From here: https://xenforo.com/community/threads/pre-sales-faq.4951/

    So yes, you should protect the site so it isn't available to the public.

    I'd recommend keeping a test site anyway, it's always useful to test stuff on there before rolling it out on the live site. Also when there are problems, admins often complain that they can't disable all add-ons and revert to the default style on a live site to find out where the problem lies. With a test site you can do all of this to resolve issues before implementing on the live site.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    I would recommend everyone has a test site to test upgrades, etc.
    We have already seen two large sites suffer downtime due to add-on related problems when upgrading to 1.4.2.




    That last resource can be adapted to cover the whole site, as mentioned above.
  5. RoldanLT

    RoldanLT Well-Known Member

    May I know what are those addons?
  6. Brogan

    Brogan XenForo Moderator Staff Member

    It was User Essentials but an update has already been released to resolve the issue.
    RoldanLT likes this.
  7. squirrly

    squirrly Active Member

    Question re: the .htaccess - I created the passwd file and before doing anything else, when I refreshed the test site, it required me to login to proceed. So, do I need to protect admin.php and/or the install directory beyond that?
  8. squirrly

    squirrly Active Member

    Ok, so then it gave me an error in general. I did the step for admin.php and now the regular front page I can access, but I can't access admin.php, which is a problem. It's not even giving me a place to login.
  9. Brogan

    Brogan XenForo Moderator Staff Member

    You only need to password protect access to the installation (the main URL), not admin.php nor the install directory.

    If you can't get it working, disable registration (or close the site if only administrators will be accessing it) and remove the general view permission for the unregistered user group.
    If the URL isn't easy to guess then that will more or less achieve the same.
  10. squirrly

    squirrly Active Member

    Ah, so, I think I'm confused then.

    This set of directions:

    I did this part:
    But that's when I get the error and can't get to anything.

    When I do this:
    Then I can get to the main user page but not the admin cp.

    What'd I screw up?
  11. squirrly

    squirrly Active Member

    Ok, I can close the site easily enough, but it'd be nice to get it the right way too.
  12. Brogan

    Brogan XenForo Moderator Staff Member

    You would need to inspect the server error log to see what the actual error is.
  13. rainmotorsports

    rainmotorsports Well-Known Member

    As I said before restricting it to one or two IPs is easier and quicker. Its just a pain when u want any staff to be able to get in from anywhere.
  14. squirrly

    squirrly Active Member

    Not really feasible with the frequency of IP shifts our staff have.

Share This Page