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.

Unable to access dashboard after clean install! (Page not found)

I am attempting to setup Vanilla for a client, however when I run the installer some strange things happen. First, when when i fill out the initial config form and hit submit, it takes me back to the same form, if i then fill it out it tells me that it has been setup and displays the link to the homepage of the new install. Here everything looks normal except there is no link to the dashboard anywhere and when you put in <url>/dashboard it displays vanilla's 404 page.

Here is the relevant config information:

config.php:

<?php if (!defined('APPLICATION')) exit();

// Conversations
$Configuration['Conversations']['Version'] = '2.1.1';

// Database
$Configuration['Database']['Name'] = '[REDACTED]';
$Configuration['Database']['Host'] = 'localhost';
$Configuration['Database']['User'] = '[REDACTED]';
$Configuration['Database']['Password'] = '[REDACTED]';

// EnabledApplications
$Configuration['EnabledApplications']['Conversations'] = 'conversations';
$Configuration['EnabledApplications']['Vanilla'] = 'vanilla';

// EnabledPlugins
$Configuration['EnabledPlugins']['GettingStarted'] = 'GettingStarted';
$Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';

// Garden
$Configuration['Garden']['Title'] = 'Radio Skate';
$Configuration['Garden']['Cookie']['Salt'] = 'P7YONMUJK3';
$Configuration['Garden']['Cookie']['Domain'] = '';
$Configuration['Garden']['Registration']['ConfirmEmail'] = TRUE;
$Configuration['Garden']['Email']['SupportName'] = 'Radio Skate';
$Configuration['Garden']['InputFormatter'] = 'Html';
$Configuration['Garden']['Version'] = '2.1.1';
$Configuration['Garden']['RewriteUrls'] = TRUE;
$Configuration['Garden']['Cdns']['Disable'] = FALSE;
$Configuration['Garden']['CanProcessImages'] = TRUE;
$Configuration['Garden']['SystemUserID'] = '2';
$Configuration['Garden']['Installed'] = TRUE;
$Configuration['Garden']['InstallationID'] = '[REDACTED]';
$Configuration['Garden']['InstallationSecret'] = '[REDACTED]';

// Plugins
$Configuration['Plugins']['GettingStarted']['Dashboard'] = '1';

// Routes
$Configuration['Routes']['DefaultController'] = 'discussions';

// Vanilla
$Configuration['Vanilla']['Version'] = '2.1.1';

// Last edited by [REDACTED] ([REDACTED])2014-08-18 03:43:04

Note: I Noticed after i pasted this that the closing php tag is missing!

.htaccess:

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

Apache VHost:

<VirtualHost *:80>
    ServerName www.clients.rootwerk.systems
    ServerAlias clients.rootwerk.systems
    ServerAdmin [REDACTED]

    DocumentRoot /var/www/subdomains/clients

    <Directory /var/www/subdomains/clients/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            Order allow,deny
            allow from all
    </Directory>
</VirtualHost>

Machine / OS Info:

  • Hosted on DigitalOcean LAMP Droplet
  • OS: Ubuntu 14.04.1 LTS
  • Apache Version: 2.4.7 (Ubuntu)
  • PHP Version: 5.5.9-1ubuntu4.3
  • MySQL Version: 5.5.38-0ubuntu0.14.04.1

Best Answers

Answers

Sign In or Register to comment.