Questions tagged [symfony-3.2]

This is the Symfony 3.2.x specific tag. Use it in addition to the symfony3 tag if your question is specific to Symfony 3.2.x — not just 3.x.

Symfony is a PHP full-stack web framework developed and maintained by Sensio Labs.

Information

This tag is specific for the 3.2 version of Symfony. See the tag for general Symfony 3.x questions.

The 3.2.0 version was released on the 30th November 2016.

326 questions
0
votes
1 answer

Error parsing yml configuration for fos_rest bundle in Symfony 3

i am configuring the fosrest bundle in symfony 3. But i'm gettin this error: While scanning a flow node we had this expected the node content, but found org.jvyamlb.tokens.PositionedKeyToken My block code is as follows: fos_rest: …
Álvaro
  • 157
  • 4
  • 10
0
votes
2 answers

How to chek if the gallery name exist in DB?

public function createGalleryAction(Request $request) { $gallery = new Gallery; $gallery_form = $this->createFormBuilder($gallery) ->add('galleryName', TextType::class, array('label' => 'Gallery Name')) ->add('Add',…
Pranan Subba
  • 186
  • 3
  • 10
0
votes
1 answer

How can we add login extra field FOSUserBundle in Symfony 3

How can we add login extra field FOSUserBundle in Symfony 3. I have attached screenshot also my FOSUserBundle on that I want to add First Name and Last Name, I have read all documentation regarding this but unable to understand.enter image…
Kumar Pal
  • 29
  • 1
  • 1
  • 9
0
votes
0 answers

symfony: getting error /usr/local/bin/: Permission denied in assetic:dump

My assetic configuration is: assetic: debug: '%kernel.debug%' use_controller: false filters: less: node: /usr/local/bin/ node_paths: [/usr/local/lib/node_modules] apply_to: '\.less$' when I run command bin/console…
Yogesh Karodiya
  • 225
  • 5
  • 15
0
votes
1 answer

How to inherit FormType in Sonata Admin?

How to inherit FormType in Sonata Admin? For example in src/AppBundle/Form/CityType.php: class SmsType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder …
yeveb
  • 1
  • 1
0
votes
0 answers

Unable to update my database schema in Symfony getting error in FOSUser Bundle

I am Downloading FOSUserBundle in Symfony Framework using composer and at the time of Update your database schema I am facing this error. "PHP Fatal error: Class 'FOS\UserBundle\Entity\User' not found in…
0
votes
1 answer

I want to Install FOSUser Bundle in Symfony but geting Composer error

I want to Install FOSUser Bundle in Symfony but geting Composer error, 'composer' is not recognized as an internal or external command, operable program or batch file. I have also attached screen shot. I did many R&D about this topic but unable to…
Ginni
  • 59
  • 9
0
votes
1 answer

Symfony 3 An error occurred while loading the web debug toolbar

Hi I have problem with debug toolbar, when I try to load page (on localhost) all code is loading correctly but after code is loaded a get warning : An error occurred while loading the web debug toolbar (500: Internal Server Error). Do you want to…
mcgoo
  • 103
  • 3
  • 12
0
votes
0 answers

Symfony 3.2 - set environment variables in runtime

Is it possible to assign environment variables at runtime from a controller? I am trying to assign the database name to an environment variable of parameters.yml but I get an exception. "exception":[{"message":"Impossible to call set() on a frozen…
0
votes
0 answers

How to pass multiple symfony3 controller actions to one js (ajax call) file

I have multiple controller actions like adminbedroomtypesort, adminbookingstatussort, communicationtypesort, countrysort, currencysort , durationsort, featuressort, floorsort, furnishedsort, includedbillssort and one js file My js…
somesh
  • 528
  • 2
  • 10
  • 26
0
votes
0 answers

Make PHPDesktop work with Symfony3

I've built a Symfony application that have to be run on Windows and I want to make it very simple to be installed. For this purpose, I found PHPDesktop very perfect but I can't make it work with Symfony3 allthough there is a wiki page that describe…
0
votes
0 answers

Use Entity less Repositories in service in Symfony

Is there any way in symfony that "Entity less repositories" be used in services just like one service is calling another service. I am asking because I want put sql DQL/SQL in methods separated from Services like in 2 layers as I don't want to map…
ajay_full_stack
  • 494
  • 7
  • 13
0
votes
0 answers

How to save an image in Symfony from one project to other project each one in different servers?

I have a form in a project1 from where I upload images, and I have a project2 where I want this images to be saved. I'm using symfony's method move but I get an error "unable to create directory". Is there any way to upload this image from my…
Álvaro
  • 157
  • 4
  • 10
0
votes
1 answer

Symfony 3: Integrate Wordpress for FRONTEND NICE DISPLAY PURPOSE

I am looking for solutions to integrate WordPress to Symfony 3. My Symfony 3 project is running well with its own custom functionalities but the landing page looks lame compare to a WordPress landing page. Now I want to update the visual of the…
nyluje
  • 3,573
  • 7
  • 37
  • 67
0
votes
0 answers

How to inject CUSTOM repository into my service?

I have a custom Stats service, and I want to inject two custom repositories: booksRepository and reviewsRepository into it. How do I do this? When I use this yaml in services.yml, i get two regular repository classes (EntityRepository) instead of my…