If anyone get this error : Vite manifest not found at Error In Laravel Then the solution is You need to leave ' npm run dev ' running while developing . Or you can Run " npm run build " If you are having problem with redirecting to Dashboard then check this video for solution : ua-cam.com/video/zodX7tBMeYk/v-deo.html
Please make sure that you use best practices in this series. 1- add , delet, update products in cart using sessions. 2- When we add product in cart, and we again add to cart that similar product then quantity of that product in cart should increase, not a row of similar product should be increased in cart. 3. Orders cancellation and reports monthly reports should me generated. Thanks.
I am so excited for this tutorial. Your tutorials have helped me turning from WordPress templates to using laravel. You have contributed a lot on my web development career. When is the next session getting uploaded please?
you can simplify your code more than that for example: the if statement not clear you can make it like this return $user_type == 1 ? view('admin.home') : view('dashboard'); it will work
If you noticed, there was a file in app/providers where he changed their route URL from dashboard to redirect. i doubt you did that because with the current directory organisation, there are only three files inside the providers directory unlike his own which has 5, meaning that we don't have the file where he changed dashboard url to redirect url (except if you do then the problem would be from my PC but I doubt that because if u have the complete files like he does then u wouldn't be having any issues). My guess is you skipped the changing dashboard url to redirect and went ahead to write your dashboard route in web.php (which is exactly what i did). Don't know which url u used for your custom dashboard route but if you used dashboard url, then in your web.php, there will be two dashboard URLs meaning one is overriding the other. To overcome that, i commented out their dashboard route so that only my custom route would work.
Before replying you, i came to the comment sections to look for solutions because i was facing a problem with the method i mentioned earlier.. You see, i told you i commented out their custom dashboard route and created mine with the url and function 'dashboard' instead of the 'redirect' that he used in the video (since i don't have the file where he changed dashboard to redirect). What that simply meant was, he removed the dashboard route from where they used it to redirect user after logging in and put his own redirect route instead. meaning that their dashboard route is now useless and isn't doing anything in the code anymore but for us who can't do that because we don't have that file, we simply change the dashboard route by commenting their own and using our own but naming it dashboard instead of redirect. it's still the same thing the only difference is the name of the url and function (dashboard vs redirect) but it works regardless. The problem i was facing was that when i logged in as user, it took me to the dashboard and when i logged in as admin with the admin.home being a standalone HTML document, it took me to my admin page but when i copied the contents of the dashboard and pasted it in my admin. home in order to get the logout feature, it threw an error because it couldn't find the named route 'dashboard'. I finally came to comment section after spending 2hrs ransacking every single folder in the project looking for an alternative to that file he has and we don't have so that i can change their dashboard controller logic (wherever it as since jetstream don't use controllers) to ours instead (now i realize how dumb that was). Then as i was explaining earlier, it hit me. We just commented their route and made the system follow ours instead. All i had to do was give our route the name that the system was looking for. Route::get('/dashboard',[HomeController::class,'dashboard'])->name('dashboard'); And it works!!! .....for now at least I haven't finished the video though but i hope this doesn't have a ripple effect somewhere else I hope u understood my elaborate typing😥
i don't know which version of laravel you are using. My version didn't have the RouteServiceProvider but I found a way around it. Check my reply on @MandhojThing comment. Hope it's clear enough for you to understand.
because you are not using the same version of laravel as he did. i found a way around it. look for my reply on @MandhojThing comment. It was quite elaborate but I hope u understand. I'll sent my github link for the finished project when I finish the video
Getting this issue : Could not find package laravel/laravel with version 9.0.* in a version installable using your PHP version, PHP exte nsions and Composer version.
Hello @WebTechKnowledge. First of all, thanks for this tutorial. I am having problems with migration. I have followed it to the letter, but when I try php artisan migrate, I get this: INFO Nothing to migrate. I have tried searching the web for solutions but can't get any. Any help would be appreciated. Thanks
i found a way around it. look for my reply on @MandhojThing comment. It was quite elaborate but I hope u understand. I'll sent my github link for the finished project when I finish the video
@@WebTechKnowledge Hi, neither my npm run dev or npm run build are working. its giving a PostCSS configuration error. "Failed to load PostCSS config;......."
It is because you are not using the same version of laravel as he did. i found a way around it. look for my reply on @MandhojThing comment. It was quite elaborate but I hope u understand. I'll sent my github link for the finished project when I finish the video
sir i face that error i try my best but still i did't understand "Vite manifest not found at: C:\xampp\htdocs\internship\laravel\EcommercePro\public\build/manifest.json" can u please to solve my error ? thank u so much
because you are not using the same version of laravel as he did. i found a way around it. look for my reply on @MandhojThing comment. It was quite elaborate but I hope u understand. I'll sent my github link for the finished project when I finish the video
jus replace some codes in Welcome.blade.php and guest.blade.php and test.blade.php with this codes, ...styles..... @livewireStyles ..........scripts.............. its works like a charm
aisa isalie hai kyonki aap laaravel ke usee sanskaran ka upayog nahin kar rahe hain jaisa usane kiya tha. mujhe isake chaaron or ek raasta mil gaya. @mandhojthing tippanee par mera uttar dekhen. yah kaaphee vistrt tha lekin mujhe aasha hai ki aap samajh gae honge. jab main veediyo samaapt kar loonga to main taiyaar projekt ke lie apana jeethab link bhejoonga
If anyone get this error : Vite manifest not found at Error In Laravel
Then the solution is You need to leave ' npm run dev ' running while developing . Or you can Run " npm run build "
If you are having problem with redirecting to Dashboard then check this video for solution : ua-cam.com/video/zodX7tBMeYk/v-deo.html
want your template
what i can do for to get it ?
I am getting vite manifest not found error while clicking login button.
replace npm run dev with npm run build
I am getting this error vite manifest and something related to js and css path I tried 'npm run dev ' but its not working
@@chanduraj136 try npm run build
Please make sure that you use best practices in this series.
1- add , delet, update products in cart using sessions.
2- When we add product in cart, and we again add to cart that similar product then quantity of that product in cart should increase, not a row of similar product should be increased in cart.
3. Orders cancellation and reports monthly reports should me generated. Thanks.
I am so excited for this tutorial. Your tutorials have helped me turning from WordPress templates to using laravel. You have contributed a lot on my web development career. When is the next session getting uploaded please?
I will start uploading from tommorow
You are the grate Teacher ever.💌
you can simplify your code more than that for example: the if statement not clear you can make it like this
return $user_type == 1 ? view('admin.home') : view('dashboard');
it will work
Explained well. Thanks❤
can somebody please help me when i login as admin i am being redirected back to dashboard page instead of home page ?
If you noticed, there was a file in app/providers where he changed their route URL from dashboard to redirect. i doubt you did that because with the current directory organisation, there are only three files inside the providers directory unlike his own which has 5, meaning that we don't have the file where he changed dashboard url to redirect url (except if you do then the problem would be from my PC but I doubt that because if u have the complete files like he does then u wouldn't be having any issues). My guess is you skipped the changing dashboard url to redirect and went ahead to write your dashboard route in web.php (which is exactly what i did). Don't know which url u used for your custom dashboard route but if you used dashboard url, then in your web.php, there will be two dashboard URLs meaning one is overriding the other. To overcome that, i commented out their dashboard route so that only my custom route would work.
Before replying you, i came to the comment sections to look for solutions because i was facing a problem with the method i mentioned earlier..
You see, i told you i commented out their custom dashboard route and created mine with the url and function 'dashboard' instead of the 'redirect' that he used in the video (since i don't have the file where he changed dashboard to redirect). What that simply meant was, he removed the dashboard route from where they used it to redirect user after logging in and put his own redirect route instead. meaning that their dashboard route is now useless and isn't doing anything in the code anymore but for us who can't do that because we don't have that file, we simply change the dashboard route by commenting their own and using our own but naming it dashboard instead of redirect. it's still the same thing the only difference is the name of the url and function (dashboard vs redirect) but it works regardless.
The problem i was facing was that when i logged in as user, it took me to the dashboard and when i logged in as admin with the admin.home being a standalone HTML document, it took me to my admin page but when i copied the contents of the dashboard and pasted it in my admin. home in order to get the logout feature, it threw an error because it couldn't find the named route 'dashboard'. I finally came to comment section after spending 2hrs ransacking every single folder in the project looking for an alternative to that file he has and we don't have so that i can change their dashboard controller logic (wherever it as since jetstream don't use controllers) to ours instead (now i realize how dumb that was). Then as i was explaining earlier, it hit me. We just commented their route and made the system follow ours instead. All i had to do was give our route the name that the system was looking for.
Route::get('/dashboard',[HomeController::class,'dashboard'])->name('dashboard');
And it works!!!
.....for now at least
I haven't finished the video though but i hope this doesn't have a ripple effect somewhere else
I hope u understood my elaborate typing😥
@@nwokikekelechi2730 Tell me exactly how should web.php code looks like please.
Complete this video,thank you Web Tech Knowledge.
Awesome. I hope you learn a lot of new things.
Why my website always redirect to Dashboard after login, I already changed the Home variable inside the RouteServiceProvider?
the same thing
for me
did you solve it
i don't know which version of laravel you are using. My version didn't have the RouteServiceProvider but I found a way around it. Check my reply on @MandhojThing comment. Hope it's clear enough for you to understand.
@@Hodaka-o2i yes, read my previouse reply
when i run npm run dev it shows locaton error global or local
Usertype =0 also getting redirected to admin page... How to solve this???
I logged in but it still went to the dashboard page instead of the redirect page, but when I / logged in it automatically went to the redirect
because you are not using the same version of laravel as he did.
i found a way around it. look for my reply on @MandhojThing comment. It was quite elaborate but I hope u understand. I'll sent my github link for the finished project when I finish the video
dropdown button not working when i click, so it doesn't show manage account like in the minutes 10:09
you solve that error yet ?
@@duydatpham2002 nah bro, i stop learn
Getting this issue : Could not find package laravel/laravel with version 9.0.* in a version installable using your PHP version, PHP exte nsions and Composer version.
Hi, The configureRateLimiting function is throwing an error, it says it is expecting a colon :S PLEASE HELP!
hi do you have video on laravel 9 breeze as I am working with vue and tailwind together, I saw jetstream does not come with vue though
A great teacher
Hello @WebTechKnowledge. First of all, thanks for this tutorial. I am having problems with migration. I have followed it to the letter, but when I try php artisan migrate, I get this: INFO Nothing to migrate. I have tried searching the web for solutions but can't get any. Any help would be appreciated. Thanks
check your .env file and try uncommenting DB_ and probably change from sqlite to mysql..basically watch the tut carefully
U r the BEST
Laravel 11 is again different in structure do you think you can do a tutorial on it...thanks
i found a way around it. look for my reply on @MandhojThing comment. It was quite elaborate but I hope u understand. I'll sent my github link for the finished project when I finish the video
Love from the heart bro.....
The get method is not supported for this route.supported methods post.
This error is not solved
hello sir, sorry I want to ask, at minute 10.09 the nav button doesn't appear down so I can't log out, what's the solution? Thank You
Nice work
Fantastic
brother i was unable to run the command npm run dev.. Is it cause any problem in upcoming videos in this series
then run ' npm run build '
@@WebTechKnowledge ok bro
@@WebTechKnowledge Hi, neither my npm run dev or npm run build are working. its giving a PostCSS configuration error. "Failed to load PostCSS config;......."
i face problem as if jetstream style does not work in register,login and dashbord page . then logout problem
Did you find a solution to this problem?
@@hibakarzoun500 same you solve that error yet ?
@@duydatpham2002 yes i solved it , i put in app.blade.php and guest.blade.php this
video is good. but why you unnecessarily add address an phone number in signup form. you can allow user to fill-up this details after login.
why my login interface is the same of register ? help me plss
With thousands of data will the system speed remain unaffected?
when i try to login as admin, it goes to the user dashboard and it says "usertype" is unknwon word
can ayone please help
Here is the solution : ua-cam.com/video/zodX7tBMeYk/v-deo.htmlsi=FMxUoxWR9DyGPr1j
There is no logout option in dashboard.. How to fix this problem.. Please help
And thanks a lot for the tutorials
If you are having problem with redirecting to Dashboard then check this video for solution : ua-cam.com/video/zodX7tBMeYk/v-deo.html
what happens if both the npm run dev and npm run build dont work and still brings the same error
so good
My admin page is not redirecting it tooks me to the same user interface what can I do for that?
Go to config/fortify.php and there give your url
Sir change kr diya sabkuch lekin logout option nhi aa raha
It is because you are not using the same version of laravel as he did.
i found a way around it. look for my reply on @MandhojThing comment. It was quite elaborate but I hope u understand. I'll sent my github link for the finished project when I finish the video
u miss auth sir middleware condtion?
no Middleware configuration? to protect admin components?
sir i face that error i try my best but still i did't understand "Vite manifest not found at: C:\xampp\htdocs\internship\laravel\EcommercePro\public\build/manifest.json" can u please to solve my error ? thank u so much
Then run ' npm run build '
I have a problem in redirect in home var after login auth, u know why ??
because you are not using the same version of laravel as he did.
i found a way around it. look for my reply on @MandhojThing comment. It was quite elaborate but I hope u understand. I'll sent my github link for the finished project when I finish the video
Thnx 😊
when i clicked in logout i recived this message: The GET method is not supported for this route. Supported methods: POST. can you help me?
Same problem, how did you fix it
SAME ISSUE
Target class [HomeController] does not exist please help i ran into this problem
You need to add controller name at the top in the web.php
The output for phone, address is Null in the database. Can someone support how can I sort it out ?
Add phone & address in the user model.
Go to app/model/user.php
I found the problem. It is in RegisteredUserController, It should be updated with phone and address request.
public function store(Request $request): RedirectResponse
{
$request->validate([
'name' => ['required', 'string', 'max:255'],
'email' => ['required', 'string', 'email', 'max:255', 'unique:'.User::class],
'password' => ['required', 'confirmed', Rules\Password::defaults()],
]);
$user = User::create([
'name' => $request->name,
'email' => $request->email,
'password' => Hash::make($request->password),
'phone' => $request->phone,
'address' => $request->address,
]);
event(new Registered($user));
Auth::login($user);
return redirect(RouteServiceProvider::HOME);
}
}
I can't see the laravel page after doing migration😢
Sheesh the logout button should be displayed when I click on the auth->name button in the dashboard but it will not open and no error messages
while iam doing this one the style is not working
hi yamin, when i clicked login or register button the page shown so big. how to solve this?
jus replace some codes in Welcome.blade.php and guest.blade.php and test.blade.php with this codes,
...styles.....
@livewireStyles
..........scripts..............
its works like a charm
@@eliezachristopher263 why for my case...the css of the login and register has failed..?
@@eliezachristopher263
Thank you so much sir ..i had the same problem and your solution fixed it
Please Brother Include Ad Category and Coupon Code Options
Ok
View [admin.home] not found.
Is there any solution?
create the admin.home page. a normal html page
please make video with middleware this
why $table->string('phone') NOT ->integer('phone') . Isn't phone a number not a text ?
yup using integer would be better
RouteServiceProvider wala file nhi create hua.... Iska solution kya hoga?
aisa isalie hai kyonki aap laaravel ke usee sanskaran ka upayog nahin kar rahe hain jaisa usane kiya tha.
mujhe isake chaaron or ek raasta mil gaya. @mandhojthing tippanee par mera uttar dekhen. yah kaaphee vistrt tha lekin mujhe aasha hai ki aap samajh gae honge. jab main veediyo samaapt kar loonga to main taiyaar projekt ke lie apana jeethab link bhejoonga
hope i tried. i only speak English so i had a hard time detecting your language
how to get ready to use admin part for ecommerce
There is no route services provider
after register logout button not show
you solve that error yet ?
Illuminate\Database\QueryException
Why this error show ?
please solve it ?
did you give database name in the .env file ?
Probably commented database in .env. Delete the "#"
💚💚💚💚💚💚
When should we expect the next video?
I am sick right now...i will upload as soon as possible
Quick recovery and sorry for that..get well soon
Lesson3:ua-cam.com/video/2OgfE418MXU/v-deo.html
please templates front+bacek
Yes, in the next video
npm dev ERR!
What error does it show?
@@WebTechKnowledge I solved the problem sir
sorry but i dont undestand your English :/
please reply me sir please
i got error Vite manifest not found at: F:\coding\EcommercePro\public\build/manifest.json
Run npm run build
@livewire, @livewire navigation doesn't work. How to fix the problem
i cant see the curtain once i have to log out. What I've to do?
why phone and address showing null in the database? plz help