Ergebnis 1 bis 10 von 10

Thema: isotope wird nicht installiert | 4.9.32

  1. #1
    Alter Contao-Hase Avatar von kischd
    Registriert seit
    25.06.2009.
    Ort
    Karlsruhe
    Beiträge
    1.107

    Standard isotope wird nicht installiert | 4.9.32

    Bekomme im Contao-Manager folgende Fehlermeldung


    HTML-Code:
    $ /opt/cpanel/ea-php73/root/usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /home/grundsch/domains/adventsbasar/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Package operations: 10 installs, 0 updates, 0 removals
      - Installing contao-community-alliance/composer-plugin (3.2.2): Extracting archive
      - Installing codefog/contao-haste (4.25.22): Extracting archive
      - Installing terminal42/dcawizard (2.5.0): Extracting archive
      - Installing terminal42/notification_center (1.6.13): Extracting archive
      - Installing terminal42/dc_multilingual (4.3.0): Extracting archive
      - Installing terminal42/contao-tablelookupwizard (3.3.5): Extracting archive
      - Installing terminal42/contao-conditionalselectmenu (3.0.6): Extracting archive
      - Installing tecnickcom/tcpdf (6.5.0): Extracting archive
      - Installing menatwork/contao-multicolumnwizard-bundle (3.5.2): Extracting archive
      - Installing isotope/isotope-core (2.8.6): Extracting archive
    Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
    Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
    Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
    Generating optimized autoload files
    Class UnitedPrototype\GoogleAnalytics\Internals\Request\SocialinteractionRequest located in ./vendor/isotope/isotope-core/system/modules/isotope/library/UnitedPrototype/GoogleAnalytics/Internals/Request/SocialInteractionRequest.php does not comply with psr-0 autoloading standard. Skipping.
    composer/package-versions-deprecated: Generating version class...
    composer/package-versions-deprecated: ...done generating version class
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    104 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    Added the web/app.php file.
    Added the web/index.php file.
    Added the web/preview.php file.
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
     // Clearing the cache for the dev environment with debug                       
     // true                                                                        
     [OK] Cache for the "dev" environment (debug=true) was successfully cleared.    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    14:21:38 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "syntax error, unexpected 'fn' (T_STRING), expecting :: (T_PAAMAYIM_NEKUDOTAYIM)" ["exception" => ParseError { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "syntax error, unexpected 'fn' (T_STRING), expecting :: (T_PAAMAYIM_NEKUDOTAYIM)"]
    In DC_ProductData.php line 1597:
                                                                                   
      syntax error, unexpected 'fn' (T_STRING), expecting :: (T_PAAMAYIM_NEKUDOTA  
      YIM)                                                                         
                                                                                   
    cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--] <command>
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
    In ScriptHandler.php line 97:
                                                                                   
      An error occurred while executing the "cache:warmup" command: 14:21:38 CRIT  
      ICAL  [console] Error thrown while running command "cache:warmup --env=prod  
       --no-ansi". Message: "syntax error, unexpected 'fn' (T_STRING), expecting   
      :: (T_PAAMAYIM_NEKUDOTAYIM)" ["exception" => ParseError { …},"command" => "  
      cache:warmup --env=prod --no-ansi","message" => "syntax error, unexpected '  
      fn' (T_STRING), expecting :: (T_PAAMAYIM_NEKUDOTAYIM)"]                      
                                                                                   
      In DC_ProductData.php line 1597:                                             
                                                                                   
                                                                                   
        syntax error, unexpected 'fn' (T_STRING), expecting :: (T_PAAMAYIM_NEKUDO  
      TA                                                                           
        YIM)                                                                       
                                                                                   
                                                                                   
                                                                                   
                                                                                   
      cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--  
      verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en  
      v ENV] [--] <command>                                                        
                                                                                   
    install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
    # Process terminated with exit code 1
    # Result: General error
    Gruß Mark

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.063
    Partner-ID
    10107

    Standard

    Der Fehler tritt auf, weil Isotope ein Feature verwendet, welches erst ab PHP 7.4 zur Verfügung steht (https://github.com/isotope/core/pull/2352).

    Als Workaround könntest du also auf PHP 7.4 aktualisieren - was du ohnehin machen solltest, weil PHP 7.3 schon seit einiger Zeit das Lebensende erreicht hat (und bald auch PHP 7.4).
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Fan
    Registriert seit
    24.02.2021.
    Beiträge
    446

    Standard

    Sieht danach aus, dass es hier zu einem Fehler in folgender Zeile kommt:
    https://github.com/isotope/core/blob...Data.php#L1597

    Der Fehler weist auf den Scope Resolution Operator hin:
    https://www.php.net/manual/en/langua...ekudotayim.php

    Edit:
    Spooky hat Recht.
    Sollte man vielleicht in der composer.json auf ^7.4 anheben ("php": "^7.2 || ^8.0")

  4. #4
    Alter Contao-Hase Avatar von kischd
    Registriert seit
    25.06.2009.
    Ort
    Karlsruhe
    Beiträge
    1.107

    Standard

    'Danke, hat funktioniert
    Gruß Mark

  5. #5
    Contao-Fan Avatar von mapfei
    Registriert seit
    11.05.2010.
    Ort
    Much
    Beiträge
    692

    Standard

    Hi,

    versuche gerade Isotope in einer frischen 4.13.8 zu installieren (PHP 8). Der Installationsprozess läuft auch durch, allerdings wird Isotope nicht installiert.

    Code:
    $ /usr/local/php80/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/web/contao-manager.phar.php composer require isotope/isotope-core --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    Info from https://repo.packagist.org: #StandWithUkraine
    Using version ^2.8 for isotope/isotope-core
    /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v3.4.5
    !!! Current server is sponsored by: Contao Association !!!
    
    
    [6.5MiB/0.21s] Loading composer repositories with package information
    [64.5MiB/8.61s] Updating dependencies
    [26.6MiB/9.01s] Lock file operations: 11 installs, 0 updates, 0 removals
    [26.6MiB/9.01s]   - Locking codefog/contao-haste (4.25.23)
    [26.6MiB/9.01s]   - Locking contao-community-alliance/composer-plugin (3.2.2)
    [26.6MiB/9.02s]   - Locking isotope/isotope-core (2.8.6)
    [26.6MiB/9.02s]   - Locking menatwork/contao-multicolumnwizard-bundle (3.5.7)
    [26.6MiB/9.02s]   - Locking patchwork/utf8 (v1.3.3)
    [26.6MiB/9.02s]   - Locking tecnickcom/tcpdf (6.5.0)
    [26.6MiB/9.03s]   - Locking terminal42/contao-conditionalselectmenu (4.0.2)
    [26.6MiB/9.03s]   - Locking terminal42/contao-tablelookupwizard (4.0.2)
    [26.6MiB/9.03s]   - Locking terminal42/dc_multilingual (4.3.0)
    [26.6MiB/9.03s]   - Locking terminal42/dcawizard (2.5.0)
    [26.6MiB/9.03s]   - Locking terminal42/notification_center (1.6.13)
    [26.0MiB/9.05s] Writing lock file
    [12.1MiB/9.08s] 7 package suggestions were added by new dependencies, use `composer suggest` to see details.
    [12.7MiB/9.10s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    [13.2MiB/9.10s] Memory usage: 13.24MB (peak: 177.57MB), time: 9.11s.
    [13.2MiB/9.10s] Finished Composer Cloud resolving.
    
    
    # Job ID vrgxAubwZhBvi5Hv6fhR8A06jw9SnKyLIoG0eZLkv3gIxGovf1lMjmpjivyNyEuuAjJRPj5vjK1NnEqP34Adp0xOWakBgjyGOY6 completed in 1660809064 seconds
    # Memory usage: 13.24MB (peak: 177.57MB), time: 9.11s.
    
    $ /usr/local/php80/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Package operations: 0 installs, 0 updates, 11 removals
      - Removing terminal42/notification_center (1.6.13)
      - Removing terminal42/dcawizard (2.5.0)
      - Removing terminal42/dc_multilingual (4.3.0)
      - Removing terminal42/contao-tablelookupwizard (4.0.2)
      - Removing terminal42/contao-conditionalselectmenu (4.0.2)
      - Removing tecnickcom/tcpdf (6.5.0)
      - Removing patchwork/utf8 (v1.3.3)
      - Removing menatwork/contao-multicolumnwizard-bundle (3.5.7)
      - Removing isotope/isotope-core (2.8.6)
      - Removing contao-community-alliance/composer-plugin (3.2.2)
      - Removing codefog/contao-haste (4.25.23)
    Generating optimized autoload files
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    104 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    > @php vendor/bin/contao-setup
    Added the /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/web/index.php file.
    Added the /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/web/app.php file.
    Added the /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/web/preview.php file.
    
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
     // Clearing the cache for the dev environment with debug                       
     // true                                                                        
    
     [OK] Cache for the "dev" environment (debug=true) 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    
     --- ------------------------ ------------------ 
      ?   ContaoCoreBundle         relative symlink  
      ?   ContaoFaqBundle          relative symlink  
      ?   ContaoCommentsBundle     relative symlink  
      ?   ContaoNewsBundle         relative symlink  
      ?   ContaoCalendarBundle     relative symlink  
      ?   ContaoNewsletterBundle   relative symlink  
     --- ------------------------ ------------------ 
    
     [OK] All assets were successfully installed.                                   
    
    
     --- -------------------------------------------------- ---------------------------------------------------------------- 
    	  Symlink                                            Target / Error                                                  
     --- -------------------------------------------------- ---------------------------------------------------------------- 
      ?   web/files/cto_layout                               files/cto_layout                                                
      ?   web/system/modules/pct_revolutionslider/assets     system/modules/pct_revolutionslider/assets                      
      ?   web/system/modules/pct_autogrid/assets             system/modules/pct_autogrid/assets                              
      ?   web/system/modules/pct_iconpicker/assets           system/modules/pct_iconpicker/assets                            
      ?   web/system/modules/pct_customelements/assets       system/modules/pct_customelements/assets                        
      ?   web/system/modules/pct_privacy_manager/assets      system/modules/pct_privacy_manager/assets                       
      ?   web/system/modules/pct_themer/assets               system/modules/pct_themer/assets                                
      ?   web/system/modules/pct_megamenu/assets             system/modules/pct_megamenu/assets                              
      ?   web/system/modules/pct_frontend_quickedit/assets   system/modules/pct_frontend_quickedit/assets                    
      ?   web/system/modules/pct_theme_updater/assets        system/modules/pct_theme_updater/assets                         
      ?   system/themes/flexible                             vendor/contao/core-bundle/src/Resources/contao/themes/flexible  
      ?   web/assets                                         assets                                                          
      ?   web/system/themes                                  system/themes                                                   
      ?   system/logs                                        var/logs                                                        
      ?   web/vendor/scrivo/highlight_php/styles             vendor/scrivo/highlight.php/styles                              
     --- -------------------------------------------------- ---------------------------------------------------------------- 
    
    Done! Please open the Contao install tool or run contao:migrate on the command line to make sure the database is up-to-date.
    
    # Process terminated with exit code 0
    # Result: OK
    Woran könnte das liegen?

    Grüße,
    mapfei

  6. #6
    Contao-Fan Avatar von mapfei
    Registriert seit
    11.05.2010.
    Ort
    Much
    Beiträge
    692

    Standard

    Gerade nochmal versucht, jetzt erhalte ich auch Fehler:

    Code:
    $ /usr/local/php80/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/web/contao-manager.phar.php composer require isotope/isotope-core --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    Info from https://repo.packagist.org: #StandWithUkraine
    Using version ^2.8 for isotope/isotope-core
    /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v3.5.0
    !!! Current server is sponsored by: terminal42 gmbh !!!
    
    
    [6.7MiB/0.19s] Loading composer repositories with package information
    [7.0MiB/0.24s] Info from https://repo.packagist.org: #StandWithUkraine
    [63.1MiB/8.11s] Updating dependencies
    [26.5MiB/8.43s] Lock file operations: 7 installs, 0 updates, 0 removals
    [26.5MiB/8.43s]   - Locking isotope/isotope-core (2.8.6)
    [26.5MiB/8.43s]   - Locking menatwork/contao-multicolumnwizard-bundle (3.5.7)
    [26.5MiB/8.43s]   - Locking patchwork/utf8 (v1.3.3)
    [26.5MiB/8.43s]   - Locking tecnickcom/tcpdf (6.5.0)
    [26.5MiB/8.43s]   - Locking terminal42/contao-conditionalselectmenu (4.0.2)
    [26.5MiB/8.43s]   - Locking terminal42/contao-tablelookupwizard (4.0.2)
    [26.5MiB/8.43s]   - Locking terminal42/dc_multilingual (4.3.0)
    [25.8MiB/8.45s] Writing lock file
    [12.0MiB/8.47s] 6 package suggestions were added by new dependencies, use `composer suggest` to see details.
    [12.6MiB/8.48s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    [12.8MiB/8.83s] No security vulnerability advisories found
    [13.3MiB/8.83s] Memory usage: 13.31MB (peak: 175.95MB), time: 8.84s.
    [13.3MiB/8.83s] Finished Composer Cloud resolving.
    
    
    # Job ID Fbxz25OHOqZXRJx6xoVe7sX8dxS7oTzBLsdau18Fo417C0D8KQXKzRD72GmPEAezZf9 completed in 1660825115 seconds
    # Memory usage: 13.31MB (peak: 175.95MB), time: 8.84s.
    
    $ /usr/local/php80/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Package operations: 7 installs, 0 updates, 0 removals
      - Installing terminal42/dc_multilingual (4.3.0): Extracting archive
      - Installing terminal42/contao-tablelookupwizard (4.0.2): Extracting archive
      - Installing terminal42/contao-conditionalselectmenu (4.0.2): Extracting archive
      - Installing tecnickcom/tcpdf (6.5.0): Extracting archive
      - Installing patchwork/utf8 (v1.3.3): Extracting archive
      - Installing menatwork/contao-multicolumnwizard-bundle (3.5.7): Extracting archive
      - Installing isotope/isotope-core (2.8.6): Extracting archive
    Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    Generating optimized autoload files
    Class UnitedPrototype\GoogleAnalytics\Internals\Request\SocialinteractionRequest located in ./vendor/isotope/isotope-core/system/modules/isotope/library/UnitedPrototype/GoogleAnalytics/Internals/Request/SocialInteractionRequest.php does not comply with psr-0 autoloading standard. Skipping.
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    113 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    > @php vendor/bin/contao-setup
    Added the /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/web/index.php file.
    Added the /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/web/app.php file.
    Added the /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/web/preview.php file.
    
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
     // Clearing the cache for the dev environment with debug                       
     // true                                                                        
    
     [OK] Cache for the "dev" environment (debug=true) was successfully cleared.    
    
    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    
    
    Warning: Cannot declare class Module, because the name is already in use in /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php on line 177
    14:19:29 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Failed to start the session because headers have already been sent by "/var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at line 177." ["exception" => RuntimeException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Failed to start the session because headers have already been sent by "/var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at line 177."]
    
    In NativeSessionStorage.php line 145:
    																			   
      Failed to start the session because headers have already been sent by "/var  
      /www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/co  
      ntao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at li  
      ne 177.                                                                      
    																			   
    
    cache:warmup [--no-optional-warmers]
    
    14:19:29 CRITICAL  [console] An error occurred while using the console. Message: "An error occurred while executing the "/usr/local/php80/bin/php -dmemory_limit=-1 /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 14:19:29 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Failed to start the session because headers have already been sent by "/var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at line 177." ["exception" => RuntimeException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Failed to start the session because headers have already been sent by "/var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at line 177."]
    
    In NativeSessionStorage.php line 145:
    																			   
      Failed to start the session because headers have already been sent by "/var  
      /www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/co  
      ntao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at li  
      ne 177.                                                                      
    																			   
    
    cache:warmup [--no-optional-warmers]
    
    " ["exception" => RuntimeException { …},"message" => """  An error occurred while executing the "/usr/local/php80/bin/php -dmemory_limit=-1 /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 14:19:29 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Failed to start the session because headers have already been sent by "/var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at line 177." ["exception" => RuntimeException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Failed to start the session because headers have already been sent by "/var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at line 177."]\n  \n  In NativeSessionStorage.php line 145:\n                                                                                 \n    Failed to start the session because headers have already been sent by "/var  \n    /www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/co  \n    ntao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at li  \n    ne 177.                                                                      \n                                                                                 \n  \n  cache:warmup [--no-optional-warmers]\n  \n  """]
    
    In ContaoSetupCommand.php line 120:
    																			   
      An error occurred while executing the "/usr/local/php80/bin/php -dmemory_li  
      mit=-1 /var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_202  
      2/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod -  
      -no-ansi" command: 14:19:29 CRITICAL  [console] Error thrown while running   
      command "cache:warmup --env=prod --no-ansi". Message: "Failed to start the   
      session because headers have already been sent by "/var/www/vhosts/ssv-happ  
      erschoss.de/httpdocs/mywebsite.de_2022/vendor/contao/core-bundle/src  
      /Resources/contao/library/Contao/ClassLoader.php" at line 177." ["exception  
      " => RuntimeException { …},"command" => "cache:warmup --env=prod --no-ansi"  
      ,"message" => "Failed to start the session because headers have already bee  
      n sent by "/var/www/vhosts/mywebsite.de/httpdocs/mywebsite.de  
      _2022/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLo  
      ader.php" at line 177."]                                                     
    																			   
      In NativeSessionStorage.php line 145:                                        
    																			   
    																			   
    	Failed to start the session because headers have already been sent by "/v  
      ar                                                                           
    	/www/vhosts/mywebsite.de/httpdocs/mywebsite.de_2022/vendor/  
      co                                                                           
    	ntao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at   
      li                                                                           
    	ne 177.                                                                    
    																			   
    																			   
    																			   
    																			   
      cache:warmup [--no-optional-warmers]                                         
    																			   
    
    contao:setup
    
    Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 1
    
    # Process terminated with exit code 1
    # Result: General error

  7. #7
    Contao-Nutzer
    Registriert seit
    24.05.2016.
    Beiträge
    11

    Standard

    Ich habe auch das Problem wie mapfei, dass der Installer mit PHP 8.0 nicht durchläuft... bei mir wirft er auch den Fehler beim Erstellen der Symlinks aus, den allerdings keine andere Erweiterung verursacht. Teste gerade auf einer frischen Contao-Installation 4.13 mit XAMPP/Windows.

  8. #8
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.063
    Partner-ID
    10107

    Standard

    Das ist ein anderer Fehler. Siehe bestehende Threads dazu.
    » sponsor me via GitHub or PayPal or Revolut

  9. #9
    Contao-Nutzer
    Registriert seit
    24.05.2016.
    Beiträge
    11

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Das ist ein anderer Fehler. Siehe bestehende Threads dazu.
    Wonach muss ich da suchen? Wenn ich "Isotope+Symlinks" eingebe, kommt kein vernünftiges Ergebnis. Wobei ich auch sehe, der Symlink-Fehler kommt unabhängig davon, nur dass dennoch bei anderen Paketen die Installation durchläuft und bei Isotope die Pakete einfach wieder entfernt werden.
    So siehts bei mir aus:
    Code:
    $ C:\XAMPP\php\php.exe -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin C:/XAMPP/htdocs/contao4/web/contao-manager.phar.php composer require isotope/isotope-core --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    Info from https://repo.packagist.org: #StandWithUkraine
    Using version ^2.8 for isotope/isotope-core
    C:\XAMPP\htdocs\contao4\composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v3.5.0
    !!! Current server is sponsored by: terminal42 gmbh !!!
    
    
    [7.0MiB/0.19s] Loading composer repositories with package information
    [64.5MiB/7.58s] Updating dependencies
    [27.2MiB/7.89s] Lock file operations: 8 installs, 0 updates, 0 removals
    [27.2MiB/7.90s]   - Locking isotope/isotope-core (2.8.6)
    [27.2MiB/7.90s]   - Locking patchwork/utf8 (v1.3.3)
    [27.2MiB/7.90s]   - Locking tecnickcom/tcpdf (6.5.0)
    [27.2MiB/7.90s]   - Locking terminal42/contao-conditionalselectmenu (4.0.2)
    [27.2MiB/7.90s]   - Locking terminal42/contao-tablelookupwizard (4.0.2)
    [27.2MiB/7.90s]   - Locking terminal42/dc_multilingual (4.3.0)
    [27.2MiB/7.91s]   - Locking terminal42/dcawizard (2.5.0)
    [27.2MiB/7.91s]   - Locking terminal42/notification_center (1.6.13)
    [26.4MiB/7.93s] Writing lock file
    [12.5MiB/7.96s] 6 package suggestions were added by new dependencies, use `composer suggest` to see details.
    [13.2MiB/7.97s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    [13.2MiB/7.97s] Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
    [13.4MiB/8.24s] No security vulnerability advisories found
    [13.9MiB/8.25s] Memory usage: 13.95MB (peak: 179.65MB), time: 8.26s.
    [13.9MiB/8.25s] Finished Composer Cloud resolving.
    
    
    # Job ID tK1E4DHweHcvmVhFCZuRFtJLFIMM9a4xa7Kc3QpXBJRXMmEJYHlmNNheFSrnmjF1uj4mb10g7zs3YPcjAZ9JDfYPj4Th4OMYh28oACVwIEst completed in 1660894502 seconds
    # Memory usage: 13.95MB (peak: 179.65MB), time: 8.26s.
    
    $ C:\XAMPP\php\php.exe -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin C:/XAMPP/htdocs/contao4/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Package operations: 0 installs, 0 updates, 8 removals
      - Removing terminal42/notification_center (1.6.13)
      - Removing terminal42/dcawizard (2.5.0)
      - Removing terminal42/dc_multilingual (4.3.0)
      - Removing terminal42/contao-tablelookupwizard (4.0.2)
      - Removing terminal42/contao-conditionalselectmenu (4.0.2)
      - Removing tecnickcom/tcpdf (6.5.0)
      - Removing patchwork/utf8 (v1.3.3)
      - Removing isotope/isotope-core (2.8.6)
    Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
    Generating optimized autoload files
    Class Contao\ManagerPlugin\PluginLoader located in C:/XAMPP/htdocs/contao4/vendor/contao/manager-plugin/src\Resources\PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    composer/package-versions-deprecated: Generating version class...
    composer/package-versions-deprecated: ...done generating version class
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    114 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > @php vendor/bin/contao-setup
    Added the C:/XAMPP/htdocs/contao4/web/app.php file.
    Added the C:/XAMPP/htdocs/contao4/web/index.php file.
    Added the C:/XAMPP/htdocs/contao4/web/preview.php file.
    
     // Clearing the cache for the prod environment with debug false                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.                                         
    
    
     // Clearing the cache for the dev environment with debug true                                                         
    
     [OK] Cache for the "dev" environment (debug=true) 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                       absolute symlink  
      WARNING   SoftleisterTickerBundle                absolute symlink  
      WARNING   ContaoCookiebar                        absolute symlink  
      WARNING   MultiColumnWizardBundle                absolute symlink  
      WARNING   ContaoFaqBundle                        absolute symlink  
      WARNING   ContaoMmenuBundle                      absolute symlink  
      WARNING   RockSolidColumnsBundle                 absolute symlink  
      WARNING   PlentaContaoTinyCompressImagesBundle   absolute symlink  
      WARNING   ContaoCommentsBundle                   absolute symlink  
      WARNING   BugBusterDlstatsBundle                 absolute symlink  
      WARNING   ContaoNewsBundle                       absolute symlink  
      WARNING   ContaoCalendarBundle                   absolute symlink  
      WARNING   ContaoNewsletterBundle                 absolute symlink  
      WARNING   RockSolidIconPickerBundle              absolute symlink  
      WARNING   RockSolidSliderBundle                  absolute symlink  
     --------- -------------------------------------- ------------------ 
    
     [OK] All assets were successfully installed.                                                                          
    
    
     ---- ---------------------------------------- ---------------------------------------------------------------- 
           Symlink                                  Target / Error                                                  
     ---- ---------------------------------------- ---------------------------------------------------------------- 
      OK   web/system/modules/haste/assets          system/modules/haste/assets                                     
      OK   web/system/modules/sharebuttons/assets   system/modules/sharebuttons/assets                              
      OK   web/system/modules/tabcontrol/assets     system/modules/tabcontrol/assets                                
      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                                                        
      OK   web/vendor/scrivo/highlight_php/styles   vendor/scrivo/highlight.php/styles                              
     ---- ---------------------------------------- ---------------------------------------------------------------- 
    
    Done! Please open the Contao install tool or run contao:migrate on the command line to make sure the database is up-to-date.
    
    # Process terminated with exit code 0
    # Result: OK
    Geändert von kgollmer (19.08.2022 um 08:38 Uhr)

  10. #10
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.063
    Partner-ID
    10107

    Standard

    Bzgl. Isotope und Symlinks: https://github.com/isotope/core/issues/2357
    » sponsor me via GitHub or PayPal or Revolut

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •