contao/import — Issue #3308: log entry ending up in config file
Author: Ruudt
Created: 2011-11-29 21:19:06+00:00
State: open
Labels: Defect, Invalid

I'm not sure if this is a freak accident, but suddenly (after disabling errormessages) a .tpl notice did not disappear, even after I commented out the three places that generate the message. After a short search I found the notice inside a config.php file of which the start looked like:

```
Notice: Using .tpl files (system/modules/efg/templates/efg_internal_config.tpl) is deprecated. Please use the new .html5 and .xhtml files instead. in /public/sites/www.domainname.nl/system/libraries/Controller.php on line 168

#0 [internal function]: __error(1024, 'Using .tpl file...', '/public/sites/w...', 168, Array)
#1 /public/sites/www.domainname.nl/system/libraries/Controller.php(168): trigger_error('Using .tpl file...', 1024)
#2 /public/sites/www.domainname.nl/system/libraries/Template.php(246): Controller->getTemplate('efg_internal_co...', 'html5')
#3 /public/sites/www.domainname.nl/system/modules/backend/BackendTemplate.php(49): Template->parse()
#4 /public/sites/www.domainname.nl/system/modules/efg/ModuleFormdata.php(140): BackendTemplate->parse()
#5 /public/sites/www.domainname.nl/system/modules/efg/ModuleFormdata.php(105): ModuleFormdata->updateConfig()
#6 /public/sites/www.domainname.nl/system/drivers/DC_Table.php(1797): ModuleFormdata->createFormdataDca(Object(DC_Table))
#7 /public/sites/www.domainname.nl/system/modules/backend/Backend.php(273): DC_Table->edit()
#8 /public/sites/www.domainname.nl/contao/main.php(103): Backend->getBackendModule('form')
#9 /public/sites/www.domainname.nl/contao/main.php(306): Main->run()
#10 {main}
```