511 search results

…where() and andWhere() are mostly same but with a subtle difference as you can guess from their names: where() will always override all the where block of your query so if you will have some logic in WHERE statement of your query and unintentionally call…
Hi thank you for your reply I am a completly noob can uou show how and where i can add this interface ? I tried inside the listener but could'nt manage to make it work :(
…I feel something missing in the course. And if there's not a full chapter in it, probably at least "one pointer on how and where to investigate my myself" would be great: Ah yes, real-time communication! I can give you a pointer on…
weaverryan
weaverryan
Read Full Comment
…I don't have it anywhere. This is what response looks like: ` { "type": "https://tools.ietf.org/html/rfc2616#section-10", "title": "An error occurred", "detail": "Detached entity App\\Entity\\Users@0000000010e7173b0000000018612146 cannot be removed", "trace": [ { "namespace": "", "short_class": "", "class": "", "type": "", "function": "", "file": "/Users/me…
For me this is the most interesting course that you will not find anywhere else. Thanks guys, and please upgrade to symfony 4 if possible :D
Just realized that the line 3-5 of the javascript file is not shown anywhere on the script. I had to look back the video to understand why my Ajax was complaining about $link not being defined error.
Dongkyun H.
Dongkyun H.
Read Full Comment
could you explain me what is an endpoint, and where i need to implemente it ? do i need to extend a controle or anywhere, doesnot matter the organization
I keep getting an error for "The text "Samsung Galaxy S II" was not found anywhere in the text of the current page." Here is my code: /** * @BeforeScenario @fixtures */ public function loadFixtures() { $loader = new ContainerAwareLoader($this->getContainer()); $loader->loadFromDirectory(__DIR__.'/../../src/AppBundle/DataFixtures'); $executer…
Josh Crawmer
Josh Crawmer
Read Full Comment
Hey Junaid, What validation constraints do you use? And where do you declare it? Because, by default, Symfony does not add some validation on the server side for empty fields, you need to add it by your own. Cheers!
Thanks for the answer, is there anywhere where Zenstruck Redirect Bundle is better explained? I can't seem to understand how a redirect should look like in the DB and also I have an error showing each time I am trying to create a form…
I am sorry I must be blind but I do not see resources anywhere. Not in the dropdown "download". The "script" item links to the pdf of the course. No resources anywhere on the page. Thank you.
I need a Criteria by User object: public static function createByUserCriteria (): Criteria { return Criteria :: create () -> andWhere (Criteria :: expr () -> eq ('user', $user)) ; } How can I get the current user in EntityRepository?
minor issue here: I don't have any DATABASE_URL environment variable explicitly defined in .env or anywhere else. I've been letting the symfony binary figure it out from docker-compose.yml and set it for me, as we learned a few chapters ago…
davidmintz
davidmintz
Read Full Comment
…no other setter of the object can be used. I didn't understand the message Configure your metadata factory instead. fully. How and where could I do this? We also can not used annotations for the constraints, because we only know after instantiating the object…
M_Holstein
M_Holstein
Read Full Comment
how to use the files above? what should I copy and where I should paste? and how to run it in the terminal?
Hawraa A.
Hawraa A.
Read Full Comment
… 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…
Diaconescu
Diaconescu
Read Full Comment
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…
juantreses
juantreses
Read Full Comment
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…
Johannes J.
Johannes J.
Read Full Comment
…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…