Symfony2 is an open source PHP web development framework for PHP 5.3.3+ focusing on easy and fast development cycles and including state-of-the-art design patterns and programming philosophies.

learn more… | top users | synonyms (1)

0
votes
0answers
3 views

Symfony2 security - There is no user provider for user “Ibw\UserBundle\Entity\User”

I'm creating a custom entity provider for my User entity. But when i enter the username and password in the login form i get this exception : There is no user provider for user ...
0
votes
0answers
2 views

@Assert\Valid of OnetoMany property doesn't work

i intend to resolve my problem but after many hours of search, i does'nt work :( So i've got a class : <?php namespace Application\HappyBundle\Entity; use Doctrine\ORM\Mapping as ORM; use ...
0
votes
0answers
7 views

You have requested a non-existent service Symfony2

I try to set my Symfony2 application on a debian server and I have an error on an non-existant service. It works il local request.CRITICAL: Uncaught PHP Exception ...
0
votes
2answers
8 views

How to pass symfony2 login/pass credentials to strophe.js with openfire server?

I have simple login/register app written in symfony2. I am using db encoder for checking user/password combination. And that part is working great. I have a problem during login. I do not understand ...
2
votes
1answer
15 views

How to install DoctrineFixturesBundle offline

First of all, i can't use composer because of my ISP, so, i need a way to install the DoctrineFixturesBundle manually, so i started downloading it from github, also the data-fixtures bundle. i create ...
0
votes
0answers
22 views

Using .htaccess mod_rewrite for redirecting to mobile version of site

I'm using Symfony 2 to develop a web app. I want to redirect mobile users to http://m.mysite.com when they access either http://www.mysite.com or http://mysite.com from their mobile browsers. I ...
0
votes
1answer
9 views

Symfony2: CRUD-generated functional test fails incorrectly

In a simple and slightly modified functional test generated by the CRUD generator, a crawler test fails incorrectly. This is determined by examining the content in an external file created before the ...
0
votes
1answer
18 views

How do I put the app.php and app_dev.php inside a sub folder

Since we have multiple apps on the same site (and all apps related to a big project), I place multiple apps inside the web folder like this: web / |-- frontend |-- backend |-- api Each should ...
1
vote
1answer
25 views

Best way to handle graphing and display of large data sets

Our website provides various data services to our clients; one of which is gauge data. Some gauges log information every 15 minutes, some every minute. This data is sent to our SQL database. All of ...
0
votes
0answers
15 views

Displays user's roles as multi-select checkboxes (saving + editing) in symfony2

A long time ago I can't find a solution to the following problem. So, for example, we have two entities with a many-to-many relationship: User and Role. User entity: // ...
0
votes
1answer
22 views

How to generate data URI in Symfony 2.3

Is there a bundle, or a friendly way to generate convert a file to it's data URI representation in Symfony 2.3 or above, and include it in a JSON response? How can I do it?
-2
votes
0answers
18 views

Twitter Bootstrap on Symfony2 with NetBeans (Windows)

Good morning, I've a problem with XAMPP-NetBeans-Symfony2. When I create a new project with NetBeans, I choose a PHP project and a PHP Application As sources folder, I choose C:\xampp\htdocs\X and I ...
0
votes
1answer
19 views

Symfony2 Form use translator for attr attribute

I have a form with some elements for one element I want to use the translator inside an attribute(data-placeholder that it's the name for a JQuery Extension). $builder->add('items', 'entity', ...
0
votes
0answers
14 views

Abstract Doctrine association mapping without discriminator (legacy DB)

I'm working with a legacy database (that means no schema changes!) and I need to create a associations between the the Doctrine entities involved. I'll describe the data structure first and then ...
0
votes
0answers
14 views

knp paginator return 0 result but query return 5 results

i try to do a pagination with knp paginator. i use it in other place in the same website, and he work fine. But, now i try use it on other query, and i have a problem. $query = ...

15 30 50 per page