Code Monkey home page Code Monkey logo

Comments (6)

BorislavSabev avatar BorislavSabev commented on July 21, 2024

To add some info: in the admin app when I try to create a page I get a Twig missing template error.

Unable to find template "ClientWebsiteBundle:templates:overview.html.twig" (looked into: SuluTest2/app/Resources/views, SuluTest2/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form).

from sulu-minimal.

danrot avatar danrot commented on July 21, 2024

I just tested it, and it works for me... In sulu-minimal there are only two templates, none of them called overview, so it should not try to create a page with that template: https://github.com/sulu/sulu-minimal/tree/master/app/Resources/templates/pages

I have just tried it, and after executing composer create-project sulu/sulu-minimal my-project -n and bin/console sulu:build dev (both commands were successful) Sulu could be run with bin/console server:run without any errors.

Are you sure you don't have any leftovers from another installation, where an overview.xml was existing? Have you tried clear the Symfony cache and running bin/console sulu:build dev --destroy (the destroy option regenerates basically everything)?

from sulu-minimal.

BorislavSabev avatar BorislavSabev commented on July 21, 2024

@danrot I will retest it but I am absolutely sure I started in a clean directory tree.

It is possible that Symphony/Composer cache was the cause as I did try installing sulu/sulu-standard in a totally different root path. Before. But why are the Symphony caches mixed?

from sulu-minimal.

danrot avatar danrot commented on July 21, 2024

@BorislavSabev They shouldn't be mixed... but if you have used the same database it might be possible that a reference to the overview template was stored there.

from sulu-minimal.

BorislavSabev avatar BorislavSabev commented on July 21, 2024

@danrot the DB was the same but all tables were dropped between attempts.
Let me try again.

from sulu-minimal.

BorislavSabev avatar BorislavSabev commented on July 21, 2024

@danrot OK I retested and it is fine.
I suspect I did no clear the DB since I did several tests of sulu-minimal & sulu-standard and it is possible that I missed something in between.
Thanks.

from sulu-minimal.

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.