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

Fatal Error in SetupController.Index();

edited August 2011 in Vanilla 2.0 - 2.8
I got:
Vanilla has already been installed.
The error occurred on or near: /forum/applications/dashboard/controllers/class.setupcontroller.php
33: // Fatal error if Garden has already been installed.
34:
35: $Installed = Gdn::Config('Garden.Installed') ? TRUE : FALSE;
36: if ($Installed)
37: throw new Exception('Vanilla has already been installed.');
38:
39: if (!$this->_CheckPrerequisites()) {
40: $this->View = 'prerequisites';
41: } else {
Backtrace:
/forum/applications/dashboard/controllers/class.setupcontroller.phpSetupController->Index();
[/forum/library/core/class.dispatcher.php:291] PHP::call_user_func_array();
[/forum/index.php:51] Gdn_Dispatcher->Dispatch();

Additional information for support personnel:
Application: Vanilla
Application Version: 2.0.18b2
PHP Version: 5.2.17
Operating System: Linux
Server Software: IdeaWebServer/v0.70
Referer: http://www.stocktipsters.com/forum/index.php?p=/dashboard/setup
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.215 Safari/535.1
Request Uri: /forum/index.php?p=/dashboard/setup
Controller: SetupController
Method: Index

Pretty wierd fatal error, cause I deleted all files and db entries from vanilla, and put everything on server from zip with latest vanilla. I had edited only one file: .htaccess and it looks like that:

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]
RewriteRule ^$ index.php?p=$1 [QSA,L] <- without this vanilla wasn't working good. Had no stylling when entering without index.php on end of the address.
Tagged:
Sign In or Register to comment.