Giter Site home page Giter Site logo

Comments (11)

agoat avatar agoat commented on May 28, 2024

A little addition:

When accesing the contao installation in the dev environment (app_dev.php) it still works after calling contao/install. Only the prod environment crashes.

from standard-edition.

aschempp avatar aschempp commented on May 28, 2024

from standard-edition.

agoat avatar agoat commented on May 28, 2024

Both caches are cleared.

It happens immediately after accessing contao/install (exactly after the following: composer updated symfony to 3.2, clearing the prod env cache, entered the install password - Ka Woom)

from standard-edition.

stefansl avatar stefansl commented on May 28, 2024

same here: contao/installation-bundle#34

from standard-edition.

fritzmg avatar fritzmg commented on May 28, 2024

Sounds like you did not clear your caches after composer update?

The error message he describes only comes after you cleared the cache (at least that's what I found during testing). See also contao/installation-bundle#34 (comment)

from standard-edition.

stefansl avatar stefansl commented on May 28, 2024

As a quick fix (until there is a real fix) you could disable building the bootstrap.cache.php. https://github.com/contao/installation-bundle/blob/master/src/Controller/InstallationController.php#L152

from standard-edition.

leofeyer avatar leofeyer commented on May 28, 2024

Please try to delete the var/bootstrap.php.cache file manually and then run composer run-script post-update-cmd.

from standard-edition.

stefansl avatar stefansl commented on May 28, 2024

@leofeyer rm app/bootstrap.php.cache && composer run-script post-update-cmd fixes the problem temporarly. bootstrap.cache.php has 54K of code with the following pathes at the end:

...
namespace {require __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php';}
namespace {require __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ApcClassLoader.php';}

As soon as I open the install tool, this is the entire content in bootstrap.cache.php:

<?php

 
namespace {require __DIR__.'/../../../../../vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php';}
namespace {require __DIR__.'/../../../../../vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ApcClassLoader.php';}

from standard-edition.

leofeyer avatar leofeyer commented on May 28, 2024

Fixed in contao/installation-bundle@1c4e59e.

from standard-edition.

aschempp avatar aschempp commented on May 28, 2024

As we removed the bootstrap file alltogether, should we also remove the composer task and package dependencies for sensio/distribution-bundle?

from standard-edition.

leofeyer avatar leofeyer commented on May 28, 2024

Removed in contao/installation-bundle@553cca2 and 645b14a.

from standard-edition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.