Open markjcorrigan opened 9 months ago
Regarding above I have added the error log if that can help you to pin down the issue. I am really excited to get a slim 4 solution that includes Sentinel I am frustrated that I cannot get your solution to work. Would it not be possible to put into place a basic twig template based framework with login page, dashboard, signup etc. without all the nonsense that goes with node. It just seems to me that I always have problems with node and it never gets better. I know that I did a course with CodeCourse.com on slim auth and it had such a frontend simply put together. It also seems to be much in line with the work you have done but it is dates and keeps running into dependency issues. 2024-02-09T08_09_14_735Z-debug-0.log
Well, this code hasn't been updated in a couple of years. Without going through it all and making updates and changes, I doubt it will work as it's now.
I had planned to rewrite it, replacing several things, but I've never had the ti.e.
Hi there.
Thanks for getting back to me.
I am not sure if you have looked at the 3 books from Daniel Opitz on Slim 4. See attached. The only thing I see that is missing there is adding in Sentinel func. Everything else seems to be working great.
It would be awesome if you could consider his baseline (Slim 4 skeleton) and then incorporate Sentinel. Even though I quickly managed to use Daniel's code to get basic stuff done, including basic authentication, pulling in Sentinel would be a massive challenge for me. Possibly you can leverage off his base and build it?
I banged my head for about 8 hours trying to get the views to work but I did not have any luck as I kept getting the error I showed you. I have managed to get your application to return slim views I incorporated from "codecourse.com", Alex's setup for his authentication application course. But, for some reason I cannot get access to my database and I keep getting validation errors. I will give it a break now as I am bushed and continue on Monday. See attached.
Kind regards.
Mark Corrigan Cell: 082 803 2304 [ https://www.pmway.co.za/cv/index.html | Portfolio ]
From: "darkalchemy" @.> To: "darkalchemy/Slim-Auth" @.> Cc: "Mark Corrigan" @.>, "Author" @.> Sent: Friday, February 9, 2024 1:14:11 PM Subject: Re: [darkalchemy/Slim-Auth] Twig \ Error \ LoaderError Webpack css entry default not exists. (Issue #30)
Well, this code hasn't been updated in a couple of years. Without going through it all and making updates and changes, I doubt it will work as it's now.
I had planned to rewrite it, replacing several things, but I've never had the ti.e.
— Reply to this email directly, [ https://github.com/darkalchemy/Slim-Auth/issues/30#issuecomment-1935735285 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AIUNXQWQGMSQPACZZGQMSWDYSYAIHAVCNFSM6AAAAABDBA6E2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZVG4ZTKMRYGU | unsubscribe ] . You are receiving this because you authored the thread. Message ID: <darkalchemy/Slim-Auth/issues/30/1935735285 @ github . com>
TBH, if I was to update this, I would replace Sentinel with PhpAuth. But, I don't see having the time to work on this anytime soon.
My apologies for your wasted time.
May I ask you a question. Is there a way to "bypass" the composer.json settings and config. All I want to do is understand Slim 4 and how it works with Sentinel. I.e. I would be happy with the most basic CSS and limited javascript. I am just trying to get at the knowledge of how containers work and how to correctly set up Sentinel in Slim 4 so it works with PHP 8+. Possibly this is too big a goal for someone who is still trying to learn his way. I do now see that trying to use the other twig views I talk about below will not work as much of the logic is built into your views. I am sure there is a lot else I am missing. Sadly there are no good courses I can follow showing how to do all of this and the course codecourse.com offer keeps giving me dependency problems, as do other repos I try. Frustrating.
Regards.
Mark Corrigan Cell: 082 803 2304 [ https://www.pmway.co.za/cv/index.html | Portfolio ]
From: "Mark Corrigan" @.> To: "darkalchemy" @.> Cc: "darkalchemy" @.>, "Author" @.> Sent: Friday, February 9, 2024 2:45:24 PM Subject: Re: [darkalchemy/Slim-Auth] Twig \ Error \ LoaderError Webpack css entry default not exists. (Issue #30)
Hi there.
Thanks for getting back to me.
I am not sure if you have looked at the 3 books from Daniel Opitz on Slim 4. See attached. The only thing I see that is missing there is adding in Sentinel func. Everything else seems to be working great.
It would be awesome if you could consider his baseline (Slim 4 skeleton) and then incorporate Sentinel. Even though I quickly managed to use Daniel's code to get basic stuff done, including basic authentication, pulling in Sentinel would be a massive challenge for me. Possibly you can leverage off his base and build it?
I banged my head for about 8 hours trying to get the views to work but I did not have any luck as I kept getting the error I showed you. I have managed to get your application to return slim views I incorporated from "codecourse.com", Alex's setup for his authentication application course. But, for some reason I cannot get access to my database and I keep getting validation errors. I will give it a break now as I am bushed and continue on Monday. See attached.
Kind regards.
Mark Corrigan Cell: 082 803 2304 [ https://www.pmway.co.za/cv/index.html | Portfolio ]
From: "darkalchemy" @.> To: "darkalchemy/Slim-Auth" @.> Cc: "Mark Corrigan" @.>, "Author" @.> Sent: Friday, February 9, 2024 1:14:11 PM Subject: Re: [darkalchemy/Slim-Auth] Twig \ Error \ LoaderError Webpack css entry default not exists. (Issue #30)
Well, this code hasn't been updated in a couple of years. Without going through it all and making updates and changes, I doubt it will work as it's now.
I had planned to rewrite it, replacing several things, but I've never had the ti.e.
— Reply to this email directly, [ https://github.com/darkalchemy/Slim-Auth/issues/30#issuecomment-1935735285 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AIUNXQWQGMSQPACZZGQMSWDYSYAIHAVCNFSM6AAAAABDBA6E2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZVG4ZTKMRYGU | unsubscribe ] . You are receiving this because you authored the thread. Message ID: <darkalchemy/Slim-Auth/issues/30/1935735285 @ github . com>
Hi there. No problem. I learned a lot. If you recommend PHPAuth I will definitely look into this.
Mark Corrigan Cell: 082 803 2304 [ https://www.pmway.co.za/cv/index.html | Portfolio ]
From: "darkalchemy" @.> To: "darkalchemy" @.> Cc: "Mark Corrigan" @.>, "Author" @.> Sent: Friday, February 9, 2024 3:14:32 PM Subject: Re: [darkalchemy/Slim-Auth] Twig \ Error \ LoaderError Webpack css entry default not exists. (Issue #30)
TBH, if I was to update this, I would replace Sentinel with PhpAuth. But, I don't see having the time to work on this anytime soon.
My apologies for your wasted time.
— Reply to this email directly, [ https://github.com/darkalchemy/Slim-Auth/issues/30#issuecomment-1935908631 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AIUNXQXRRXEXQKRWQEK2MHDYSYOLRAVCNFSM6AAAAABDBA6E2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZVHEYDQNRTGE | unsubscribe ] . You are receiving this because you authored the thread. Message ID: <darkalchemy/Slim-Auth/issues/30/1935908631 @ github . com>
I would offer that Daniel has a better grasp of this than I do. Much better. There are so many issues with this code, it would be simpler to start from scratch.
I learned a lot while writing this and was in the process of fixing some of the issues that I saw. But, rl pulled me away and i simply lost interest.
Thank you.I really appreciate your feedback.Kind regards.Mark.Sent from my Galaxy -------- Original message --------From: darkalchemy @.> Date: 2024/02/09 15:30 (GMT+02:00) To: darkalchemy/Slim-Auth @.> Cc: Mark Corrigan @.>, Author @.> Subject: Re: [darkalchemy/Slim-Auth] Twig \ Error \ LoaderError Webpack css entry default not exists. (Issue #30) I would offer that Daniel has a better grasp off this than I do. Much better. There are so many issues with this code, it would be simpler to start from scratch. I learned a lot while writing this and was in the process of fixing some of the issues that I saw. But, rl pulled me away and i simply lost interest.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Hi I have spent hours trying to get your framework to work. This is the error: Twig \ Error \ LoaderError Webpack css entry default not exists.
and this is the page / problem I see in Whoops! Please can you assist me.
C:\xampp\htdocs\slimdark\resources\views\layouts\app.twig <!DOCTYPE html>
Arguments "Webpack css entry default not exists."
BELOW IS THE TAIL END OF THE INSTALL COMMAND FROM YOUR INSTRUCTIONS: I.E. composer create-project darkalchemy/slim-auth
composer suggest
to see details. Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead. Generating autoload files 56 packages you are using are looking for funding. Use thecomposer fund
command to find out more!npm ERR! A complete log of this run can be found in: C:\Users\Markus\AppData\Local\npm-cache_logs\2024-02-09T08_00_13_275Z-debug-0.log Script npm install handling the post-create-project-cmd event returned with error code 1