Request a linked field in symfony – Phpmyadmin
I have a page that displays information about a movie. I recover in GET the id of the film. What I would like to do is retrieve the comments for each film (there is a filmId column in my table…
I have a page that displays information about a movie. I recover in GET the id of the film. What I would like to do is retrieve the comments for each film (there is a filmId column in my table…
I accidentally created a database symfony-project successfully, but it's not appearing on my phpmyadmin page. I want to drop the database with php bin/console doctrine:database:drop --force then this message comes out Could not drop database symfony-project for connection named default…
I've a Symfony 4 project with User entity and SoldeConges Entity. An user has a SoldeConges collection. But when I dump the $user->getSoldeConges(), the collection is empty. My User entity : /** * @ORMOneToMany(targetEntity="AppEntitySoldeConges", mappedBy="user", orphanRemoval=true) */ private $soldeConges; /**…
I am trying to create a link between two tables with a ManyToMany relation in symfony. I have a Post table with is basically a table to store all post from users (like Facebook post, with comments, likes, users etc)…
After upgrade my server version (Plesk Onyx with debian) I have recreated the domain and database with all the same DB, Users and Password, but mautic show this: The site is currently offline due to encountering an error. If the…
How do you handle Doctrine's metadata cache during application deployment? We use the atomic deployment strategy for our symfony applications. Until now we used to use the default file caching method which works very well. We would like however to…
In controller return $this->render( 'FrontBundle:Default:search.html.twig', array( 'edition' => $edition, THIS ONE 'paginator' => $pagination, 'array_ed_id' => $editions_search, 'array_he_id' => $heading_search, 'text' => $text, 'seo' => $seo, 'result' => $result, 'testix' => 10 ) ); in Twig i need custom query…