Chapters
27 Chapters
|
3:13:54
|
Login to bookmark this video
-
Course Code
Login or register to download the code!
Login or register to download the code!
-
This Video
Login or register to download the video!
Login or register to download the video!
-
Subtitles
Login or register to download the subtitles!
Login or register to download the subtitles!
-
Course Script
Login or register to download the script!
Login or register to download the script!
Scroll down to the script below, click on any sentence (including terminal blocks) to jump to that spot in the video!
Subscribe to jump to this part in the video!
What PHP libraries does this tutorial use?
// composer.json
{
"require": {
"php": ">=8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"babdev/pagerfanta-bundle": "^3.7", // v3.7.0
"doctrine/doctrine-bundle": "^2.7", // 2.7.0
"doctrine/doctrine-migrations-bundle": "^3.2", // 3.2.2
"doctrine/orm": "^2.13", // 2.13.3
"easycorp/easyadmin-bundle": "^4.4", // v4.4.1
"netgen/layouts-contentful": "^1.3", // 1.3.2
"netgen/layouts-standard": "^1.3", // 1.3.1
"pagerfanta/doctrine-orm-adapter": "^3.6",
"sensio/framework-extra-bundle": "^6.2", // v6.2.8
"stof/doctrine-extensions-bundle": "^1.7", // v1.7.0
"symfony/console": "5.4.*", // v5.4.14
"symfony/dotenv": "5.4.*", // v5.4.5
"symfony/flex": "^1.17|^2", // v2.2.3
"symfony/framework-bundle": "5.4.*", // v5.4.14
"symfony/monolog-bundle": "^3.0", // v3.8.0
"symfony/proxy-manager-bridge": "5.4.*", // v5.4.6
"symfony/runtime": "5.4.*", // v5.4.11
"symfony/security-bundle": "5.4.*", // v5.4.11
"symfony/twig-bundle": "5.4.*", // v5.4.8
"symfony/ux-live-component": "^2.x-dev", // 2.x-dev
"symfony/ux-twig-component": "^2.x-dev", // 2.x-dev
"symfony/validator": "5.4.*", // v5.4.14
"symfony/webpack-encore-bundle": "^1.15", // v1.16.0
"symfony/yaml": "5.4.*", // v5.4.14
"twig/extra-bundle": "^2.12|^3.0", // v3.4.0
"twig/twig": "^2.12|^3.0" // v3.4.3
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.4", // 3.4.2
"symfony/debug-bundle": "5.4.*", // v5.4.11
"symfony/maker-bundle": "^1.47", // v1.47.0
"symfony/stopwatch": "5.4.*", // v5.4.13
"symfony/web-profiler-bundle": "5.4.*", // v5.4.14
"zenstruck/foundry": "^1.22" // v1.22.1
}
}
4 Comments
For some reason, I keep getting this message.
Looks like some of the tables are not created with
bin/console make:migrationHey Julien!
Sorry for the very slow reply - this one somehow slipped past me in the lead up to the holidays.
Ok, let's see. That
nglayouts_rule_grouptable comes from Layouts' own migrations system - which comes ALL the way form this code block: https://symfonycasts.com/screencast/netgen-layouts/install#running-the-migrationsBut, I think I see the problem. This is NOT something we have mentioned in the
README.mdfile. I mean, if you are using thestart/directory, then it shouldn't be there, as these migrations aren't there in the start (but you would quickly see and run them while following the tutorial). But this command SHOULD be there in thefinish/directory, and I see that it's missing. I'm going to add that right now. Let me know if that's what tripped you up and if running this command fixes things :).Cheers!
Hey Ryan,
I have run the command from your code block, and it did solve the problem. I think I might have dropped the database at some point and got very confused as to why the migrations weren't rebuilding the database correctly. I think it's unfortunate that regular migration doesn't do that job automatically.
Any way,
Thanks for your reply.
Best,
Julien
Sweet! Thanks for letting me know! It's also unfortunate that there are these "extra" migrations to worry about from Layouts, but I get why it's done that way :).
Cheers!
"Houston: no signs of life"
Start the conversation!