HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

re: Something has gone wrong error on fresh install, via iis10.

system:

iis10

php 7.4.16

mysql 8.0.2

vanilla-2021.003

have not configured prettyurls, however am using the following config.web which did the trick for

vanilla 3.x:

config.web

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

 <system.webServer>

   <rewrite>

     <rules>

                  <clear/>

                                   <rule

name="Vanilla: https://www.mysite.com/forum"

patternSyntax="Wildcard">

                                               <match url="*"/>

                                                           <conditions>

                                                                       <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>

                                                                       <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>

                                                           </conditions>

                                               <action type="Rewrite" url="index.php\?p={R:1}" appendQueryString="true" />

                                   </rule>

            </rules>

   </rewrite>

            </system.webServer>

</configuration>


error output:

[30-Mar-2021 18:58:03 UTC] PHP Warning: No custom theme provider found! in D:\www\brightonspeaks.com\forum\library\Vanilla\Theme\ThemeService.php on line 476

[30-Mar-2021 18:58:03 UTC] PHP Warning: Theme not found. in D:\www\brightonspeaks.com\forum\library\Vanilla\Theme\ThemeService.php on line 419

[30-Mar-2021 18:58:03 UTC] PHP Warning: No custom theme provider found! in D:\www\brightonspeaks.com\forum\library\Vanilla\Theme\ThemeService.php on line 476

[30-Mar-2021 18:58:03 UTC] PHP Fatal error: Uncaught Garden\Web\Exception\NotFoundException: Theme not found. in D:\www\brightonspeaks.com\forum\library\Vanilla\Theme\FsThemeProvider.php:100

Stack trace:

#0 D:\www\brightonspeaks.com\forum\library\Vanilla\Theme\FsThemeProvider.php(68): Vanilla\Theme\FsThemeProvider->getThemeAddon('theme-foundatio...')

#1 D:\www\brightonspeaks.com\forum\library\Vanilla\Theme\ThemeService.php(157): Vanilla\Theme\FsThemeProvider->getTheme('theme-foundatio...', Array)

#2 D:\www\brightonspeaks.com\forum\library\Vanilla\Theme\ThemeService.php(421): Vanilla\Theme\ThemeService->getTheme('theme-foundatio...')

#3 D:\www\brightonspeaks.com\forum\library\Vanilla\Theme\ThemeService.php(326): Vanilla\Theme\ThemeService->getCurrentTheme('prioritizeAddon')

#4 D:\www\brightonspeaks.com\forum\library\Vanilla\Utility\ContainerUtils.php(58): Vanilla\Theme\ThemeService->getCurrentThemeAddon()

#5 [internal function]: Vanilla\Utility\ContainerUtils::Vanilla\Utility\{closure}(Object(Garden\Container\Container), NULL)

#6 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Callback.php(32): call_user_func(Object(Closure), Object(Garden\Container\Container), NULL)

#7 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(723): Garden\Container\Callback->resolve(Object(Garden\Container\Container), NULL)

#8 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(549): Garden\Container\Container->resolveArgs(Array, Array)

#9 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(750): Garden\Container\Container->createSharedInstance('Vanilla\\Theme\\T...', Array, Array)

#10 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(361): Garden\Container\Container->createInstance('Vanilla\\Theme\\T...', Array)

#11 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(829): Garden\Container\Container->getArgs('Vanilla\\Theme\\T...')

#12 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Reference.php(64): Garden\Container\Container->get('Vanilla\\Theme\\T...')

#13 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(723): Garden\Container\Reference->resolve(Object(Garden\Container\Container), Object(Garden\Web\ResourceRoute))

#14 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(488): Garden\Container\Container->resolveArgs(Array, Array, Object(Garden\Web\ResourceRoute))

#15 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(747): Garden\Container\Container->Garden\Container\{closure}(Array)

#16 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(361): Garden\Container\Container->createInstance('@new-search-rou...', Array)

#17 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Reference.php(60): Garden\Container\Container->getArgs('@new-search-rou...', Array)

#18 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(723): Garden\Container\Reference->resolve(Object(Garden\Container\Container), Object(Garden\Web\Dispatcher))

#19 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(569): Garden\Container\Container->resolveArgs(Array, Array, Object(Garden\Web\Dispatcher))

#20 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(750): Garden\Container\Container->createSharedInstance('Garden\\Web\\Disp...', Array, Array)

#21 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(361): Garden\Container\Container->createInstance('Garden\\Web\\Disp...', Array)

#22 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(829): Garden\Container\Container->getArgs('Garden\\Web\\Disp...')

#23 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\DefaultReference.php(51): Garden\Container\Container->get('Garden\\Web\\Disp...')

#24 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(723): Garden\Container\DefaultReference->resolve(Object(Garden\Container\Container), NULL)

#25 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(549): Garden\Container\Container->resolveArgs(Array, Array)

#26 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(750): Garden\Container\Container->createSharedInstance('Gdn_Dispatcher', Array, Array)

#27 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(361): Garden\Container\Container->createInstance('Gdn_Dispatcher', Array)

#28 D:\www\brightonspeaks.com\forum\vendor\vanilla\garden-container\src\Container.php(356): Garden\Container\Container->getArgs('Gdn_Dispatcher', Array)

#29 D:\www\brightonspeaks.com\forum\library\core\class.gdn.php(251): Garden\Container\Container->getArgs('Dispatcher', Array)

#30 D:\www\brightonspeaks.com\forum\library\core\class.gdn.php(210): Gdn::factory('Dispatcher')

#31 D:\www\brightonspeaks.com\forum\index.php(25): Gdn::dispatcher()

#32 {main}

 thrown in D:\www\brightonspeaks.com\forum\library\Vanilla\Theme\FsThemeProvider.php on line 100

Comments

  • P.S. as this is a fresh new server, I installed Vanilla 3.3, just to validate prior release and had no problems.

Sign In or Register to comment.