Der Composer macht Probleme mit den Symlinks bei "composer update"
System: Windows 7 64bit
Server: XAMP mit Apache und PHP7.1.12
Mit Polesedit habe ich die notwendigen Userrechte zum Anlegen von Symlinks erteilt (siehe Anleitung: https://community.contao.org/de/show...l=1#post458240)
XAMP-Conf zur Nutzung von PHP CGI habe ich ebenfall nach dieser Anleitung angepasst: https://github.com/contao/core-bundl...ment-137929222
Und trotzdem gibt es Probleme bei den Symlinks.
Die Ordner files/content und files/structure sind zwei meiner files-Ordner, die ich im Backend auf "öffentlich" gestellt habe. Der Ordner /web/files bleibt durch den Fehler leer. Wenn ich über das Backend den "öffentlich"-Checkboxhaken entferne, speichere, den Haken wieder hinzufüge und speichere, dann erscheinen die beiden Symlinks im Ordner /web/files
Code:
..../contao4root > composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added/updated the web/app.php file.
Added/updated the web/app_dev.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully warmed.
Trying to install assets as relative symbolic links.
--------- ---------------------- ----------------
Bundle Method / Error
--------- ---------------------- ----------------
WARNING ContaoCoreBundle copy
WARNING ContaoCalendarBundle copy
WARNING ContaoCommentsBundle copy
WARNING ContaoNewsBundle copy
--------- ---------------------- ----------------
! [NOTE] Some assets were installed via copy. If you make changes to these
! assets you have to run this command again.
[OK] All assets were successfully installed.
Added/updated the system/initialize.php file.
Symlinked the system/config/tcpdf.php file.
------- ------------------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------
Symlink Target / Error
------- ------------------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------
ERROR web/files/content Unable to create symbolic link due to error code 1314: 'A required privilege is not held by the client'. Do you have the required Administrator-rights?
ERROR web/files/structure Unable to create symbolic link due to error code 1314: 'A required privilege is not held by the client'. Do you have the required Administrator-rights?
OK system/themes/flexible vendor/contao/core-bundle/src/Resources/contao/themes/flexible
OK web/assets assets
OK web/system/themes system/themes
OK system/logs var/logs
------- ------------------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------
Lesezeichen