Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
62 views

I am quite new with Simfony and I'm having trouble configuring api platform to search a specific database when accessing an endpoint. I tested that the connections with the db are working with the ...
Daniel's user avatar
  • 11
2 votes
1 answer
189 views

I have put a callback inside Assert\Optional but it is not being called when I put outside the Optional It does get called but I get field missed error in case that option parameter is not in request. ...
deepsingh's user avatar
  • 161
0 votes
0 answers
88 views

I am dealing with some old symfony code, and I have a bundle that needs AuthorizationCheckerInterface. I can see that symfony/security-core is installed but if I check the container I don't see the ...
user3174311's user avatar
  • 2,033
0 votes
1 answer
245 views

I am using Symfony 3.4 and knpuniversity/oauth2-client-bundle (v1.34.0) with the client library thenetworg/oauth2-azure (v1.4.2) to connect to an Azure AD B2C App. When I initiate an authorization ...
DerAlteFritz's user avatar
0 votes
1 answer
101 views

I need an advice for my Symfony 3.4 project (yes I know there is Symfony 6), I have an entity Product and I created a method that calculates the completion percentage of a Product sheet. It checks ...
Eve's user avatar
  • 836
0 votes
0 answers
16 views

I have installed PHP 5.6.40, and have also run command symfony check:requirements in accordance with https://symfony.com/doc/3.4/reference/requirements.html Its output is shown below. /usr/local/bin/...
alexander.sivak's user avatar
1 vote
2 answers
3k views

I would like to have tests dealing with Doctrine not persist stuff in the main Symfony dev database. Preferably by not storing stuff at all (rolling back per test). How would I do this? Are there ...
oligofren's user avatar
  • 23.4k
0 votes
1 answer
363 views

please help to find out the following: I have the following code: /** * @param FormMapper $formMapper */ public function configureFormFields(FormMapper $formMapper) { $formMapper ->...
Deadpool's user avatar
  • 826
1 vote
0 answers
93 views

Be gentle, I'm a hacker not a professional developer! I think I'm close, but I am getting tripped up by the different ways that a Controller can retrieve data and return it as JSON (to a data table). ...
Peter Gross's user avatar
0 votes
1 answer
1k views

Project in symfony 3.4 framework, all functions are ready, but an exception to get errors in the process is not working because swiftmailer is not working <parameters.yml> mailer_transport: smtp ...
Ivan Alonzo's user avatar
0 votes
1 answer
220 views

I have created an integration test to debug an actual issue that seems to stem from upgrading from Symfony 3.3 to 3.4. The issue is that all my array fields on the entity (Doctrine ORM annotated as ...
oligofren's user avatar
  • 23.4k
0 votes
1 answer
160 views

Good day, I have just uploaded Symfony 3.4 project (PHP 7.2) to Centos server and my application needs to be connected to RabbitMQ. I want to do that in Centos server rabbitmq is constantly consuming ...
Mr_T's user avatar
  • 45
-1 votes
1 answer
833 views

Due to a heavy API call taking upwards of 20 seconds, I have enabled computation of ETag for that resource and pre-compute the ETag before doing any heavy DB work to be able to return early. This ...
oligofren's user avatar
  • 23.4k
3 votes
1 answer
665 views

I have a test that fails due to me being unable to successfully stub the get method of the Controller: 1) Tests\my-project\BackendBundle\Service\PdfGenerateServiceTest::...
oligofren's user avatar
  • 23.4k
1 vote
1 answer
600 views

I need to create a raw query in the repository class, but i'm geting and error class UserRepository extends EntityRepository { public function usertoExpirate(){ $query = 'SELECT email ...
user avatar
-2 votes
1 answer
231 views

Our snappy pdf service in our Symfony 3.4 app returns a pdf as a string like so: %PDF-1.4 %âã 1 0 obj << /Title () /Creator (??wkhtmltopdf 0.12.5) /Producer (??Qt 5.11.3) /CreationDate (D:...
h1mupstairs's user avatar
0 votes
0 answers
887 views

I'm working with a Symfony 3.4 (PHP 7.2, update to 7.4 soon) project. I have some classes who extends an abstract class and i would like all my classes got the same constant name (constant have value ...
Astro-Otter's user avatar
-1 votes
2 answers
82 views

I'm trying to set a response on an eventsubscriber that checks if an API authorization token it's correct class TokenSubscriber implements EventSubscriberInterface { private $em; public ...
a_fgr3's user avatar
  • 11
0 votes
1 answer
126 views

I'm building a questionnaire that is shown in two templates but I need to not show some filed in one of the templates $builder ->add('acceptConsent', CheckboxType::class, [ ...
user avatar
0 votes
0 answers
344 views

I have a problem configuring symfony 3.4 with postgres. Exactly when the main scheme is not public. Symfony works and connects to the database without errors, but that's it. Application does not, ...
bobi's user avatar
  • 73
0 votes
1 answer
617 views

I have an Authenticator that needs to authenticate the user anonymously, but include a role. I do this by overriding createAuthenticatedToken in the Authenticator: class ClientAuthenticator extends ...
amacrobert's user avatar
  • 3,279
0 votes
2 answers
174 views

I'm trying to gererate the translation key that has to be translated and show at the template but is not working <h2 class="text-withe">{{ 'cover.title.'~product.id | trans | raw }}&...
af_fg3's user avatar
  • 5
-1 votes
1 answer
299 views

The current website I'm developing right now is running Symfony 3.4. One of my entities is Contact: I get a very large MySQL table with ~ 14.000 rows of contact profile : Name Email Phone number ...
deferre_mario_po's user avatar
-2 votes
1 answer
344 views

I tried to install symfony 3.4 on ubuntu 21.04 following the doc sudo mkdir -p /usr/local/bin sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony sudo chmod a+x /usr/local/bin/...
af_159623's user avatar
  • 327
1 vote
0 answers
407 views

I have a symfony 3.4 projet with multiple application bundles. I added autowiring configuration in app/config/services.yml as follow : services: _defaults: # automatically injects dependencies ...
Mustapha GANGA's user avatar

1
2 3 4 5
19