Giter VIP home page Giter VIP logo

Comments (11)

jirikmik avatar jirikmik commented on August 17, 2024 3

During preparing data I have found that completely remove and than resync vendor directory solved this problem. Three projects (6.4, 7.0, 7,1) and two different webservers...
I am developing in PhpStorm on Windows and also composer I am running on my pc and than synchronize changes with PhpStorms Diff. Same tool I used for new upload of vendor directory.
Thanks to everybody for help.

from doctrinebundle.

jirikmik avatar jirikmik commented on August 17, 2024 1

A did clean only dev cache but now I removed whole cache dir with rm -fvr command and it is does not help.

from doctrinebundle.

ostrolucky avatar ostrolucky commented on August 17, 2024 1

I think we will need a self contained reproducer for this :/

from doctrinebundle.

dmaicher avatar dmaicher commented on August 17, 2024

I cannot reproduce that. Works fine for me on Symfony 7.0.8.

Can you list your doctrine/* and symfony/* composer dependencies?

And one more thing: So this fails for you? bin/console debug:twig @Doctrine/Collector/db.html.twig?

from doctrinebundle.

jirikmik avatar jirikmik commented on August 17, 2024

Yes, after upgrade to 2.12 it fails:

Matched File
------------
 Template name "@Doctrine/Collector/db.html.twig" not found

Configured Paths
----------------
 ----------- --------------------------------------------------
  Namespace   Paths
 ----------- --------------------------------------------------
  @Doctrine   vendor/doctrine/doctrine-bundle/Resources/views/
 ----------- --------------------------------------------------

from doctrinebundle.

jirikmik avatar jirikmik commented on August 17, 2024

Excuse me, list of dependencies:
dependencies.txt

from doctrinebundle.

dmaicher avatar dmaicher commented on August 17, 2024

Yes, after upgrade to 2.12 it fails:

Matched File
------------
 Template name "@Doctrine/Collector/db.html.twig" not found

Configured Paths
----------------
 ----------- --------------------------------------------------
  Namespace   Paths
 ----------- --------------------------------------------------
  @Doctrine   vendor/doctrine/doctrine-bundle/Resources/views/
 ----------- --------------------------------------------------

Hm strange. It should be using the new directory structure. Here my output

Matched File
------------

                                                                                                                        
 [OK] vendor/doctrine/doctrine-bundle/templates/Collector/db.html.twig                                                  
                                                                                                                        

Configured Paths
----------------

 ----------- -------------------------------------------- 
  Namespace   Paths                                       
 ----------- -------------------------------------------- 
  @Doctrine   vendor/doctrine/doctrine-bundle/templates/  
 ----------- -------------------------------------------- 

@ostrolucky any idea? 🤔

from doctrinebundle.

dmaicher avatar dmaicher commented on August 17, 2024

@jirikmik did you try to completely purge your cache? like rm -rf var/cache/*?

from doctrinebundle.

ostrolucky avatar ostrolucky commented on August 17, 2024

Ah yeah, this looks like a stale cache

from doctrinebundle.

jirikmik avatar jirikmik commented on August 17, 2024

Sorry, I am new here - what does it mean for me?

from doctrinebundle.

ostrolucky avatar ostrolucky commented on August 17, 2024

Eg. a ZIP file or a link to repository which contains a project where we can just do composer install and run bin/console and it will show us the error you experience

from doctrinebundle.

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.