NYC2025's avatar

Error in a Basic Laravel Project

Hi there,

I am new to Laravel programming and to posting on this forum (and to using forums, in general). If there is anything I need to read to familiarize myself with how to seek help, please post it here or direct me to the right place.

I have created a simple landing page using a Laravel project. And now I am creating two simple calculation apps using Laravel that will be accessed through the landing page. Here is my structure.

[I received a message here that I can not include links on the first day I sign up. So maybe I will write about the structure in my next post.]

I am using Laravel 12 (PHP 8.2) and WAMP Server (PHP 8.5.1). And I usually code on VS Code on Windows.

When I go to mywebsite.local, I click on 'Open Datalab'. It takes me to: x

I click on 'Login to Start'. It takes me to: x

I log in with a username and password, and it takes me to: x

When I click on Approve, I receive an error 401 on x

I have spent 3 days and still cannot resolve this issue. [ChatGPT gave a run for my life, and it felt like I was running in cycles.] Nothing worked out.

How can I resolve this matter?

0 likes
4 replies
NYC2025's avatar

Thank you for your response. I keep receiving this message I can not post links on my first day of signing up. Since I am new, I need to ask you this trivial question. What code you are looking for? There are several files in the project. I am not able to post the structure--that's what I was trying to do earlier.

Shivamyadav's avatar

When you click on approve link / button. Share that particular functionality code what you have added and what you expected to be and what was the output.

Share you code within these back ticks ``` for opening and closing like an html tag and place your code in between these ticks.

Please or to participate in this conversation.