0
votes
0answers
26 views

symfony2 - VichUploaderBundle filename field empty and file not uploaded

I´m having problems using VichUploaderBundle: the upload does not work correctly. I tried to do as the documentation shows with an image attribute and an imageName attribute. When submitting the ...
0
votes
1answer
47 views

Symonfy form: display input according to value of other field (Twig)

Problem I have a form in my Symfony 2(.1.8) application for creating an entry in a table called media. I build the form with the buildForm function in my media form class. Amongst other fields the ...
1
vote
2answers
46 views

Cant clear the cache on my symfony2 website

When I perform this action: sudo php app/console cache:clear --env=prod I get this error: [ErrorException] Warning: ...
0
votes
1answer
20 views

how to create a unique routing pattern in symfony2

I have an application that only users can access /user and /user/* parts but some URLs like /userABC (/user...) should be accessible for all visitors. in this code: acme_sinamelk_userArea: pattern: ...
0
votes
1answer
52 views

Symfony2 User roles vanish between Listener and UserProvider

I'm having trouble (again) with the security component of Symfony2. First thing first, there are severals objects involved in the process of authentication : SecurityFactoryInterface ...
0
votes
1answer
24 views

method return html symfony2

I try to send a html code in symfony2 like this : public function testAction() { $html = '<input type="text">' return $this->render('TestBundle:Default:index.htlm.twig',array( 'html' ...
0
votes
2answers
26 views

Symfony Form choices customize the get url

So I have a search bar form that I need to temporarly wire up to a legacy non-symfony page. the current get url looks like the following (url-decoded) ...
0
votes
1answer
40 views

Symfony2 firewall issue Android

Let me explain my situation, I developed a complete backend for an Android application in Symfony2.1 that works perfectly, now I'm trying to create the Android app part, for that I created a firewall ...
1
vote
1answer
43 views

Defining custom twig form block for errors rendering

I'm trying to define a specific new block for form field errors rendering, keeping form_errors unchanged for common errors rendering. # Twig Configuration twig: debug: %kernel.debug% ...
1
vote
1answer
47 views

File Uploads with Doctrine

I am trying to upload files with Doctrine in Symfony2. I followed all the steps in this tutorial tutorial but whene I submit my form I get no errors but the file is not uploaded and the path in the ...
0
votes
1answer
49 views

How to redirect FOSUserBundle user if he is not in whitelist?

I use hwioauthbundle and FosUserBundle and I need check if user Twitter ID is in whitelist. If user ID in whitelist, user authorized, if not, redirect to specific page. For automatic registration I ...
0
votes
1answer
188 views

ParameterNotFoundException: You have requested a non-existent parameter “database_accounts_driver”

when I make update for a symfony2 project using compser.phar : php composer.phar update I have this error when I run the project after updating : ParameterNotFoundException: You have requested a ...
0
votes
0answers
47 views

Symfony throwing TransformationFailedException on DateTime field

I'm new to Symfony and I'm having some trouble rendering a twig-form filled with data from database. The entity is fetched and mapped correctly by Doctrine. It always throws a ...
1
vote
3answers
60 views

Select choice in symfony2

I spent hours to find a solution to my problem, and I hope to find the answer here. Here is the code for my form(ExperienceType) : public function buildForm(FormBuilderInterface $builder, array ...
0
votes
1answer
56 views

Doctrine Class Table Inheritance - Multiple Types

I'm trying to make a Listing system for a classifieds-like site in Symfony. I want to have multiple Listing types with different fields (and some common fields). I was going to make a main Listing ...

1 2 3 4 5 46
15 30 50 per page