Hallo in die Runde,
Contao 3.0.0 mit theme+ 4.0.0 rc1 ist frisch aufgesetzt auf dem localhost. Bei Aufruf der Systemwartung erscheint nachfolgende Fehlermeldung
Code:
Warning: scandir(E:\xampp\htdocs\contao_webdesign_marenlange/system/cache/twig/,E:\xampp\htdocs\contao_webdesign_marenlange/system/cache/twig/): Das System kann die angegebene Datei nicht finden. (code: 2) in E:\xampp\htdocs\contao_webdesign_marenlange\system\helper\functions.php on line 182
#0 [internal function]: __error(2, 'scandir(E:\xamp...', 'E:\xampp\htdocs...', 182, Array)
#1 E:\xampp\htdocs\contao_webdesign_marenlange\system\helper\functions.php(182): scandir('E:\xampp\htdocs...')
#2 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\twig\config\config.php(42): scan('E:\xampp\htdocs...')
#3 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\twig\config\config.php(66): scanTwigCacheDirectories('system/cache/tw...')
#4 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\core\library\Contao\Config.php(135): include('E:\xampp\htdocs...')
#5 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\core\library\Contao\Config.php(112): Contao\Config->initialize()
#6 E:\xampp\htdocs\contao_webdesign_marenlange\system\initialize.php(87): Contao\Config::getInstance()
#7 E:\xampp\htdocs\contao_webdesign_marenlange\contao\main.php(18): require_once('E:\xampp\htdocs...')
#8 {main}
Warning: scandir(E:\xampp\htdocs\contao_webdesign_marenlange/system/cache/twig/): failed to open dir: No such file or directory in E:\xampp\htdocs\contao_webdesign_marenlange\system\helper\functions.php on line 182
#0 [internal function]: __error(2, 'scandir(E:\xamp...', 'E:\xampp\htdocs...', 182, Array)
#1 E:\xampp\htdocs\contao_webdesign_marenlange\system\helper\functions.php(182): scandir('E:\xampp\htdocs...')
#2 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\twig\config\config.php(42): scan('E:\xampp\htdocs...')
#3 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\twig\config\config.php(66): scanTwigCacheDirectories('system/cache/tw...')
#4 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\core\library\Contao\Config.php(135): include('E:\xampp\htdocs...')
#5 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\core\library\Contao\Config.php(112): Contao\Config->initialize()
#6 E:\xampp\htdocs\contao_webdesign_marenlange\system\initialize.php(87): Contao\Config::getInstance()
#7 E:\xampp\htdocs\contao_webdesign_marenlange\contao\main.php(18): require_once('E:\xampp\htdocs...')
#8 {main}
Warning: scandir(): (errno 2): No such file or directory in E:\xampp\htdocs\contao_webdesign_marenlange\system\helper\functions.php on line 182
#0 [internal function]: __error(2, 'scandir(): (err...', 'E:\xampp\htdocs...', 182, Array)
#1 E:\xampp\htdocs\contao_webdesign_marenlange\system\helper\functions.php(182): scandir('E:\xampp\htdocs...')
#2 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\twig\config\config.php(42): scan('E:\xampp\htdocs...')
#3 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\twig\config\config.php(66): scanTwigCacheDirectories('system/cache/tw...')
#4 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\core\library\Contao\Config.php(135): include('E:\xampp\htdocs...')
#5 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\core\library\Contao\Config.php(112): Contao\Config->initialize()
#6 E:\xampp\htdocs\contao_webdesign_marenlange\system\initialize.php(87): Contao\Config::getInstance()
#7 E:\xampp\htdocs\contao_webdesign_marenlange\contao\main.php(18): require_once('E:\xampp\htdocs...')
#8 {main}
Warning: Invalid argument supplied for foreach() in E:\xampp\htdocs\contao_webdesign_marenlange\system\helper\functions.php on line 182
#0 E:\xampp\htdocs\contao_webdesign_marenlange\system\helper\functions.php(182): __error(2, 'Invalid argumen...', 'E:\xampp\htdocs...', 182, Array)
#1 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\twig\config\config.php(42): scan('E:\xampp\htdocs...')
#2 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\twig\config\config.php(66): scanTwigCacheDirectories('system/cache/tw...')
#3 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\core\library\Contao\Config.php(135): include('E:\xampp\htdocs...')
#4 E:\xampp\htdocs\contao_webdesign_marenlange\system\modules\core\library\Contao\Config.php(112): Contao\Config->initialize()
#5 E:\xampp\htdocs\contao_webdesign_marenlange\system\initialize.php(87): Contao\Config::getInstance()
#6 E:\xampp\htdocs\contao_webdesign_marenlange\contao\main.php(18): require_once('E:\xampp\htdocs...')
#7 {main}
Die Fehlermeldung ist reproduzierbar. Als Verursacher habe ich die für theme+ notwendige Erweiterung twig ausgemacht. Nach Deinstallation von twig ist die Fehlermeldung verschwunden.
Ist der Fehler bekannt bzw. kennt jemand die Ursache und kann mir auf die Sprünge helfen.
Gruß
Maren
Lesezeichen