How to move from cpanel to localhost in laravel project?

|
crazycaw 2022-07-15 09:54:07
in the controller I receive & instead &
crazycaw 2022-07-15 09:54:26
so, I don’t receive the parameter situation. It s possible to avoid this behaviour?
Web Developer 2022-07-15 09:55:12
Convert to string and pass
crazycaw 2022-07-15 09:55:29
& symbol to string
Web Developer 2022-07-15 09:55:35
Whole
crazycaw 2022-07-15 09:55:52
how?¿ the “search_url” is an string
Web Developer 2022-07-15 09:57:00
Check dm
anilsaini0663 2022-07-15 10:16:46
how to move from cpanel to localhost in laravel project?
Waxikevin 2022-07-15 10:29:19
anilsaini0663 2022-07-15 10:16:46
how to move from cpanel to localhost in laravel project?

Clone project
Run composer update /install
Run npm install
Run npm run dev/watch
Create .env file and copy all .env_example
Ensure fields in the env match your local environment (database port/name/username and password )
Generate new App key

Finally if you are using wamp or xampp *run php artisan serve
If you are using Docker *run sail up

itsAxton 2022-07-15 10:39:24
laravel_discuss-129204.jpg
does any of you know how to solve this ?
Jonathan Antunes 2022-07-15 10:42:38
itsAxton 2022-07-15 10:39:24
does any of you know how to solve this ?

check the space disk of your server

itsAxton 2022-07-15 11:14:46
itsAxton 2022-07-15 10:39:24
does any of you know how to solve this ?

solved

Devvvvvvm 2022-07-15 11:23:14
https://tracker.bluechip.partners/link?btag=20520205_176135

Casino khelo aur Jeeto.
Sath hi Rs 3000 ki free bets registration karne pr

Miss Mori 2022-07-15 11:31:52
laravel_discuss-129209.jpg

Lalit Rana 2022-07-15 11:43:52
itsAxton 2022-07-15 11:14:46
solved

It’s a permission issue give permission to storage folder , after that clear cache and try

etekumoses 2022-07-15 13:18:37
segungreat 2022-07-15 01:22:41
I will suggest you use a frontend framework for that, react, vuejs, svelte or any other one you’re comfortable with

Thanks bro

digitaldi 2022-07-15 13:27:15
laravel_discuss-129214.jpg

etekumoses 2022-07-15 13:27:38
laravel_discuss-129215.jpg

etekumoses 2022-07-15 13:28:19
laravel_discuss-129217.jpg

etekumoses 2022-07-15 13:28:19
laravel_discuss-129216.jpg
What am i doing wrong
rlawjddn00 2022-07-15 13:30:46
etekumoses 2022-07-15 13:28:19

what is problem?

etekumoses 2022-07-15 13:31:51
laravel_discuss-129219.jpg
i am trying to
etekumoses 2022-07-15 13:34:22
i dont know what i may be doing wrong cause i want to use that route
Web Developer 2022-07-15 13:38:50
There is no router of that name
astronotun 2022-07-15 13:39:12
Hi, my English speaking can be as bad as a baby’s and sometimes ridiculous. I apologize in advance for this. The problem here is that you don’t name the route.
rlawjddn00 2022-07-15 13:40:21
Web Developer 2022-07-15 13:38:50
There is no router of that name

just define route name

astronotun 2022-07-15 13:40:39
etekumoses 2022-07-15 13:28:19

->name(‘register_vouter’) 😊

etekumoses 2022-07-15 13:42:21
Route::post(‘register_voter’, ‘VoterRegisterController@submit’)->middleware(‘activation’)->name(‘register_voter’);
etekumoses 2022-07-15 13:43:41
this right?
Jonathan Antunes 2022-07-15 13:44:09
etekumoses 2022-07-15 13:42:21
Route::post(‘register_voter’, ‘VoterRegisterController@submit’)->middleware(‘activation’)->name(‘register_voter’);

Do like this: ->name(‘voter.auth.register_voter’);

etekumoses 2022-07-15 13:45:43
so what happens in the view
etekumoses 2022-07-15 13:45:58
<form class=”js-validate” action=”{{route(‘voter.register_voter’)}}” method=”post”> ?
Jonathan Antunes 2022-07-15 13:47:22
etekumoses 2022-07-15 13:45:58
<form class=”js-validate” action=”{{route(‘voter.register_voter’)}}” method=”post”> ?

the view is fine

Jonathan Antunes 2022-07-15 13:47:33
don’t change
etekumoses 2022-07-15 13:50:18
Route [voter.register_voter] not defined. (View: D:\2022 Projects\votingsystem\system\resources\views\frontend\auth\register.blade.php)
error
Jonathan Antunes 2022-07-15 13:51:54
etekumoses 2022-07-15 13:50:18
Route [voter.register_voter] not defined. (View: D:\2022 Projects\votingsystem\system\resources\views\frontend\auth\register.blade.php)
error

I said do not change your view

Jonathan Antunes 2022-07-15 13:53:00
show your routes again
etekumoses 2022-07-15 13:53:14
Route [voter.auth.register_voter] not defined. (View: D:\2022 Projects\votingsystem\system\resources\views\frontend\auth\register.blade.php)
etekumoses 2022-07-15 13:53:27
i havent changed it
segungreat 2022-07-15 14:11:48
etekumoses 2022-07-15 13:42:21
Route::post(‘register_voter’, ‘VoterRegisterController@submit’)->middleware(‘activation’)->name(‘register_voter’);

Yes

etekumoses 2022-07-15 14:12:32
doesnt work
etekumoses 2022-07-15 14:13:20
what worked was view— voter.register ,route i removed the group prefix
etekumoses 2022-07-15 14:13:59
laravel_discuss-129248.jpg
this is what worked
etekumoses 2022-07-15 14:14:09
i dont know why the prefix doesnt allow me to
AtsuErnest 2022-07-15 14:18:13
laravel_discuss-129253.jpg
An example of using prefix
AtsuErnest 2022-07-15 14:18:32
I did mine in the web.php file itself
etekumoses 2022-07-15 14:54:32
its what i also had but failed
etekumoses 2022-07-15 14:55:07
Btw way i dont know why am trying to add action to my form but say Post method error
etekumoses 2022-07-15 15:00:21
laravel_discuss-129264.jpg

etekumoses 2022-07-15 15:00:21
laravel_discuss-129263.jpg

|