… but dissapears at the time of rendering BookListContainer. I don't know why and where to modify to make this work. I put some console.logs in the code to see this.
I tried to be as explicit as I can in my commits.
Thank…
I have no idea, I don't remember setting this value anywhere in my project!
I this something that needs to be done?
When checking the recommendations Symfony says to install a PHP accelerator. I can't find it anywhere, all documentation is for Linux/Ubuntu. I've also read some comments about an accelerator not being necessary for PHP 5.3 and after because it is integrated…
Hi!
I don't seem to find the download link to the project files anywhere ...
https://github.com/knpuniversity/rest-ep2 is the right one?
And if yes: Trying to log into the application, i get an SQL error.
Additionally, i see that your jQuery…
…we handle multiple different forms on the same page? I couldn't find anywhere a documentation.
I have a page with a category name and article list where I want to submit the edit/change category title, and also for each article to add it…
Hmm I am getting 404 for these thumbs. There was no folder created anywhere (suppose to?)
Partially RESOLVED FOR DEV: I had to run server through bin/console server start
Anyway On production I wont be able to do that, and seems that problem refers…
👍 on these tutorials. They're the best I've found on Symfony anywhere on the web.
However, I have this issue I was hoping you'd be able to help with, Ryan.
I hate to think how long I've spent on trying to…
also framework.templating.assets_version and framework.templating.assets_base_urls are throwing deprecated warnings even though there is no info anywhere how this should be corrected. official config documentation sates that nothing has changed about this http://symfony.com/doc/current/reference/configuration/framework…
Hey somecallmetim ,
Good detective work! How do you encode your password and where? I suppose you do it in the event listener where encode plain password and store the encoded value in User::$password (as we do in our screencasts). Then in this event listener…
I have watched 2 oo episodes and learned A LOT of things that I couldn't find anywhere else, this is awesome. Man, you HAVE TO check this out
Hey Benjamin K.!
> If i am right select - where is allready done. A custom Filter is AndWhere from queryBuilder. That makes sense we filter a resource and not build a complete query
That's correct :). It makes the filters fairly easy to build.
Cheers…
…name=test&capacity=200&category=theatre
Instead of writing out 10+ andWhere() statements i was wondering it there a way to pass a variable into the andWhere() statement. Something like andWhere('$filters LIKE :filter') however i have trouble as the single quotes are needed as part of the…
…complex andWhere() clause where you can combine a few simple clauses with OR condition. For example, something like this:
```
->andWhere('u.author IN (:authors)')
->setParameter('authors', ['Mike', 'Kenneth'])
```
You can also use our feature-rich search to find more ideas of how to write addWhere…
…
Excellent question. Hmm, that is a bit tricky. In a normal query, I would do something like `andWhere('whenEntered > :now')->setParameter('now', new \DateTime())`, but we can't do that inside of YAML. So, we'll need to apply the dql_filter manually (not…
…they are just hard to read (IMHO), but yes, you can add OR conditions inside an `andWhere()`. About auto adding "%" to a LIKE condition. I don't think that's a good idea because there are other kind of wildcards for a LIKE condition that…
… About the order of the andWhere, it "shouldn't" matter, but yes, in *can* matter in some cases - especially if you have an "OR" in your query. I often will group multiple things into a single andWhere() if I need to be more clear about…
…and then another one, as Victor said, the first one will be overridden, so you have to use "andWhere" to concatenate your where clauses, but if need both clauses AND & OR, it's better to write them all in a single "where", so you don…
OK, but where before we set that lsCustomerId, it seems that it happened not in this chapter. How and where that lsCustomerId is set on the User object?
When you do :
```
symfony console doctrine:query:sql 'SELECT * FROM starship WHERE id = 75'
```
I cannt see part_id is 1.
Even when I try to do the query myself, I dont see part_id anywhere... Did I miss something?
Thank you for your reply. I use Nelmio Cors and haven't written anything about putenv() ever, anywhere. Il's a very basic symfony configuration, mainly inspired by your work here. I never touched the vendor dir and I use Api Platform (sometimes i regret…
x
517