Author Topic: Receiving "The installer is disabled!" Message Even Though It's Not...  (Read 16077 times)

Offline clifton11221

  • Jr. Member
  • **
  • Posts: 17
I'm attempting to upgrade from version 1.0.4 to 1.1.0.  However, when I go to the installer URL I receive the error message:

Code: [Select]
The installer is disabled!

To enable it again, set $config['enable_installer'] = true; in RCUBE_CONFIG_DIR/config.inc.php

However, the installer is enabled.  Below is the code in my file.  Kindly let me know what's wrong?

I tried this:

Code: [Select]
$config['enable_installer'] = 'true';
And I tried this:

Code: [Select]
$config['enable_installer'] = true;
And I still get the error.

Below is the block of code from  my file:

Code: [Select]
<?php

/* Local configuration for Roundcube Webmail */

// ----------------------------------
// SQL DATABASE
// ----------------------------------
// Database connection string (DSN) for read+write operations
// Format (compatible with PEAR MDB2): db_provider://user:password@host/database
// Currently supported db_providers: mysql, pgsql, sqlite, mssql or sqlsrv
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
// NOTE: for SQLite use absolute path: 'sqlite:////full/path/to/sqlite.db?mode=0646'
$config['db_dsnw'] = 'mysql://IRemovedThisInfo';

// ----------------------------------
// IMAP
// ----------------------------------
// The mail host chosen to perform the log-in.
// Leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string.
// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
// Supported replacement variables:
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %s - domain name after the '@' from e-mail address provided at login screen
// For example %n = mail.domain.tld, %t = domain.tld
// WARNING: After hostname change update of mail_host column in users table is
//          required to match old user data records with the new host.
$config['default_host'] = 'localhost';

// provide an URL where a user can get support for this Roundcube installation
// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
$config['support_url'] = 'http://mydomainremoved.net/support/';

// replace Roundcube logo with this image
// specify an URL relative to the document root of this Roundcube installation
// an array can be used to specify different logos for specific template files, '*' for default logo
// for example array("*" => "/images/roundcube_logo.png", "messageprint" => "/images/roundcube_logo_print.png")
$config['skin_logo'] = './logo/14_urbanareas_roundcube_logo.png';

// this key is used to encrypt the users imap password which is stored
// in the session record (and the client cookie if remember password is enabled).
// please provide a string of exactly 24 chars.
$config['des_key'] = 'IRemovedThisKey';

// Name your service. This is displayed on the login screen and in the window title
$config['product_name'] = 'MyDomain Webmail';

// ----------------------------------
// PLUGINS
// ----------------------------------
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array('plugin_manager');

// the default locale setting (leave empty for auto-detection)
// RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
$config['language'] = 'en_US';

// Set the spell checking engine. Possible values:
// - 'googie'  - the default
// - 'pspell'  - requires the PHP Pspell module and aspell installed
// - 'enchant' - requires the PHP Enchant module
// - 'atd'     - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API
// Since Google shut down their public spell checking service, you need to 
// connect to a Nox Spell Server when using 'googie' here. Therefore specify the 'spellcheck_uri'
$config['spellcheck_engine'] = 'pspell';

// compose html formatted messages by default
// 0 - never, 1 - always, 2 - on reply to HTML message, 3 - on forward or reply to HTML message
$config['htmleditor'] = 1;

// Behavior if a received message requests a message delivery notification (read receipt)
// 0 = ask the user, 1 = send automatically, 2 = ignore (never send or ask)
// 3 = send automatically if sender is in addressbook, otherwise ask the user
// 4 = send automatically if sender is in addressbook, otherwise ignore
$config['mdn_requests'] = 2;

$config['enable_installer'] = true;

« Last Edit: February 18, 2015, 02:38:02 PM by clifton11221 »

Offline clifton11221

  • Jr. Member
  • **
  • Posts: 17
Re: Receiving "The installer is disabled!" Message Even Though It's Not...
« Reply #1 on: February 23, 2015, 01:17:57 AM »
Any ideas on what could cause this (or how to fix it)?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Receiving "The installer is disabled!" Message Even Though It's Not...
« Reply #2 on: February 23, 2015, 03:12:00 AM »
There isn't anything wrong with your config. Last time I saw something similar to this the person was editing a config file for a different installation of Roundcube. Check to see if removing the config.inc.php removes the error.

Offline clifton11221

  • Jr. Member
  • **
  • Posts: 17
Re: Receiving "The installer is disabled!" Message Even Though It's Not...
« Reply #3 on: February 23, 2015, 11:37:52 PM »
There isn't anything wrong with your config. Last time I saw something similar to this the person was editing a config file for a different installation of Roundcube. Check to see if removing the config.inc.php removes the error.

Thank you... That's solved the problem!