Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

cannot login after first installation

I installed vanilla 2.3.1 for the first time, in a clean installation, but when I want to connect to the admin I get the message that I attached

Thanks in advance

Comments

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    I don’t understand what is the problem, the system account is not the admin account ... please read the documentation if any . System account is A bot you can programan to do tasks. It’s not a real user admin or otherwise . You give it roles.

  • edited January 28

    yeah sorry i'm a newbie. I've read forums and docs and cannot figure it out how to get access to setup screen. I'll keep searching for it.

    One more thing https://mydomain/dashboard/settings does not work.

    Thanks

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    The config.php is thedashboard.You can undo there whatever you did wrong and get in using the ui

  • What parameters should I change in config.php? I have already done the setup process and the forum is working and configured. I just can not log in as admin, nor can I register as a regular user.
    Every time I try to do it, it shows me the message of the image that I attached.

    Thanks

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Can you use the stand alone sign in page at yoursite.com/entry/signin ?

  • No, when i try to use mysite.com/entry/signin i "always" come back to that screen

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Can you copy the content of your htaccess file and paste the code here

    R_J
  • Yes, of course and thanks again.

    `# Original

    If you modify this file then change the above line to: # Modified


    RewriteEngine On

    # Certain hosts may require the following line.
    # If vanilla is in a subfolder then you need to specify it after the /.
    # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
    # RewriteBase /
    
    RewriteCond %{QUERY_STRING} ^p=/?([^&]+)(&([^?]+))?$
    RewriteRule ^index\.php %1?%3 [E=X_REWRITE:1,L]
    
    # The basic rewrite rule.
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,E=X_REWRITE:1,E=X_PATH_INFO:/$1,L]
    
    # Add the proper X_REWRITE server variable for rewritten requests.
    RewriteCond %{ENV:REDIRECT_X_REWRITE} .+
    RewriteCond %{ENV:REDIRECT_X_PATH_INFO} (.+)
    RewriteRule ^index\.php - [QSA,E=X_REWRITE:1,E=!REDIRECT_X_REWRITE,E=X_PATH_INFO:%1,E=!REDIRECT_X_PATH_INFO,L]
    
    # 301 redirect urls that start with index.php
    #RewriteCond %{REQUEST_METHOD} GET [NC]
    #RewriteCond %{REQUEST_URI} ^(.*?)/index\.php(.*)$
    #RewriteRule ^index\.php /%1%2 [QSA,R,L]
    



    Header set Cache-Control "max-age=315360000"
    Header set Expires "31 December 2037 23:59:59 GMT"

    `

  • Yes, Of Course and Thanks Again.

    # Original
    # If you modify this file then change the above line to: # Modified
    
    <IfModule mod_rewrite.c>
        RewriteEngine On
    
        # Certain hosts may require the following line.
        # If vanilla is in a subfolder then you need to specify it after the /.
        # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
        # RewriteBase /
    
        RewriteCond %{QUERY_STRING} ^p=/?([^&]+)(&([^?]+))?$
        RewriteRule ^index\.php %1?%3 [E=X_REWRITE:1,L]
    
        # The basic rewrite rule.
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php [QSA,E=X_REWRITE:1,E=X_PATH_INFO:/$1,L]
    
        # Add the proper X_REWRITE server variable for rewritten requests.
        RewriteCond %{ENV:REDIRECT_X_REWRITE} .+
        RewriteCond %{ENV:REDIRECT_X_PATH_INFO} (.+)
        RewriteRule ^index\.php - [QSA,E=X_REWRITE:1,E=!REDIRECT_X_REWRITE,E=X_PATH_INFO:%1,E=!REDIRECT_X_PATH_INFO,L]
    
        # 301 redirect urls that start with index.php
        #RewriteCond %{REQUEST_METHOD} GET [NC]
        #RewriteCond %{REQUEST_URI} ^(.*?)/index\.php(.*)$
        #RewriteRule ^index\.php /%1%2 [QSA,R,L]
    </IfModule>
    
    <IfModule mod_headers.c>
       <FilesMatch "(?<!embed)\.(css|js|woff|ttf|eot|svg|png|gif|jpeg|jpg|ico|swf)$">
          Header set Cache-Control "max-age=315360000"
          Header set Expires "31 December 2037 23:59:59 GMT"
       </FilesMatch>
    </IfModule>
    
  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator

    Sorry, the above post got caught in the Spam filter.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Ok you need to use a different htaccess file . Try to replace the contents of the entire file with this, and report back.

    # Modified
    # If you modify this file then change the above line to: # Modified
    <IfModule mod_rewrite.c>
       RewriteEngine On
       # Certain hosts may require the following line.
       # If vanilla is in a subfolder then you need to specify it after the /. 
       # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
    </IfModule>
    
  • Thanks! It works!
    Awesome!

Sign In or Register to comment.