Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-15487

Unable to find template "acp_ext_enable.html" after renaming "adm" folder.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.2-RC1
    • Fix Version/s: None
    • Component/s: ACP, Extensions
    • Labels:
      None

      Description

      Hi,

      If we rename the 'adm' folder and try to enable an extension, we encounter the following error:

      Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "acp_ext_enable.html" (looked into: ).' in /var/www/clients/client3/web24/web/forums/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:232 Stack trace:
      #0 /var/www/clients/client3/web24/web/forums/phpbb/template/twig/loader.php(135): Twig_Loader_Filesystem->findTemplate('acp_ext_enable....')
      #1 /var/www/clients/client3/web24/web/forums/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(150): phpbb\template\twig\loader->findTemplate('acp_ext_enable....')
      #2 /var/www/clients/client3/web24/web/forums/vendor/twig/twig/lib/Twig/Environment.php(329): Twig_Loader_Filesystem->getCacheKey('acp_ext_enable....')
      #3 /var/www/clients/client3/web24/web/forums/vendor/twig/twig/lib/Twig/Environment.php(419): Twig_Environment->getTemplateClass('acp_ext_enable....')
      #4 /var/www/clients/client3/web24/web/forums/phpbb/template/twig/environment.php(277): Twig_Environment->loadTemplate('acp_ext_enable....', NULL)
      #5 /var/www/clients/client3/web24/web/forums/ve in /var/www/clients/client3/web24/web/forums/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 232

      This error only appears when an extension is enabled.
      No errors during disabling or deletion.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Skouat Skouat
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: