symfony-3.2 Questions
2
Solved
I do a service that run an heavy task, this service is call in a Controller.
To avoid a too long page loading, I want return the HTTP Response and run the heavy task after.
I've read we can use ke...
Ineffectual asked 25/4, 2017 at 14:2
4
Solved
I have this two entities in my project
class PoliceGroupe
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/*...
Monson asked 31/5, 2017 at 13:45
9
Solved
Following this documentation, I can create many channels which will create services with the following name monolog.logger.<channel_name>
How can I inject these services into my service with...
Foretoken asked 4/5, 2017 at 16:17
9
Solved
I recently re-opened an old (1 year) Symfony project and I am having an error on every page (I don't remember having this issue a year ago) :
[exception] 500 | Internal Server Error | Symfony\Comp...
Recurve asked 14/3, 2017 at 11:42
4
I have a Symfony 3.2 application which exposes a REST API and uses Json Web Tokens (JWT) for authentication. I recently switched to using Symfony's Guard component. Now my security.yml contains a f...
Abrahan asked 24/5, 2017 at 15:7
1
Solved
I create some basic command with symfony3.2 to generate some newsletter periodically
I'm dealing with some issue when i want to test my symfony command with phpunit 5.5.4.
It fail from the beginni...
Rambling asked 8/11, 2017 at 15:15
1
I would like to add facebook login option to my website, following this tutorial. I did everything as it is in the tutorial, but I still get this error:
OAuthException: redirect_uri isn't an absol...
Heer asked 26/7, 2017 at 11:43
3
I have setup a Custom Authenticator using guard and auto wired the service. This is tested and works fine with just MySQL configured.
I have now specified a second database connection (oracle), bu...
Laughable asked 27/3, 2017 at 8:49
1
I have a Symfony 3.2 entity using Doctrine's Translatable extension.
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Symfony\Component\Seria...
Biddick asked 7/7, 2017 at 10:50
1
Solved
I'm trying to build a language switcher into my main navigation, which is created by the KNPMenuBundle. Translations are done with the JMSTranslationBundle. Both work fine.
I want to create a lang...
Hunkers asked 2/6, 2017 at 6:41
1
Solved
I'm trying to get a clean error message after validating my Subscribe Entity :
/**
* Subscribe
* @UniqueEntity("email")
* @ORM\Table(name="subscribe")
* @ORM\Entity(reposito...
Palmapalmaceous asked 28/5, 2017 at 16:48
1
Solved
I'm using FOSUserBundle with email as username.
Tryin' to use the remember_me functionality but it's not working. I've read this Symfony2: "Remember me" tries to authenticate by username...
Urgent asked 23/5, 2017 at 15:8
1
I'd like to use the new Cache Component to store datas in Redis.
I'd like to configure pools with different lifetime of data.
Right now, I configured :
framework:
cache:
app: cache.adapter.red...
Valerle asked 19/4, 2017 at 15:36
1
Solved
I have a Symfony\Component\HttpFoundation\Request object and from it I want to fetch all the url paramethers that provided. In other words when the user visits the http://example.org/soempage?param...
Staggs asked 8/4, 2017 at 10:58
1
© 2022 - 2024 — McMap. All rights reserved.