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

Fresh Install of vanilla-2021012 (500 Error)

I'm trying to do a fresh install of Vanilla.

nginx v1.21.4 - MySQL  v5.7.36 - PHP v8.0.12

What I did was :

1) downloaded vanilla-2021012.zip and uploaded it my /forum/ directory.

2) made sure that uploads, conf and cache folder were writable by the server.

I navigated to https://www.example.com/forum/ and all I get is a 500 error.

The error log shows this :

PHP Fatal error: Uncaught Error: Unknown named parameter $defaultgroup in /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php:552\nStack trace:\n#0 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(552): ReflectionMethod->invokeArgs(Object(Gdn_Configuration), Array)\n#1 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(750): Garden\\Container\\Container->createSharedInstance('Gdn_Configurati...', Array, Array)\n#2 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(361): Garden\\Container\\Container->createInstance('Gdn_Configurati...', Array)\n#3 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(829): Garden\\Container\\Container->getArgs('Gdn_Configurati...')\n#4 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/DefaultReference.php(51): Garden\\Container\\Container->get('Gdn_Configurati...')\n#5 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(723): Garden\\Container\\DefaultReference->resolve(Object(Garden\\Container\\Container), NULL)\n#6 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(776): Garden\\Container\\Container->resolveArgs(Array, Array, NULL)\n#7 /www/example.com/httpdocs/forum/bootstrap.php(680): Garden\\Container\\Container->call(Object(Closure))\n#8 /www/example.com/httpdocs/forum/index.php(22): require_once('/usr/opt/www/hz...')\n#9 {main}\n\nNext ReflectionException: Invocation of method Gdn_Configuration::__construct() failed in /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php:552\nStack trace:\n#0 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(552): ReflectionMethod->invokeArgs(Object(Gdn_Configuration), Array)\n#1 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(750): Garden\\Container\\Container->createSharedInstance('Gdn_Configurati...', Array, Array)\n#2 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(361): Garden\\Container\\Container->createInstance('Gdn_Configurati...', Array)\n#3 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(829): Garden\\Container\\Container->getArgs('Gdn_Configurati...')\n#4 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/DefaultReference.php(51): Garden\\Container\\Container->get('Gdn_Configurati...')\n#5 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(723): Garden\\Container\\DefaultReference->resolve(Object(Garden\\Container\\Container), NULL)\n#6 /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php(776): Garden\\Container\\Container->resolveArgs(Array, Array, NULL)\n#7 /www/example.com/httpdocs/forum/bootstrap.php(680): Garden\\Container\\Container->call(Object(Closure))\n#8 /www/example.com/httpdocs/forum/index.php(22): require_once('/usr/opt/www/hz...')\n#9 {main}\n thrown in /www/example.com/httpdocs/forum/vendor/vanilla/garden-container/src/Container.php on line 552

Comments

Sign In or Register to comment.