the Symfony 3.x specific tag. Use it in addition to the symfony3 tag if your question is specific to any version of Symfony 3.
Questions tagged [symfony3.x]
174 questions
-1
votes
2 answers
Symfony3 login without redirect
Been searching the web for an answer but found none. Maybe I'm not asking google the right question.
I want to authenticate the user without the "/login" redirect. Basically if I access /admin (or /user or something that requires login) I want to…

StefanNch
- 2,569
- 24
- 31
-1
votes
1 answer
Create a Symfony app : how to organize logic/bundle
I'm beginning a new Symfony 3.4 application in order to create a document management platform for our small business. I think I know how to organize all my code within several custom bundle but I'd rather ask for advice here ;)
Below is the tree I…

Paolito75
- 558
- 1
- 11
- 33
-1
votes
1 answer
What is right way showing virtual entitys field value which computing from service
I have an entity "File" and i want to show boolean value of existing related file in filesystem. For checking existence need to use my DirectoriesManager service which can detect it uses this File entity. What is the right way of configuring…
-1
votes
1 answer
Error in Symfony 3
I am trying to edit a record which have to choices and have to select value there.
$formMapper->add('addedBy', EntityType::class, [
'class' => 'AppBundle:User', 'choice_label' => function ($user) {
return…

Parth Khatri
- 277
- 1
- 10
-1
votes
2 answers
How to validate an email address in a Controller in Symfony 3.x
I have integrated in my Symfony project the FOSUserBundle with the HWIOAUTHBundle. I have a facebook and a google login/registration next to the simple login form from FOSUserBundle. However, Facebook doesn't necessarily give me an email back, since…

mywebstuff.hq
- 43
- 1
- 6
-2
votes
1 answer
Error while Doctrine Migration with Symfony upgrade 2.8-> 3.4
i have upgraded symfony version 2.8->3.4 and i have issues with
php bin/console doctrine:migrations:migrate
the error im getting is :
In AbstractMySQLDriver.php line 93:
An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or…

Thilina Dinith Fonseka
- 585
- 2
- 8
- 23
-2
votes
1 answer
how make services in symfony3
i have this controller
namespace InicioBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use…
-3
votes
1 answer
Is there an auto delete symfony3.3 bundle/Service
Does an auto delete functionality is available to delete row(s) from a specific table when a condition is met?
Note: I'm using Symfony 3.3
Else if such a method doesn't exist,is there a dql alternative even for a static method(it doesn't have to be…

CHAMAKHI Skander
- 3
- 3
-4
votes
1 answer
Symfony, don't show the debug bar when the paged is served from the built in server
I have a Symfony instance running on Linux with apache y NGINX. I'am starting the project using the built-in server:start command:
php bin/console server:start
Back to my browser, it loads me the Symfony start page but it also shows me the debug…

ilernet
- 194
- 1
- 2
- 7