Lucifer4o on 24 Dec 2014 wrote:While the site was down, I did some work:
Just added the little trick to disable all Add-ons on disabling the core.
I would like to ask if would be possible to do something similar for enabling. I mean if user accidentally enable some of the add-ons first he/she will get error.
Unfortunately not. I tried to enable the "ACP Cleanup" first and get this error:
Code: Select all
Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException' with message 'The service "phpbbgallery.acpcleanup.cleanup" has a dependency on a non-existent service "phpbbgallery.core.file.tool".' in /xxx/yyy/zzz/forum1_phpBB31/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:59 Stack trace: #0 /xxx/yyy/zzz/forum1_phpBB31/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php(43): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processReferences(Array) #1 /xxx/yyy/zzz/forum1_phpBB31/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php(37): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processDefinition(Object(Sy in /xxx/yyy/zzz/forum1_phpBB31/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php on line 59
And here are some small language issues:
Page with image:
In ACP - Configure gallery:
Small plural issue in statistics I have "1 images"
In language file gallery.php is:
Code: Select all
'ALLOW_COMMENTS_ARY' => array(
0 => 'Allow comments for this image.',
2 => 'Allow comments for these images.',
Not sure if this is incorrect, but usually there is number 1 for singular.