Do you have Auth MVC installed in your project?

|
fehmeed_hakim 2022-05-22 00:00:49
Denno_IT 2022-05-21 23:14:39
Hello. Anyone who know how to upload laravel application into the cpanel. Please help me am stuck

can you share your situation?

zey34354 2022-05-22 01:18:44
laravel_discuss-121709.jpg
can anyone tell me what is the problem
Denno_IT 2022-05-22 01:19:18
fehmeed_hakim 2022-05-22 00:00:49
can you share your situation?

I am just unable to upload the content and make it run in the server the same way we do to local server.

faissaloux 2022-05-22 01:21:17
zey34354 2022-05-22 01:18:44
can anyone tell me what is the problem

You need to import it or use auth() instead

faissaloux 2022-05-22 01:21:46
use IlluminateSupportFacadesAuth;
Denno_IT 2022-05-22 01:22:19
zey34354 2022-05-22 01:18:44
can anyone tell me what is the problem

Do you have Auth MVC installed in your project?.. You need to Install the Laravel UI package
Generate auth scaffolding
Install NPM dependencies
Test the authentication system
Restrict the required routes
Change the necessary configuration
Check which one you haven’t done maybe and do it it will run

KhaledAmir13 2022-05-22 01:36:47
Hello everyone,
My project is upload to cpanel, I have a problem with my URL.
I wanna changed my url :
myserver/country/4/uae
To:
myserver/uae
How does it by htaccesse

my route in web.php is:
country/{country_id}/{href}

I need to help please…

Amir_dirar23 2022-05-22 01:59:57
laravel_discuss-121715.jpg

Amir_dirar23 2022-05-22 02:00:13
Guys when i create user
Amir_dirar23 2022-05-22 02:00:53
The last user i added it will crushed
Amir_dirar23 2022-05-22 02:01:11
laravel_discuss-121718.jpg

Amir_dirar23 2022-05-22 02:01:28
laravel_discuss-121719.jpg

Bright 2022-05-22 02:04:34
Amir_dirar23 2022-05-22 01:59:57

I love the template

Bright 2022-05-22 02:04:46
Amir_dirar23 2022-05-22 02:00:53
The last user i added it will crushed

How

Amir_dirar23 2022-05-22 02:09:23
Bright 2022-05-22 02:04:46
How

When a user is added, it is added to a database and the old one is deleted

Amir_dirar23 2022-05-22 02:10:55
laravel_discuss-121724.jpg

Amir_dirar23 2022-05-22 02:11:12
I add the user didi
Amir_dirar23 2022-05-22 02:11:32
laravel_discuss-121726.jpg

Amir_dirar23 2022-05-22 02:11:51
When i add the user rayan the user didi deleted from DB
faissaloux 2022-05-22 02:25:59
Amir_dirar23 2022-05-22 02:11:51
When i add the user rayan the user didi deleted from DB

Can you show us your code

Amir_dirar23 2022-05-22 02:28:59
faissaloux 2022-05-22 02:25:59
Can you show us your code

laravel_discuss-121733.jpg

Amir_dirar23 2022-05-22 02:28:59
faissaloux 2022-05-22 02:25:59
Can you show us your code

laravel_discuss-121732.jpg

Amir_dirar23 2022-05-22 02:28:59
faissaloux 2022-05-22 02:25:59
Can you show us your code

laravel_discuss-121731.jpg

Amir_dirar23 2022-05-22 02:28:59
faissaloux 2022-05-22 02:25:59
Can you show us your code

laravel_discuss-121730.jpg

Amir_dirar23 2022-05-22 02:28:59
faissaloux 2022-05-22 02:25:59
Can you show us your code

laravel_discuss-121729.jpg

faissaloux 2022-05-22 02:35:24
Amir_dirar23 2022-05-22 02:11:51
When i add the user rayan the user didi deleted from DB

actually you update the same user you didn’t deleted it

Amir_dirar23 2022-05-22 02:36:10
faissaloux 2022-05-22 02:35:24
actually you update the same user you didn’t deleted it

So what i should be do to add all user to Db ?

faissaloux 2022-05-22 02:37:43
Amir_dirar23 2022-05-22 02:36:10
So what i should be do to add all user to Db ?

User::create($data)
OR
$user = new User();
$user->username = $request->username;
$user->gender = $request->gender;
$user->save();

Amir_dirar23 2022-05-22 02:52:30
i tried and not work
faissaloux 2022-05-22 02:53:59
Please show me the form and the route and the function in controller one by one
Amir_dirar23 2022-05-22 03:00:08
laravel_discuss-121742.jpg

Amir_dirar23 2022-05-22 03:00:08
laravel_discuss-121741.jpg

Amir_dirar23 2022-05-22 03:00:08
laravel_discuss-121740.jpg

Amir_dirar23 2022-05-22 03:00:08
laravel_discuss-121739.jpg

faissaloux 2022-05-22 03:30:19
This is for update!!
|