contao / core-bundle

[READ-ONLY] Contao Core Bundle
GNU Lesser General Public License v3.0
122 stars 57 forks source link

Contao 4.0.2 - Windows Installation - Cannot create template files #325

Closed fkaminski closed 9 years ago

fkaminski commented 9 years ago

With a new 4.0.2 Installation on Windows/Xampp (with https://github.com/contao/standard-edition/commit/30d06354942129250296798bf683903a5b1c35ee patch)

Now I can not create new template files. Only get this info:

Ungültiges Quell- oder Zielverzeichnis "vendor\contao\core-bundle\src/Resources/contao/templates\analytics\analytics_google.html5"!

leofeyer commented 9 years ago

Can you please use version 4.0.2 and post the full error message?

fritzmg commented 9 years ago

According to his information in this issue, he is already using 4.0.2. And this seems to be the complete error Text from Contao?

fkaminski commented 9 years ago

Habe das #7962 geschlossen - Sorry. Hier nochmal die Meldungen die ich erhalte;

Mit der 4.0.2 unter Windows7/Xampp erhalte ich sporadisch während der Installation Meldungen der Art:

Fatal error: Uncaught exception 'Symfony\Component\Filesystem\Exception\IOExceptio n' with message 'Failed to create symbolic link from "C:/__WEBDEV__SITES__/contao4/C:\__WEBDEV__SITES__\contao4\vendor\contao\core-bundle\src/Resources/contao/themes\flexible" to "C:/__WEBDEV__SITES__/contao4/system/themes/flexible".

Hierbei habe ich bereits folgenden Patch in der install.php genutzt: https://github.com/contao/standard-edition/commit/30d06354942129250296798bf683903a5b1c35ee

Nach der Installation kann ich keine neuen templates anlegen. Meldung:

Ungültiges Quell- oder Zielverzeichnis "vendor\contao\core-bundle\src/Resources/contao/templates\analytics\analytics_google.html5"!

Nach "Symlinks neu erstellen" in der Systemwartung erhalte ich eine Fehlerseite mit dem Hinweis auf die error.log:

[08-Aug-2015 15:03:52 Europe/Berlin] PHP Warning:  mkdir(): Invalid argument in C:\__WEBDEV__SITES__\contao4\htdocs\vendor\contao\core-bundle\src\Resources\contao\library\Contao\Files.php on line 87

[08-Aug-2015 15:03:52 Europe/Berlin] PHP Warning:  mkdir(): Invalid argument in C:\__WEBDEV__SITES__\contao4\htdocs\vendor\contao\core-bundle\src\Resources\contao\library\Contao\Files.php on line 87

[08-Aug-2015 15:03:52 Europe/Berlin] PHP Warning:  mkdir(): Invalid argument in C:\__WEBDEV__SITES__\contao4\htdocs\vendor\contao\core-bundle\src\Resources\contao\library\Contao\Files.php on line 87

[08-Aug-2015 15:03:52 Europe/Berlin] PHP Warning:  scandir(C:\__WEBDEV__SITES__\contao4\htdocs/C:\__WEBDEV__SITES__\contao4\htdocs\app\cache\prod/contao/search/,C:\__WEBDEV__SITES__\contao4\htdocs/C:\__WEBDEV__SITES__\contao4\htdocs\app\cache\prod/contao/search/):  in C:\__WEBDEV__SITES__\contao4\htdocs\vendor\contao\core-bundle\src\Resources\contao\helper\functions.php on line 51

[08-Aug-2015 15:03:52 Europe/Berlin] PHP Warning:  scandir(C:\__WEBDEV__SITES__\contao4\htdocs/C:\__WEBDEV__SITES__\contao4\htdocs\app\cache\prod/contao/search/): failed to open dir: No such file or directory in C:\__WEBDEV__SITES__\contao4\htdocs\vendor\contao\core-bundle\src\Resources\contao\helper\functions.php on line 51

[08-Aug-2015 15:03:52 Europe/Berlin] PHP Warning:  scandir(): (errno 2): No such file or directory in C:\__WEBDEV__SITES__\contao4\htdocs\vendor\contao\core-bundle\src\Resources\contao\helper\functions.php on line 51

[08-Aug-2015 15:03:52 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in C:\__WEBDEV__SITES__\contao4\htdocs\vendor\contao\core-bundle\src\Resources\contao\helper\functions.php on line 51

[08-Aug-2015 15:03:58 Europe/Berlin] PHP Warning:  mkdir(): Invalid argument in C:\__WEBDEV__SITES__\contao4\htdocs\vendor\contao\core-bundle\src\Resources\contao\library\Contao\Files.php on line 87

[08-Aug-2015 15:03:58 Europe/Berlin] PHP Warning:  mkdir(): Invalid argument in C:\__WEBDEV__SITES__\contao4\htdocs\vendor\contao\core-bundle\src\Resources\contao\library\Contao\Files.php on line 87

[08-Aug-2015 15:03:58 Europe/Berlin] PHP Warning:  mkdir(): Invalid argument in C:\__WEBDEV__SITES__\contao4\htdocs\vendor\contao\core-bundle\src\Resources\contao\library\Contao\Files.php on line 87
leofeyer commented 9 years ago

Fixed in ce534a427b9d047c01f338a2ddaff6dda9152f34.