← prev | next →
2019-11-09 08:41:16
public function update(Request $request, motivator $motivator)
{
$motivator->update(Request([‘motivation’,’participant’]));
return redirect(‘/admin/motivators’);
}
removed $id
2019-11-09 08:42:18

dd($motivator)
2019-11-09 08:42:37

expanded
2019-11-09 08:44:13
2019-11-09 08:41:16
public function update(Request $request, motivator $motivator)
{
$motivator->update(Request([‘motivation’,’participant’]));
return redirect(‘/admin/motivators’);
}
removed $id
this update controller method working on other part of my application – but in this part of app it’s stop working …
itsvahid_ab 2019-11-09 08:50:26
2019-11-09 08:44:13
this update controller method working on other part of my application – but in this part of app it’s stop working …
try changing
Route::patch(‘/admin/motivators/{motivation}’,
to
Route::patch(‘/admin/motivators/{motivator}’,
because in laravel’s Model binding documentation it says that the names should match
DesolatorMagno 2019-11-09 08:52:01
2019-11-09 08:42:18
dd($motivator)
You should rather return motivator, that way it show simple info, did you also check the request object?
2019-11-09 08:52:59
itsvahid_ab 2019-11-09 08:50:26
try changing
Route::patch(‘/admin/motivators/{motivation}’,
to
Route::patch(‘/admin/motivators/{motivator}’,
because in laravel’s Model binding documentation it says that the names should match
Thats perfect. Its start workign. I thought its doesnt matter name in routes. Now I will control it.
THANK YOU SO MUCH )
itsvahid_ab 2019-11-09 08:53:29
2019-11-09 08:52:59
Thats perfect. Its start workign. I thought its doesnt matter name in routes. Now I will control it.
THANK YOU SO MUCH )
glad it’s working 👍👍
DesolatorMagno 2019-11-09 08:53:59
2019-11-09 08:52:59
Thats perfect. Its start workign. I thought its doesnt matter name in routes. Now I will control it.
THANK YOU SO MUCH )
Yeah, and in version 6.xx is more strict.
Ljagkf 2019-11-09 09:59:02
Hi,
Having issue in adding make auth in Lumen 6 Laravel. Please support
Ljagkf 2019-11-09 10:00:21
Ljagkf 2019-11-09 09:59:02
Hi,
Having issue in adding make auth in Lumen 6 Laravel. Please support
Any documents will be helpful
oruj91 2019-11-09 10:12:59

hi)
which version install?)
itsvahid_ab 2019-11-09 10:22:00
oruj91 2019-11-09 10:12:59
hi)
which version install?)
latest LTS version is 6
itsvahid_ab 2019-11-09 10:22:35
looks like composer does not include 6.5(new realease).. so you can go with 6.4.0
oruj91 2019-11-09 10:24:59
ok so latest stable isnt 6.0. thanks
2019-11-09 10:31:19

This is a blade view. I need this number(it is a user ID) here to be automatically retrieved from a controller. If I put it manually it works fine
2019-11-09 10:32:23
Those are the screenshot of my view, controller and the output when put manually
zorca 2019-11-09 10:34:57
oruj91 2019-11-09 10:12:59
hi)
which version install?)
Work from the console. Why do you need these wrappers?
oruj91 2019-11-09 10:35:41
zorca 2019-11-09 10:34:57
Work from the console. Why do you need these wrappers?
yes you are right. but also somethimes I would like to use jetbrains helpers
zorca 2019-11-09 10:36:44
oruj91 2019-11-09 10:35:41
yes you are right. but also somethimes I would like to use jetbrains helpers
But you are right, latest version on packagist: 6.4
zorca 2019-11-09 10:36:55
https://packagist.org/packages/laravel/laravel
laravel/laravel – Packagist –
packagist.orgThe Laravel Framework.
oruj91 2019-11-09 10:37:20
zorca 2019-11-09 10:36:55
https://packagist.org/packages/laravel/laravel
jetbrainst sometimes is smart))
oruj91 2019-11-09 10:37:36
я кстати русский понимаю))
zorca 2019-11-09 10:38:10
All php artisans uses PHPStorm )
oruj91 2019-11-09 10:38:22

3 minutes have passed of install
zorca 2019-11-09 10:38:34
oruj91 2019-11-09 10:37:36
я кстати русский понимаю))
На Апворке к сожалению его не понимают )
zorca 2019-11-09 10:39:47
Also I reccomend laravel-boilerplate
bee_amour 2019-11-09 10:59:23
https://play.google.com/store/apps/details?id=com.prosolstech.carservice
GoGaadi – Anything and Everything About Your Gaadi – Apps on Google Play –
Google PlayGoGaadi – A One stop solution for all your vehicle servicing
Nomiilk 2019-11-09 17:18:39
Put the database name
2019-11-09 17:21:47
If you are laravel developer please fill this short survey (only one question), please help me to reach ata least 100 I realy need that’s 😞thanks in advance
https://docs.google.com/forms/d/e/1FAIpQLSfgTwAKDqj8zMookVJJpU4U2QIjStj3_jV-B7wtS0MzV1kVFA/viewform?vc=0&c=0&w=1
Sid 2019-11-09 19:12:21
Hey,bro I am Siddharth Having 6.5+ years experience as a full-stack developer and I have created youtube channel you can learn from my channel a lot of technical skills like python, PHP, node js, angular, react, AWS, google cloud computing and live project. Please subscribe my youtube channel and give me feedback so I can understand developers requirement thanks for the support.
https://www.youtube.com/user/siddharthshukla089
Mahdi_khani 2019-11-09 21:44:53
How to upload laravel application on shared host?
Need new key?
mmosttaffaa 2019-11-09 21:55:55
Mahdi_khani 2019-11-09 21:44:53
How to upload laravel application on shared host?
Need new key?
there is a awesome tutorial on youtube by traversymedia. just search the term and it will jump up
2019-11-09 22:06:32
How to get laravel folder size on hosting? Once a day want to get folder size and store it in DB. Thanks.
Mahdi_khani 2019-11-09 22:10:53
mmosttaffaa 2019-11-09 21:55:55
there is a awesome tutorial on youtube by traversymedia. just search the term and it will jump up
Havent time
Mahdi_khani 2019-11-09 22:11:43
mmosttaffaa 2019-11-09 21:55:55
there is a awesome tutorial on youtube by traversymedia. just search the term and it will jump up
Uploaded fine , now my routes not found and 404
But routes are exist
Any idea
2019-11-09 22:31:26
Mahdi_khani 2019-11-09 22:11:43
Uploaded fine , now my routes not found and 404
But routes are exist
Any idea
Need more details. Look at laravel log files in storage/laravel/*.log file. It will help you to understand where is the problem.
Mahdi_khani 2019-11-09 22:32:46
Missing htaccess
2019-11-09 22:32:47
On hosting usually helping use .htaccess file which redirect all your request in correct path.
Mahdi_khani 2019-11-09 22:32:50
Tanks
Ronnexronnie 2019-11-10 02:28:59
From my PC to server
Ronnexronnie 2019-11-10 02:28:59
I need help with importing my project
daemon_coder 2019-11-10 02:31:35
u mean u want to deploy to server?
o_sayfullayev 2019-11-10 05:06:44
OWW You are wellcome, our worst members
o_sayfullayev 2019-11-10 05:07:11
you are again sharing this shid
Elahe 2019-11-10 09:19:01
Hi, when I write this command : Artisan::call(‘make:model Post’);
i get this error : Unable to detect application namespace.
any one can help me?
Elahe 2019-11-10 09:20:20
of artisan ?
Elahe 2019-11-10 09:21:12
Yes
other commands run
But make model doesn’t run
← prev | next →