Are you sending data from a form through post without sending csrf token alongside?

|
Ale1908Bari 2021-05-12 12:05:51
I want to search name and surname separated with a space
2021-05-12 13:00:54
Virat 2021-05-12 08:47:21
How to downgrade laravel 8.40.0 to 5.8
Coz php artisan make:auth
Command not defined
Please help I’m new to Learn php laravel

To bhai uske kyu down grade Krna hai 5.8 laravel he install kr le

Myke 2021-05-12 14:02:10
Hello guys am working with node and mongodb using mongoose driver.While updating fields using the .find() method ,when I turn a boolean field to true it refuses to go back to false until I embed the false value inside strings.What would be the issue here.Was working fine before
Virat 2021-05-12 14:45:38
2021-05-12 08:50:39
https://www.google.com/amp/s/laravelarticle.com/amp/laravel-8-authentication-tutorial

Tq sir

agzpresh 2021-05-12 15:00:05
Myke 2021-05-12 14:02:10
Hello guys am working with node and mongodb using mongoose driver.While updating fields using the .find() method ,when I turn a boolean field to true it refuses to go back to false until I embed the false value inside strings.What would be the issue here.Was working fine before

Use JSON.parse()

flyingdragons 2021-05-12 15:02:07
Hi is there a way to do Route Model binding for Resource Routes in Laravel 8.x

Normal Route -> Route::get(‘/{channel:slug}’, [ChannelController::class, ‘index’])->name(‘index’);

Where do I pass {channel:slug} the slug column filter in the following

Resource Route -> Route::resource(‘channels’, ChannelController::class)->only([‘index’]);

NOTE: I know one way ie in Model to add getRouteKeyName()

DesolatorMagno 2021-05-12 15:09:14
flyingdragons 2021-05-12 15:02:07
Hi is there a way to do Route Model binding for Resource Routes in Laravel 8.x

Normal Route -> Route::get(‘/{channel:slug}’, [ChannelController::class, ‘index’])->name(‘index’);

Where do I pass {channel:slug} the slug column filter in the following

Resource Route -> Route::resource(‘channels’, ChannelController::class)->only([‘index’]);

NOTE: I know one way ie in Model to add getRouteKeyName()

Did you check the documentation? Resource have many options to change default values.

flyingdragons 2021-05-12 15:10:17
Dont have idea of what option should be passed😅 Now digging in the Laravel code for the Options.
flyingdragons 2021-05-12 15:11:27
I know this is the class which has the defination PendingResourceRegistration. But not sure which option should be passed
shinejemi 2021-05-12 15:19:39
Is there any Django developer , I need a quick help?
etekumoses 2021-05-12 15:20:19
laravel_discuss-80606.jpg

DesolatorMagno 2021-05-12 15:20:35
https://laravel.com/docs/8.x/controllers#restful-scoping-resource-routes
etekumoses 2021-05-12 15:20:47
I have this project works on localhost but has failed to load on cpanel
DesolatorMagno 2021-05-12 15:20:59
flyingdragons 2021-05-12 15:10:17
Dont have idea of what option should be passed😅 Now digging in the Laravel code for the Options.

Always search first in the documentation.

etekumoses 2021-05-12 15:21:12
laravel_discuss-80610.jpg

etekumoses 2021-05-12 15:21:23
This is on local host
etekumoses 2021-05-12 15:22:20
Someone tell me what is wrong I changed even the index.php directories but I still get the same error (418) page expired
Mr_full_metal 2021-05-12 15:22:23
Can I have construct in model ??every this I call return null
DesolatorMagno 2021-05-12 15:23:17
Yes you can.
etekumoses 2021-05-12 15:27:35
Renny
etekumoses 2021-05-12 15:27:46
Answer me too 😁
etekumoses 2021-05-12 15:28:07
What causes error 418 page expired
flyingdragons 2021-05-12 15:28:41
DesolatorMagno 2021-05-12 15:20:59
Always search first in the documentation.

Noted thank you.

flyingdragons 2021-05-12 15:28:58
DesolatorMagno 2021-05-12 15:20:35
https://laravel.com/docs/8.x/controllers#restful-scoping-resource-routes

Anyways this is not getting my issue resolved.

flyingdragons 2021-05-12 15:29:40
DesolatorMagno 2021-05-12 15:20:59
Always search first in the documentation.

Thank you very much for the docs though. It will surely help me a lot

Ale1908Bari 2021-05-12 15:31:18
laravel_discuss-80622.jpg

DesolatorMagno 2021-05-12 15:31:30
Well I thought you wanted to specify the column used for model binding.
Ale1908Bari 2021-05-12 15:31:34
Why give 0 resulta this ?
Ale1908Bari 2021-05-12 15:31:57
The last orwhere not work fine help me
DesolatorMagno 2021-05-12 15:32:29
DesolatorMagno 2021-05-12 15:31:30
Well I thought you wanted to specify the column used for model binding.

But in that page of the documentation you can find more options.

Lalit Rana 2021-05-12 15:35:44
ctrl+z this Role controller
Lalit Rana 2021-05-12 15:37:15
tbanku
simon_an 2021-05-12 15:37:40
etekumoses 2021-05-12 15:28:07
What causes error 418 page expired

Are you sending data from a form through post without sending csrf token alongside?

etekumoses 2021-05-12 15:53:04
Am sending data
etekumoses 2021-05-12 15:53:51
I even added csrf
|