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
-
vrijvlinder MVP
Ok please read this http://vanillaforums.org/discussion/25111/about-error-404-not-found and report when you changed the htaccess and the config.php
Please post a link to your site.
6 -
hgtonight MVP
Great opening post!
Have you tried visiting
http://forums.example.com/index.php?p=/dashboard/settings
?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.
6
Answers
Note this also happens with 2.0.18.13 so it is most likely a misconfiguration of my server. (On 2.0.18 all pages yeild a "Page not Found" error.
Ok please read this http://vanillaforums.org/discussion/25111/about-error-404-not-found and report when you changed the htaccess and the config.php
Please post a link to your site.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Great opening post!
Have you tried visiting
http://forums.example.com/index.php?p=/dashboard/settings
?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.
That works! i'll edit the .htaccess adoringly! I feel so dumb for missing that... (Though i couldn't find any mention of how url's look with rewrite off...)
We try not to talking about ugly URLs if at all possible
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.
Haha yea, i hate seeing ugly urls and almost everything does it so flawlessly now that it never even crossed my mind that that would be an issue