Install Activation error

For assistance with the phpBB Wall extension
Post Reply
User avatar
Mandi
Site Admin
Site Admin
Posts: 47
Joined: July 31st, 2023, 8:37 pm
Location: Somewhere, Canada
Contact:

Install Activation error

Post by Mandi »

Upon installing and activating the extension, this error message w2as shown:

phpBB encountered an error building the container due to an installed extension. For this reason, all extensions have been temporarily disabled. Please try purging your forum cache. All extensions will automatically be re-enabled once the container error is resolved. If this error continues, please visit phpBB.com for support.

Exception: The file "/home/******/forum.lipsweb.com/ext/msaulohenrique/wall/config/services.yml" does not contain valid YAML: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 5 (near "- @auth").

#0 /home/******/forum.lipsweb.com/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(117): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile()
#1 /home/******/forum.lipsweb.com/phpbb/extension/di/extension_base.php(99): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load()
#2 /home/******/forum.lipsweb.com/phpbb/extension/di/extension_base.php(63): phpbb\extension\di\extension_base->load_services()
#3 /home/******/forum.lipsweb.com/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(71): phpbb\extension\di\extension_base->load()
#4 /home/******/forum.lipsweb.com/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process()
#5 /home/******/forum.lipsweb.com/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process()
#6 /home/******/forum.lipsweb.com/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile()
#7 /home/******/forum.lipsweb.com/phpbb/di/container_builder.php(223): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#8 /home/******/forum.lipsweb.com/common.php(117): phpbb\di\container_builder->get_container()
#9 /home/******/forum.lipsweb.com/adm/index.php(23): require('/home/lipsweb/f...')
#10 {main}
User avatar
Mandi
Site Admin
Site Admin
Posts: 47
Joined: July 31st, 2023, 8:37 pm
Location: Somewhere, Canada
Contact:

Re: Install Activation error

Post by Mandi »

To fix this error open the services.yml file located in the ext/msaulohenrique/wall/config folder.

Locate all instances of - @something, for example - @auth on line 5

Insert single quotes in the parameters, so it appears (as example above) will make line 5 appear like this

Code: Select all

            - '@auth'
When doing so, be sure to remove any remaining whitespace on the end, as this does cause issues too. This will need to be done for ALL lines with instances of @something, and there are a lot of them in that file.

Save, and that problem is resolved.
Post Reply