Um die neue Contao-Version zu testen, habe ich mir gemäß Anleitung im Wiki eine c2g-Installation angelegt. Grundsätzlich funktioniert es auch.
Es gibt jedoch ein paar Warnungen, von denen ich nicht weiß, wie ich sie am besten wegkriege:
Code:
Warning: file_get_contents(C:\Users\jb\Contao2Go\htdocs/vhosts/contao-3rc1/system/constants.php) [function.file-get-contents]: failed to open stream: No such file or directory in C:\Users\jb\Contao2Go\htdocs\system\modules\c2gadmin\c2g_functions.php on line 25
#0 [internal function]: __error(2, 'file_get_conten...', 'C:\Users\jb\Con...', 25, Array)
#1 C:\Users\jb\Contao2Go\htdocs\system\modules\c2gadmin\c2g_functions.php(25): file_get_contents('C:\Users\jb\Con...')
#2 C:\Users\jb\Contao2Go\htdocs\system\modules\c2gadmin\c2g_listVHosts.php(77): c2g_functions->loadVHostConfig('C:\Users\jb\Con...')
#3 C:\Users\jb\Contao2Go\htdocs\system\modules\frontend\ContentElement.php(128): c2g_listVHosts->compile()
#4 C:\Users\jb\Contao2Go\htdocs\system\libraries\Controller.php(415): ContentElement->generate()
#5 C:\Users\jb\Contao2Go\htdocs\system\modules\frontend\ModuleArticle.php(173): Controller->getContentElement('82')
#6 C:\Users\jb\Contao2Go\htdocs\system\modules\frontend\Module.php(129): ModuleArticle->compile()
#7 C:\Users\jb\Contao2Go\htdocs\system\modules\frontend\ModuleArticle.php(71): Module->generate()
#8 C:\Users\jb\Contao2Go\htdocs\system\libraries\Controller.php(348): ModuleArticle->generate(false)
#9 C:\Users\jb\Contao2Go\htdocs\system\libraries\Controller.php(221): Controller->getArticle('30', false, false, 'main')
#10 C:\Users\jb\Contao2Go\htdocs\system\modules\frontend\PageRegular.php(71): Controller->getFrontendModule('0', 'main')
#11 C:\Users\jb\Contao2Go\htdocs\index.php(198): PageRegular->generate(Object(DB_Mysql_Result))
#12 C:\Users\jb\Contao2Go\htdocs\index.php(333): Index->run()
#13 {main}
Warning: Cannot modify header information - headers already sent by (output started at C:\Users\jb\Contao2Go\htdocs\system\functions.php:136) in C:\Users\jb\Contao2Go\htdocs\system\libraries\Template.php on line 186
#0 [internal function]: __error(2, 'Cannot modify h...', 'C:\Users\jb\Con...', 186, Array)
#1 C:\Users\jb\Contao2Go\htdocs\system\libraries\Template.php(186): header('Content-Type: t...')
#2 C:\Users\jb\Contao2Go\htdocs\system\modules\frontend\FrontendTemplate.php(187): Template->output()
#3 C:\Users\jb\Contao2Go\htdocs\system\modules\frontend\PageRegular.php(136): FrontendTemplate->output()
#4 C:\Users\jb\Contao2Go\htdocs\index.php(198): PageRegular->generate(Object(DB_Mysql_Result))
#5 C:\Users\jb\Contao2Go\htdocs\index.php(333): Index->run()
#6 {main}
Ich nehme an, dass beides mit den neuen Verzeichnissen zu tun hat. Wie kann ich das anpassen?
Außerdem noch eine kleine Macke im c2g:
Installiert man gemäß Wiki, zeigt der Link zum Backend auf http://localhost:4001/vhosts/contao-3rc1/typolight
Dieses Verzeichnis gibt es jetzt aber nicht mehr. Ich kann zwar einfach das Verzeichnis typolight aus einer alten Version kopieren, dann werde ich richtig weitergeleitet, aber wie mache ich es richtig, wo muss ich was ändern?
Lesezeichen