Questions tagged [symfony-2.3]

This is the Symfony 2.3.x specific tag. Use it in addition to the symfony2 tag if your question is specific to Symfony 2.3.x — not just 2.x.

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

Information

This tag is specific for the 2.3 version of Symfony, which was released on the 3 June 2013 as the first LTS version of Symfony. See the tag for general Symfony 2.x questions.

As of 11 June 2013, the latest stable release of Symfony 2.3 is version 2.3.1.

Living on the edge

There are a set of interesting links on the symfony blog about what's new in this version:

Useful links

771 questions
-1
votes
2 answers

How to call controller function from other controller In symfony 3?

I am new in symfony and I want to call base controller function from other controller. main purpose behind is there is Some common process(code) for all controller so I made one common function in base controller so I able to access function from…
Sandeep Gajera
  • 229
  • 4
  • 14
-1
votes
1 answer

Forwarding Symfony website to it's main domain

The whole project is accessible at mysite.com/projectfolder/web/web_dev.php but how would I point it to mysite.com. I have use digitalocean vps to host this site. What should I change in .htaccess file my current settings are: RewriteEngine…
Harsh Shah
  • 298
  • 6
  • 17
-1
votes
1 answer

UserListener::preUpdate() must be an instance of LifecycleEventArgs

When you enter the login method, then, is the direction of the route login_check, I get the following error. ContextErrorException: Catchable Fatal Error: Argument 1 passed to FOS\UserBundle\Doctrine\UserListener::preUpdate() must be an instance …
-1
votes
1 answer

How to move a Symfony project from web hosting to localhost?

I tried some solutions (ex: Transfer Symfony2 site onto localhost from web server), but never works, the result is always a blank page. The project is on Symfony 2.3 and my php version is 5.5 Thanks
nunof
  • 65
  • 8
-1
votes
2 answers

Can't get the logout action sonata-project

This is my security.yml file firewalls: main: pattern: ^/ form_login: provider: fos_userbundle csrf_provider: form.csrf_provider login_path: project_frontend_main_index logout: …
sasser
  • 3
  • 4
-1
votes
1 answer

How to logout from app using symfony2

I have a question, I'm new in symfony2 and I tried to create a small system with login and logout. The problem is that in my debug bar after logout I get : Logged in as anon, Authenticated Yes, Token class Anonymous Token. My controller : class…
TanGio
  • 766
  • 2
  • 12
  • 34
-1
votes
1 answer

Get data from a form in symfony2

I have a problem with my search, probably I don't understand the principe. So I have a method witch show the products by category, and I added a search to this page for filter products by price. My method is : public function…
TanGio
  • 766
  • 2
  • 12
  • 34
-1
votes
1 answer

Put an array into ckeckbox field symfony2

I have a question. It's possible to send an array in checkbox? For example I have the array : public static $aColors = array( '1' => 'white', '2' => 'black', '3' => 'yellow', '4' => 'red', '5' => 'green', '6' =>…
TanGio
  • 766
  • 2
  • 12
  • 34
-1
votes
2 answers

how to change form field container div class?

I using symfony2.5. I change form field container div class. generated form fields:
-1
votes
1 answer

An error occured when executing the cache:clear --no-warmup” while installing fosuserbundle

I am installing fosuserbundle using composer but I am getting error while installing it. [Symfony\Component\Debug\Exception\ContextErrorException] Warning: constant(): Couldn't find constant Monolog\Logger::DEBUG in…
Pratik Gadoya
  • 1,420
  • 1
  • 16
  • 27
-1
votes
2 answers

generateUrl does not work in childrenHierarchy

using generateUrl in doctrine extensions tree in action $repo = $em->getRepository('Entity\Category'); $options = array( 'decorate' => true, 'rootOpen' => '
    ', 'rootClose' => '
', 'childOpen' => '
  • ', …
  • -1
    votes
    1 answer

    Complex query in Symfony2 form using query builder

    I'm trying to build some kind of complex query using Doctrine Query Builder to use them in a Form Type, see below what I have done: public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('category',…
    Reynier
    • 2,420
    • 11
    • 51
    • 91
    -1
    votes
    1 answer

    Call to undefined method can't create createDeleteForm

    I need to create a deleteForm in my view so I do this: /** * Show created bank account * * @Route("/{account_id}", name="wba_show") * @Method("GET") */ public function showAction($account_id) { $em = $this->getDoctrine()->getManager(); …
    Reynier
    • 2,420
    • 11
    • 51
    • 91
    -2
    votes
    2 answers

    Symfony redirect with response

    i would like to know is there anyway to return from controller an 500 exceptional error. i need to return with response, code and redirection.Please help me out of it
    Ganesh
    • 25
    • 6
    -2
    votes
    1 answer

    dropdown multiselect disappears

    I have a site made with Symfony and there is a dropdown menu with class=multiselect-container dropdown-menu It works well except when I try to narrow the window : when the "location block" goes under the drop down menu; the drop drop disappears and…
    Lise Lise
    • 11
    • 3
    1 2 3
    51
    52