Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: None
    • Labels:
      None

      Description

      The following error is displayed in the footer of the ACP login page:

      Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Looks like you try to load a template outside configured directories (./../assets/javascript/core.js) in "overall_footer.html" at line 61.' in C:\xampp\htdocs\phpbb\clean\vendor\twig\twig\lib\Twig\Loader\Filesystem.php:219 Stack trace: #0 C:\xampp\htdocs\phpbb\clean\vendor\twig\twig\lib\Twig\Loader\Filesystem.php(176): Twig_Loader_Filesystem->validateName('./../assets/jav...') #1 C:\xampp\htdocs\phpbb\clean\vendor\twig\twig\lib\Twig\Loader\Filesystem.php(135): Twig_Loader_Filesystem->findTemplate('./../assets/jav...') #2 C:\xampp\htdocs\phpbb\clean\cache\twig\f7\ed\42eac190089c61ac459e310392e6.php(274): Twig_Loader_Filesystem->getCacheKey('./../assets/jav...') #3 C:\xampp\htdocs\phpbb\clean\vendor\twig\twig\lib\Twig\Template.php(264): __TwigTemplate_f7ed42eac190089c61ac459e310392e6->doDisplay(Array, Array) #4 C:\xampp\htdocs\phpbb\clean\vendor\twig\twig\lib\Twig\Template.php(238): Twig_Template->displayWithErrorHandling(Array, Array) #5 C:\xampp\htdocs\phpb in C:\xampp\htdocs\phpbb\clean\vendor\twig\twig\lib\Twig\Loader\Filesystem.php on line 219

      Steps to reproduce:
      1. Install latest develop
      2. Log out
      3. Log in
      4. Click on ACP link in footer
      3. See error (above) in footer

        Activity

        Hide
        Arty Vjacheslav Trushkin added a comment -

        That fix makes template system not to look for files that start with ./
        ./ is in all cases added by $phpbb_root_path, so file already has full path and does not need to be located

        Show
        Arty Vjacheslav Trushkin added a comment - That fix makes template system not to look for files that start with ./ ./ is in all cases added by $phpbb_root_path, so file already has full path and does not need to be located

          People

          • Assignee:
            imkingdavid David King
            Reporter:
            imkingdavid David King
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development