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 follow the book the fast track, chapter '8.7 Migrer la base de données'. I have my 2 Entities classes properly generated via symfony console make:entity : ls -1 src/Entity/Co* src/Entity/Comment.php src/Entity/Conference.php https://pastebin.com/6RJmQTEg https://pastebin.com/XwZ7csS3 Ran symfony console make:migration, get only…
I get 404 Not Found for all request that are not /. Hitting smfony.test in the browsers opens the web page without a problem. But anything other than symfony.test will result in a 404 Not Found. I looked up several…
I'm trying to upgrade from php 5 to 7 on a server hosting a symfony project. Actually the update from php 5 to 7 worked ; php --version PHP 7.2.29 (cli) (built: Mar 17 2020 11:58:47) ( NTS ) Copyright…
My setup is Symfony 5 with the latest API-Platform version running on PHP 7.3. So I would like to be able to query both on name and username (maybe even email). Do I need to write a custom resolver? This…
I am installing a Symfony project when running composer install gives me the following error: I have looked for there and usually recommend updating the symfony version but I cannot update it. In addition, the project is working on other…
I need in my controller to calculate the time in the car as well as the distance between two addresses, so in PHP. I'm on Symfony 4. So I'm looking for a bundle that allows me to do this. I…
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 am trying to deploy a legacy Symfony 1.4 (actually Symfon 1.5 via FriendsOfSymfony1 [1]) project in a Vagrant Box with Ubuntu 18.x. My PHP version is 7.2.x (see [2]) Everything works fine, the site loads, but I get this…
I would like to create a Symfony project. I have the same issue as many people concerning php version: Symfony uses the wrong one. λ php -version PHP 7.4.1 (cli) (built: Dec 17 2019 19:24:02) ( ZTS Visual C++ 2017…