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

Fos User Bundle for Symfony 3.2 does not support propel datastore anymore?

I've been running Symfony 2.3 and used FOS User Bundle a lot so I reused some of my config.yml configuration in a new project with Symfony 3.2.8. I just restored FOS User Bundle via composer and I am wondering why that vendor package is lacking the…
0
votes
2 answers

Which one is more speed for saving some "STATIC" data? Arrays or cached db tables?

In Symfony 3.2: I have some data like this (as array): $list1 = [ 'field-1' => ['id' => 1, 'group' => 'words', 'title' => 'Field 1'], 'field-2' => ['id' => 2, 'group' => 'words', 'title' => 'Field 2'], ... ... ... …
حمید
  • 143
  • 1
  • 6
0
votes
1 answer

Symfony form to create a collection of entities sharing inputs

I need to make a form to create a collection of the same entity, but I do not want to repeat all fields for each entry of the collection (only fields which will have different values). Imagine a Product entity: class Product { private…
Seb33300
  • 7,464
  • 2
  • 40
  • 57
0
votes
1 answer

Symfony 3 routing annotation set homepage

Right now my homepage is the DefaultController: /** * @Route("/", name="homepage") */ public function indexAction(Request $request) { But I'd like the default to be in my blog controller: /** * @Route("/blog/index", name="blog_index") …
Darkstarone
  • 4,590
  • 8
  • 37
  • 74
0
votes
2 answers

Doctrine is storing the wrong value in DB from a DateTime object

I have the following entity: use Doctrine\ORM\Mapping as ORM; use Gedmo\Timestampable\Traits\TimestampableEntity; class Quote { use SourceTrait; use TimestampableEntity; private $quoteId; private $startDate; private…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
0
votes
1 answer

How to get AuthorizationCode GrantType working in Symfony 3 with FOSOAuthServerBundle

i'm trying to build a Bootstrap for a Symfony3 REST-Application with OAuth2 Support based on FOSOAuth. My current Implementation is based on the following Sources: git:maxpou docker-symfony for Docker Setup symfony.com - CustomUserProvider for own…
takethefake
  • 795
  • 1
  • 9
  • 20
0
votes
0 answers

(Symfony3) How to add a custom property to FOSUserBundle and persist it?

I'm trying to add a custom property (psptCode) to my User entity, extending UserBundle. This is my User class:
0
votes
1 answer

Symfony form, One-to-one relationship, one side can be null

I have a MainConfig entity that has One-to-one relationship with LedConfig entity. LedConfig can be null.
Matko Đipalo
  • 1,676
  • 1
  • 11
  • 23
0
votes
0 answers

Upgrade Symfony 3.0 to 3.2 -> Call to a member function getRepository() on null

I just upgraded my Symfony app from 3.0 to 3.2. To do so, I simply created a new Symfony 3.2 project and copied and pasted all my work from the old project to the new one. Which means, some folders like controller, services, routing, and so…
FabienChn
  • 938
  • 10
  • 17
-1
votes
1 answer

Symfony 3.2, authentification and cross-site cookies

I know that Symfony 3.2 is not maintained for very long time, but it happens that my company use it. And now we have a problem with authentifacation. We have widget that can be (and is) installed on multiple sites, so user can log in there. But…
Alexey Kolchin
  • 105
  • 1
  • 1
  • 8
-1
votes
1 answer

FOSUserBundle error after installation - Symfony 3.2

I recently created a new project in Symfony 3.2 and installed via composer following https://symfony.com/doc/master/bundles/FOSUserBundle/index.html the bundle FOSUserBundle. (information : I used ORM) My problem is that after doing all those steps…
BleuBizarre
  • 368
  • 2
  • 15
-1
votes
1 answer

Symfony: Generate documentation from markdown with Table of contents

What are the best practices for generating a documentation (of a tool/service) in Symfony? To be a little more explicit: I want to use Markdown to write a documentation I will probably have more files (about 5-10 files) with different topics,…
codiga
  • 537
  • 5
  • 15
-1
votes
2 answers

Restrict Login for All pages for not logged in User: Symfony3

I am using fos bundle for Symfony and it's working fine but now I want to restrict all pages for not logged user except (login and register). How can I achieve that?
Yogesh Karodiya
  • 225
  • 5
  • 15
-1
votes
1 answer

Two symfony projects on one server/domain

I've created two independent symfony projects and I've moved them to my prod server, for example: project1.example.com [/var/www/project1/web] project2.example.com [/var/www/project2/web] The problem is that when I open up the second address, then…
Rodgard
  • 79
  • 1
  • 11
-1
votes
1 answer

Variable "name" does not exist

This is my DefaultController.php file i want to fetch data of firstname on my dashboard while login to dashboard page. but i am getting 'Variable "name" does not exist.' error, i am new in symfony i know that code is very complicated, can anyone…
Enesh Kumar
  • 43
  • 2
  • 2
  • 10
1 2 3
21
22