Jump to content

Fresh installation: Can't login to frontend

Recommended Posts

Hi everyone.

I'm in the process of migrating from Invision Community 4.7.3 to the latest release (4.7.6 at the moment), but before doing so, I'm testing everything on a new server because the current server is somehow... old; it can't even support PHP 8. This new server will host the production community if everything goes well.

Well, the first step was installing Invision Community from scratch, but my problem is very simple: I can't login to frontend. When I enter my login information into the login box, the software redirects me to ?_fromLogin=1 but nothing happens. I keep logging out.

This is a fresh installation, so I don't have any 3rd party customizations installed, and there are no errors in PHP and/or system logs. So I don't know how to continue.

Has anyone had this issue? Thanks!

Link to comment
Share on other sites

8 hours ago, Randy Calvert said:

Try a different browser. If it works, there might be a problem with your cache on the first. Purge it and try again. 

I have already tried it 😓 The problem persists.

Edited by shiobi
Link to comment
Share on other sites

2 minutes ago, Richard Arch said:

What about a .htaccess file could that have a redirect error.

The server runs Nginx. It doesn't use .htaccess.

Here is the Nginx configuration file:

server {
        listen 80 default_server;
        listen [::]:80 default_server;

        root /var/www/html;

        # Add index.php to the list if you are using PHP
        index index.php index.html index.htm index.nginx-debian.html;

        server_name _;

        set_real_ip_from; set_real_ip_from; set_real_ip_from; set_real_ip_from; set_real_ip_from; ...
        real_ip_header CF-Connecting-IP;

        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                # try_files $uri $uri/ =404;
                try_files $uri $uri/ /index.php?$args;

        location /api/ {
                if (!-e $request_filename) {
                        rewrite ^/api/(.*)$ /api/index.php;

        # pass PHP scripts to FastCGI server
        location ~ \.php$ {
                include snippets/fastcgi-php.conf;
                # With php-fpm (or other unix sockets):
                fastcgi_pass unix:/run/php/php8.1-fpm.sock;
                # With php-cgi (or other tcp sockets):
                # fastcgi_pass;


Link to comment
Share on other sites

9 minutes ago, Marc Stridgen said:

Please check your conf_global.php file, and ensure if you are using https on the server, you also have your address set to https there. If thats not the cause, please update your access details on file for the new server, and we can get this looked into

Yes, https is configured on conf_global.php.

I updated my access details. Thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...