Sorry how can i make that exactly if they have ot not?

|
zey34354 2022-04-06 04:15:53
because I have this problem when I was applying
php artisan migrate:fresh –seed
zey34354 2022-04-06 04:16:36
laravel_discuss-114129.jpg

zey34354 2022-04-06 04:16:46
how to delete All the tables of sessions
Anand Tujare 2022-04-06 04:18:24
Check your migrations it looks like you have created the sessions table multiple times
Anand Tujare 2022-04-06 04:19:29
zey34354 2022-04-06 04:15:53
because I have this problem when I was applying
php artisan migrate:fresh –seed

If you are running this command and still it’s giving that error it means you have a create sessions table migration

Yousef Dhrooj 2022-04-06 04:20:19
Yousef Dhrooj 2022-04-05 19:46:35
Hi
I used middlware abilities in sanctum but it thrown error like this !!!? How i can control in this output

Any answer?

zey34354 2022-04-06 04:24:27
Anand Tujare 2022-04-06 04:19:29
If you are running this command and still it’s giving that error it means you have a create sessions table migration

can you tell me what do I have to make ?? becaseu I don’t remember that I made it

zey34354 2022-04-06 04:24:37
because
Anand Tujare 2022-04-06 04:26:01
zey34354 2022-04-06 04:24:27
can you tell me what do I have to make ?? becaseu I don’t remember that I made it

Check inside database folder inside migrations … Check if you have multiple create sessions table

Anand Tujare 2022-04-06 04:33:13
Yousef Dhrooj 2022-04-06 04:20:19
Any answer?

I havent worked with sanctum much but this looks like some issue with ability n token provided

zey34354 2022-04-06 04:35:54
Anand Tujare 2022-04-06 04:26:01
Check inside database folder inside migrations … Check if you have multiple create sessions table

i am going to see it now

zey34354 2022-04-06 04:38:02
laravel_discuss-114139.jpg
I saw that I have 3 of them
zey34354 2022-04-06 04:38:13
do I have to delete two of them ?
Anand Tujare 2022-04-06 04:39:00
zey34354 2022-04-06 04:38:02
I saw that I have 3 of them

Just check if there are any different fields in them… If yes copy them into the first file and delete the rest

Anand Tujare 2022-04-06 04:39:21
zey34354 2022-04-06 04:15:53
because I have this problem when I was applying
php artisan migrate:fresh –seed

Then run this command

zey34354 2022-04-06 04:40:49
Anand Tujare 2022-04-06 04:39:00
Just check if there are any different fields in them… If yes copy them into the first file and delete the rest

sorry how can i make that exactly if they have ot not ?
by opening them ?

Anand Tujare 2022-04-06 04:42:50
zey34354 2022-04-06 04:40:49
sorry how can i make that exactly if they have ot not ?
by opening them ?

Ok open all 3 files…

Keep the first one ..

Check if second file has any additional field in it .. if it has a file just copy n paste them into the first file…

Same with the 3rd file…

Once that’s done delete 2nd and 3rd file

zey34354 2022-04-06 04:43:31
Anand Tujare 2022-04-06 04:42:50
Ok open all 3 files…

Keep the first one ..

Check if second file has any additional field in it .. if it has a file just copy n paste them into the first file…

Same with the 3rd file…

Once that’s done delete 2nd and 3rd file

they are the same exactly

zey34354 2022-04-06 04:43:45
i just checked them
Anand Tujare 2022-04-06 04:44:02
zey34354 2022-04-06 04:43:31
they are the same exactly

Then keep the first one and delete the rest

zey34354 2022-04-06 04:47:47
Anand Tujare 2022-04-06 04:44:02
Then keep the first one and delete the rest

i did that but it didn’t work

zey34354 2022-04-06 04:48:00
i got the same problem again
zey34354 2022-04-06 04:48:19
IlluminateDatabaseQueryException

SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘sessions’ already exists (SQL: create table sessions (id varchar(255) not
null, user_id bigint unsigned null, ip_address varchar(45) null, user_agent text null, payload text not null, last_activity int not null) default character set utf8mb4 collate ‘utf8mb4_unicode_ci’)

at C:xampphtdocseCommerceeCommwecevendorlaravelframeworksrcIlluminateDatabaseConnection.php:728
724▕
725▕
726▕ // I stopped them for temprory to see what is the problem exactly
727▕ catch (Exception $e) {
➜ 728▕ throw new QueryException(
729▕ $query,
730▕ $this->prepareBindings($bindings),
731▕ $e
732▕ );

1 C:xampphtdocseCommerceeCommwecevendorlaravelframeworksrcIlluminateDatabaseConnection.php:505
PDOException::(“SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘sessions’ already exists”)

2 C:xampphtdocseCommerceeCommwecevendorlaravelframeworksrcIlluminateDatabaseConnection.php:505

Mahavishnup 2022-04-06 05:14:44
zey34354 2022-04-06 04:48:19
IlluminateDatabaseQueryException

SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘sessions’ already exists (SQL: create table sessions (id varchar(255) not
null, user_id bigint unsigned null, ip_address varchar(45) null, user_agent text null, payload text not null, last_activity int not null) default character set utf8mb4 collate ‘utf8mb4_unicode_ci’)

at C:xampphtdocseCommerceeCommwecevendorlaravelframeworksrcIlluminateDatabaseConnection.php:728
724▕
725▕
726▕ // I stopped them for temprory to see what is the problem exactly
727▕ catch (Exception $e) {
➜ 728▕ throw new QueryException(
729▕ $query,
730▕ $this->prepareBindings($bindings),
731▕ $e
732▕ );

1 C:xampphtdocseCommerceeCommwecevendorlaravelframeworksrcIlluminateDatabaseConnection.php:505
PDOException::(“SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘sessions’ already exists”)

2 C:xampphtdocseCommerceeCommwecevendorlaravelframeworksrcIlluminateDatabaseConnection.php:505

Same table two times accord or already migrated

Mohit Shrivastava 2022-04-06 07:42:14
Looking for freelance developer interested people inbox me
eken_franky 2022-04-06 08:57:26
hello, I have a laravel/vuejs project, everything works fine locally, but once I deploy to heroku, queries that use FormData no longer work, need help please
Sairam1997s 2022-04-06 10:47:13
select id,cuisine from Outlets where json_contains(cuisine,'[{“CuisinesName”:”Indian”}]’) or json_contains(cuisine,'[{“CuisinesName”:”Chettinad”}]’)
Sairam1997s 2022-04-06 10:47:29
How to do this laravel eloquent
Sairam1997s 2022-04-06 11:13:19
Any suggestions
tipsysmino 2022-04-06 11:22:41
2022-04-05 01:15:34
Hi everybody
Upwork accounts are available

Location: Canada | France | Germany | Georgia | Japan

Let’s negotiate if you’re looking for an account and you’re looking for a longtime relation.

How does it work

tipsysmino 2022-04-06 11:24:46
eken_franky 2022-04-06 08:57:26
hello, I have a laravel/vuejs project, everything works fine locally, but once I deploy to heroku, queries that use FormData no longer work, need help please

Did u run in prod before deploying

cayetanohosma 2022-04-06 11:45:36
eken_franky 2022-04-06 08:57:26
hello, I have a laravel/vuejs project, everything works fine locally, but once I deploy to heroku, queries that use FormData no longer work, need help please

ANy errors?

eken_franky 2022-04-06 11:53:57
cayetanohosma 2022-04-06 11:45:36
ANy errors?

no error, the query returns an empty array, yet locally it saves perfectly

eken_franky 2022-04-06 11:54:51
tipsysmino 2022-04-06 11:24:46
Did u run in prod before deploying

Yes

tipsysmino 2022-04-06 11:57:27
eken_franky 2022-04-06 11:54:51
Yes

Let’s check your form post method in vue and the form itself in vue template

|