Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\sample\web/../app/bootstrap.php.cache' (include_path='.;C:\xampp\php\pear\PEAR')

I am new to Symfony for a project. I am getting the following error when everything is okay. My Symfony My php.ini file [PHP] ;;;;;;;;;;;;;;;;;;; ; About php.ini ; ;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;...
Huzaifa Bin Zahoor's user avatar
2 votes
2 answers
105 views

Symfony - Inject and access DIC service in Doctrine EntityRepository

This is relevant to legacy project written in Symfony 2.2.1, doctrine 2.3.3. I need to access DIC @service in one of EntityRepository classes. Am i able to inject this service, or container into it ...
palmic's user avatar
  • 1,856
0 votes
0 answers
987 views

Symfony Semantical Error - has no field or association

I'm getting the error in ORM/Symfony: [Semantical Error] line 0, col 73 near 'group = :groupId': Error: Class ActGood\CommunityBundle\Entity\GroupReporting has no field or association named group My ...
heykatieben's user avatar
0 votes
0 answers
696 views

Cannot find module 'less' though less is present

I know this question had been asked a few times already, but I tried everything I found and nothing worked, so I'll ask directly I have a symfony 2.0 project, in which I'm building a docker But when I ...
Jérémy Lefebvre's user avatar
1 vote
2 answers
1k views

event.DEBUG, doctrine.DEBUG, security.DEBUG make dev.log file hugely big

I run an app on Symfony2. Whenever I load a page or a controller, dev.log file get fill with thousands and thousands with these kind of lines : [2017-10-12 15:26:08] event.DEBUG: Notified event "...
kabrice's user avatar
  • 1,625
2 votes
1 answer
67 views

Migrate Symfoy 2.0.15 app to newest release, the right way

I have a project (developed by others) running on Symfony 2.0.15 and I need to upgrade it to newest Symfony2 version cause I need to add some new code and it's been hard to get it done. I can't find ...
ReynierPM's user avatar
  • 18.5k
0 votes
1 answer
558 views

Installing behat on a Symfony 2.0 project using deps - what versions?

I have a legacy Symfony 2.0 project (version 2.0.11 to be precise) to which I'd like to add behat tests. As it's Symfony 2.0, it uses the deps vendor system rather than composer. I'm not in a ...
Sam's user avatar
  • 6,532
0 votes
2 answers
369 views

Using symfony 2.0.x form component standalone

How does one use the symfony-form component standalone for version 2.0.*? The examples in the documentation show how to create forms, but they use other parts of the symfony ecosystem, like ...
KyoreG's user avatar
  • 301
0 votes
1 answer
133 views

Cannot find login_check

Unable to find the login_check in symfony2.0 (I know it should be symfony2.4 because it is decrypted, but my customer wants 2.0). What is wrong that symfony cannot finde the login_check-path? My ...
craphunter's user avatar
3 votes
1 answer
2k views

How to add phpexcel to symfony2?

I need to generate Excel files, I did a search and phpexcel seems to be good and stable. I'd like to know: How to integrate it into my project given that it's a symfony2.0 project? If I can do all ...
smarber's user avatar
  • 5,026
1 vote
1 answer
786 views

Symfony2 form date with today

I create a form in symfony2.0 and read some articles here. But all doesn't work. I want to create a form field with the type date and the date should be today. What is wrong? ->add('date', 'date', ...
craphunter's user avatar
-1 votes
1 answer
43 views

How to build custom symfony2 form?

I have three entities, fos_user, command and preference. The user can send himself an email containing a specific field from each entity, these fields can't be empty. So when the user decides to send ...
smarber's user avatar
  • 5,026
4 votes
1 answer
217 views

Using composer.json in Symfony 2.0

I have a Symfony 2.0 project; however, I'd like to switch from deps to composer.json without going up to 2.1+. Has anyone done this, or is there anything that would prevent this from working?
jlb's user avatar
  • 19.8k
1 vote
0 answers
155 views

How to render checkbox form in symfony 2

There are 2 entity many-to-many relations with join table in symfony 2. First one is certificate, second one is mayag and join table is certificate_mayag. Certificate has many mayag with isAvailable, ...
Mendbayar Borgil's user avatar
17 votes
5 answers
16k views

Logging swiftmailer send() activity in symfony2

Im using swiftmailer for sending mails from my symfony2.2 project. Is there a way to log globally all email info and send results? It would be great if mailer send() method have trigger somę event, ...
tiriana's user avatar
  • 668

15 30 50 per page
1
2 3 4 5