contao/import — Issue #3428: Fehler beim Anlegen eines "comments" Modules
Author: LeoUnglaub
Created: 2011-11-29 21:33:14+00:00
State: closed
Labels: backend, Defect, Invalid

Hi Leo,
ich habe gerade den Trunk durchgetestet und dabei ist mir folgendes aufgefallen. Wenn ich ein neues Modul anlege (typ Kommentar) bekomme ich folgende Fehlermeldungen.

Ich bin gerade etwas "übermüdet" und kann dauer nicht genauer schauen woran es liegt, aber die Fehlermeldungen sollten klar sein.

```
Warning: scandir(/var/www/vhosts/leo-unglaub.neu/htdocs/templates/leo-unglaub-neu/): failed to open dir: No such file or directory in /var/www/vhosts/leo-unglaub.neu/htdocs/system/functions.php on line 273
#0 [internal function]: __error(2, 'scandir(/var/ww...', '/var/www/vhosts...', 273, Array)
#1 /var/www/vhosts/leo-unglaub.neu/htdocs/system/functions.php(273): scandir('/var/www/vhosts...')
#2 /var/www/vhosts/leo-unglaub.neu/htdocs/system/libraries/Controller.php(221): scan('/var/www/vhosts...')
#3 /var/www/vhosts/leo-unglaub.neu/htdocs/system/modules/comments/dca/tl_module.php(126): Controller->getTemplateGroup('com_', '1')
#4 /var/www/vhosts/leo-unglaub.neu/htdocs/system/libraries/Controller.php(2651): tl_module_comments->getCommentTemplates(Object(DC_Table))
#5 /var/www/vhosts/leo-unglaub.neu/htdocs/system/modules/backend/DataContainer.php(247): Controller->prepareForWidget(Array, 'com_template', 'com_default', 'com_template', 'tl_module')
#6 /var/www/vhosts/leo-unglaub.neu/htdocs/system/drivers/DC_Table.php(1710): DataContainer->row()
#7 /var/www/vhosts/leo-unglaub.neu/htdocs/system/modules/backend/Backend.php(271): DC_Table->edit()
#8 /var/www/vhosts/leo-unglaub.neu/htdocs/contao/main.php(101): Backend->getBackendModule('themes')
#9 /var/www/vhosts/leo-unglaub.neu/htdocs/contao/main.php(286): Main->run()
#10 {main}

Warning: scandir(): (errno 2): No such file or directory in /var/www/vhosts/leo-unglaub.neu/htdocs/system/functions.php on line 273
#0 [internal function]: __error(2, 'scandir(): (err...', '/var/www/vhosts...', 273, Array)
#1 /var/www/vhosts/leo-unglaub.neu/htdocs/system/functions.php(273): scandir('/var/www/vhosts...')
#2 /var/www/vhosts/leo-unglaub.neu/htdocs/system/libraries/Controller.php(221): scan('/var/www/vhosts...')
#3 /var/www/vhosts/leo-unglaub.neu/htdocs/system/modules/comments/dca/tl_module.php(126): Controller->getTemplateGroup('com_', '1')
#4 /var/www/vhosts/leo-unglaub.neu/htdocs/system/libraries/Controller.php(2651): tl_module_comments->getCommentTemplates(Object(DC_Table))
#5 /var/www/vhosts/leo-unglaub.neu/htdocs/system/modules/backend/DataContainer.php(247): Controller->prepareForWidget(Array, 'com_template', 'com_default', 'com_template', 'tl_module')
#6 /var/www/vhosts/leo-unglaub.neu/htdocs/system/drivers/DC_Table.php(1710): DataContainer->row()
#7 /var/www/vhosts/leo-unglaub.neu/htdocs/system/modules/backend/Backend.php(271): DC_Table->edit()
#8 /var/www/vhosts/leo-unglaub.neu/htdocs/contao/main.php(101): Backend->getBackendModule('themes')
#9 /var/www/vhosts/leo-unglaub.neu/htdocs/contao/main.php(286): Main->run()
#10 {main}

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/leo-unglaub.neu/htdocs/system/functions.php on line 273
#0 /var/www/vhosts/leo-unglaub.neu/htdocs/system/functions.php(273): __error(2, 'Invalid argumen...', '/var/www/vhosts...', 273, Array)
#1 /var/www/vhosts/leo-unglaub.neu/htdocs/system/libraries/Controller.php(221): scan('/var/www/vhosts...')
#2 /var/www/vhosts/leo-unglaub.neu/htdocs/system/modules/comments/dca/tl_module.php(126): Controller->getTemplateGroup('com_', '1')
#3 /var/www/vhosts/leo-unglaub.neu/htdocs/system/libraries/Controller.php(2651): tl_module_comments->getCommentTemplates(Object(DC_Table))
#4 /var/www/vhosts/leo-unglaub.neu/htdocs/system/modules/backend/DataContainer.php(247): Controller->prepareForWidget(Array, 'com_template', 'com_default', 'com_template', 'tl_module')
#5 /var/www/vhosts/leo-unglaub.neu/htdocs/system/drivers/DC_Table.php(1710): DataContainer->row()
#6 /var/www/vhosts/leo-unglaub.neu/htdocs/system/modules/backend/Backend.php(271): DC_Table->edit()
#7 /var/www/vhosts/leo-unglaub.neu/htdocs/contao/main.php(101): Backend->getBackendModule('themes')
#8 /var/www/vhosts/leo-unglaub.neu/htdocs/contao/main.php(286): Main->run()
#9 {main}
```

Viele GRüße
Leo

--- _Originally created on September 2nd, 2011, at 01:18am (ID 3428)_