Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Installation and signin not working

I am using the latest version of vanilla and when i install, the install form which gatgers db details etc appears. Once i submit form the same page is loaded. When i reload it installation success is shown. Now when i try to login it simply says please try again. JSON response has no error message, redirect url etc!

Tagged:

Comments

  • Options

    Anybody have any idea?

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    We need more info what specific version? v2.1 v2.2 v2.3 etc...

    post the contents of the config.php but remove sensitive info like passwords and keys

  • Options
    amalfraamalfra New
    edited January 2015

    Its 2.1.7 and contents of config.php are:

    <?php if (!defined('APPLICATION')) exit();
    
    // Conversations
    $Configuration['Conversations']['Version'] = '2.1.7';
    
    // Database
    $Configuration['Database']['Name'] = '**********';
    $Configuration['Database']['Host'] =  '**********';
    $Configuration['Database']['User'] = '**********';
    $Configuration['Database']['Password'] =  '**********';
    
    // EnabledApplications
    $Configuration['EnabledApplications']['Conversations'] = 'conversations';
    $Configuration['EnabledApplications']['Vanilla'] = 'vanilla';
    
    // EnabledPlugins
    $Configuration['EnabledPlugins']['GettingStarted'] = 'GettingStarted';
    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
    
    // Garden
    $Configuration['Garden']['Title'] = 'Vanilla 2';
    $Configuration['Garden']['Cookie']['Salt'] =  '**********';
    $Configuration['Garden']['Cookie']['Domain'] = '';
    $Configuration['Garden']['Registration']['ConfirmEmail'] = TRUE;
    $Configuration['Garden']['Email']['SupportName'] = 'Vanilla 2';
    $Configuration['Garden']['InputFormatter'] = 'Html';
    $Configuration['Garden']['Html']['SafeStyles'] = TRUE;
    $Configuration['Garden']['Version'] = '2.1.7';
    $Configuration['Garden']['RewriteUrls'] = TRUE;
    $Configuration['Garden']['Cdns']['Disable'] = FALSE;
    $Configuration['Garden']['CanProcessImages'] = TRUE;
    $Configuration['Garden']['SystemUserID'] = '2';
    $Configuration['Garden']['Installed'] = TRUE;
    $Configuration['Garden']['InstallationID'] =  '**********';
    $Configuration['Garden']['InstallationSecret'] =  '**********';
    
    // Plugins
    $Configuration['Plugins']['GettingStarted']['Dashboard'] = '1';
    
    // Routes
    $Configuration['Routes']['DefaultController'] = 'discussions';
    
    // Vanilla
    $Configuration['Vanilla']['Version'] = '2.1.7';
    
  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    Ok so it is installed properly as far as the config being generated and it does say it is installed.
    However seems rather short.

    Please give me a link . Also post the htaccess file.

  • Options

    The htaccess is:

    # 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 /dev
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
    </IfModule>
    
  • Options
    hgtonighthgtonight ∞ · New Moderator

    The please try again message is generally because the transient key was outdated. A second attempt should fix this issue.

    Do you have cookies disabled?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    @hgtonight said:
    The please try again message is generally because the transient key was outdated. A second attempt should fix this issue.

    Do you have cookies disabled?

    No, i have cookies enabled and some times the page submits and reloads but won't be loggedin.

  • Options
    hgtonighthgtonight ∞ · New Moderator

    @amalfra said:
    No, i have cookies enabled and some times the page submits and reloads but won't be loggedin.

    Hmm... do you have an internet facing site? I can take a look at it if you do.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    grownupsmag.com/dev/

    The installation didn't actually went successful... the install form which gatgers db details etc appears. Once i submit form the same page is loaded. When i reload it installation success is shown.

  • Options
    hgtonighthgtonight ∞ · New Moderator

    You should enable debugging by adding $Configuration['Debug'] = TRUE; to your /conf/config.php file. Then visit /utility/update in your browser and report back the result.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options
    peregrineperegrine MVP
    edited January 2015

    http://docs.vanillaforums.com/developers/troubleshooting/

    edited: never mind - I see the troubleshooting instructions link in the readme.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Its fixed... The issue was the host has varnish cache installed. Once i disabled it things work great....

Sign In or Register to comment.