Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

Addons conversations and vanilla not found after 2.6 installation

I have been trying to install Vanilla 2.6 onto a clean Windows Server 2012 R2 machine with IIS 6.2. I installed php 7.1.14 and MySQL 8.0.11. On MySQL, I turned off Strict Mode. I created a database. I changed the default authentication plugin to mysql_native_password, and created a user, making sure it used that authentication. I unzipped the vanilla 2.6 distro downloaded from this site and created a website in IIS pointing to the unzipped folder. I commented out references to .htaccess in the code because IIS doesn't use it (I was very careful; I can list them all). I setup the redirects via web.config (again, I can add detail if needed). I gave IIS users read/write/execute permissions to cache, conf, and uploads folders. I have also set debug on in my conf.php.

I started the installation by navigating to my vanilla website on a browser. I filled out the form and continued.

After a SQL error (see details here: MySQL error during install of Vanilla 2.6), which I was able to overcome by commenting out more code, I started getting a 404 error page with debug traces for conversations addon not found, and vanilla addon not found.

The addon with key /applications/conversations could not be found and will not be started.

#0 [internal function]: gdn_ErrorHandler(1024, 'The addon with ...', 'C:\\vanilla-core...', 1104, Array)
#1 C:\vanilla-core-2-6\library\Vanilla\AddonManager.php(1104): trigger_error('The addon with ...')
#2 C:\vanilla-core-2-6\bootstrap.php(264): Vanilla\AddonManager->startAddonsByKey(Array, 'addon')
#3 [internal function]: {closure}(Object(Garden\Container\Container), Object(Gdn_Configuration), Object(Vanilla\AddonManager), Object(Garden\EventManager), Object(Gdn_Request))
#4 C:\vanilla-core-2-6\vendor\vanilla\garden-container\src\Container.php(723): call_user_func_array(Object(Closure), Array)
#5 C:\vanilla-core-2-6\bootstrap.php(324): Garden\Container\Container->call(Object(Closure))
#6 C:\vanilla-core-2-6\index.php(22): require_once('C:\\vanilla-core...')
#7 {main}

The addon with key /applications/vanilla could not be found and will not be started.

#0 [internal function]: gdn_ErrorHandler(1024, 'The addon with ...', 'C:\\vanilla-core...', 1104, Array)
#1 C:\vanilla-core-2-6\library\Vanilla\AddonManager.php(1104): trigger_error('The addon with ...')
#2 C:\vanilla-core-2-6\bootstrap.php(264): Vanilla\AddonManager->startAddonsByKey(Array, 'addon')
#3 [internal function]: {closure}(Object(Garden\Container\Container), Object(Gdn_Configuration), Object(Vanilla\AddonManager), Object(Garden\EventManager), Object(Gdn_Request))
#4 C:\vanilla-core-2-6\vendor\vanilla\garden-container\src\Container.php(723): call_user_func_array(Object(Closure), Array)
#5 C:\vanilla-core-2-6\bootstrap.php(324): Garden\Container\Container->call(Object(Closure))
#6 C:\vanilla-core-2-6\index.php(22): require_once('C:\\vanilla-core...')
#7 {main}

My config.php has $Configuration['Vanilla']['Version'] = '2.4.201'; near the bottom; I don't know if this is relevant.

Based on other posts here and on Github, I have tried the following:

  1. Click on Activity. There's no link to the dashboard on that page.
  2. Navigate to /dashboard/settings.
  3. Click on Settings - Configuration & Addons.
  4. Under Addons, click on Applications. Here I can click to enable Conversations. I get a popup that says 'Conversations Enabled' but navigating back to the page shows it disabled.
  5. Under Addons, click on Plugins. Enable a random one (I enabled Discussion Photos). I got two confirmation popups, one for Discussion Photos and one for Vanilla, being required.

After enabling the other plugin, the 404 went away. Still, the debug trace at the bottom of each page complains about Conversations and Vanilla not being found.

Both applications, and the dashboard, are enabled in conf.php. This was true even before the 404 went away:

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

I understand there is an open issue on Github for enabling applications, but I get the feeling my issue goes a little deeper because enabling another addon doesn't fix it. Thanks in advance for any insight.

Sign In or Register to comment.