Month: November 2018
-
[Solution] Symfony SwiftMailer multiple recipients
You can use an “array” : $to = array( “user1@gmail.com” => “User 1”, “user2@gmail.com” => “User 2” ); Example : $subject…
-
Symfony Could not convert database value “” to Doctrine Type array
This error appear because your type not a “Array” Change type to “array” /** * @var string * * @ORM\Column(name=”informations”, type=”array”)…
-
Symfony How to pass javascript variables values from twig to controller
Tip : var url = ‘{{ path(“yourroute”, {‘id’: ‘id’}) }}’; url = url.replace(“id”, this.value); window.location.href = url;
-
-
Symfony is not a valid entity or mapped super class.
Define the real entity: * @ORM\Entity For example Before : <?php namespace BookingBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Table(name=”booking”) */ class…
-
phpMyAdmin not found after installation
I share with you the solution : Create a link /var/www sudo ln -s /usr/share/phpmyadmin /var/www/ sudo nano /etc/apache2/apache2.conf Then add the…