0.5.3 Is Out ( CHANGELOG )

General Discussion

Suggested Topics

  • 0 Votes
    4 Posts

    The common causes for a session mismatch error are usually one of the following:

    1. Mis-configured URL parameter in your config.json file

    If you have a misconfigured url value in your config.json file, the cookie may be saved incorrectly (or not at all), causing a session mismatch error. Please ensure that the link you are accessing your site with and the url defined match.

    2. Improper/malformed cookieDomain set in ACP

    Sometimes admins set this value without realising that they probably don't need to set it at all. The default is perfectly fine. This is what the config looks like:

    Cookie Domain setting

    If this is set, you'll want to revert the setting by editing your database directly:

    Redis: hdel config cookieDomain
    MongoDB: db.objects.update({ _key: "config" }, { $set: "cookieDomain": "" });

    3. Missing X-Forwarded-Proto header from nginx/apache

    If you are using a reverse proxy, you will need to have nginx pass a header through to NodeBB so it correctly determines the correct cookie secure property.

    In nginx, you will need to add the directive like so:

    location / { ... proxy_set_header X-Forwarded-Proto $scheme; ... }
  • 5 Votes
    4 Posts

    There are two main reasons why this guide has been published. I have had to limit mobile bandwidth consumption on 3G connection and to get rid of Git and Ruby issues. Mixing them up with Windows command line is a bit quirky.

    Linux and other *nix users should skip it and go with your official guide. I have tested it on a local computer with Fedora 21 Server and it is really easy to reproduce. But on Windows it is not.

    And you do not need to change so many firewall settings for cmd.exe, ssh.exe and similar processes. Using web-based OpenShift tools is also much easier for beginners.

    We have prepared a new guide for users with rhc and git tools.

    I hope it can be used by those who only installed PHP forum scripts.

  • 0 Votes
    5 Posts

    @pitaj Thanks!

  • Cannot GET /

    Bug Reports
    0 Votes
    6 Posts

    Not yet, still getting the same error.

  • 0 Votes
    3 Posts

    @planner Thx for Reply