Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Cannot Reproduce
-
3.2.0
-
None
-
None
Description
Will update this with a full stack trace later.
What happens is the following:
With e-mail notifications enabled, on for example posting a new topic. messenger will be called using:
./web/phpbb/notification/method/email.php: return $this->notify_using_messenger(NOTIFY_EMAIL); |
As you can see the installation is in ./web/
the email.php will call:
./web/phpbb/notification/method/messenger_base.php: protected function notify_using_messenger($notify_method, $template_dir_prefix = ''): |
Then paths seem to be set, yet it's assumed ./ is the base path on the filesystem
messenger->set_template_paths(array(array('name' => 'nl_email', 'ext_path' => 'language/nl/email'), array('name' => 'en_email', 'ext_path' => 'language/en/email')), array('./language/nl/email', './language/en/email')) in functions_messenger.php line 281 |
thus
Somewhere down in phpbb/twig/ Filesystem.php, realpath() will return false and ttwig will break down with a "Template not found "" "
"" at Twig_Loader_Filesystem->addPath(false, '__main__') in loader.php line 110 |
at loader->addPath('./language/en/email', '__main__') in Filesystem.php line 64 |