Can you send the style migration file screenshot too?

|
Almas 2021-12-25 11:33:22
laravel_discuss-103129.jpg
And here is my migration file
Cedric Aubin 2021-12-25 12:35:05
Almas 2021-12-25 11:33:22
And here is my migration file

Can you send the style migration file screenshot too?

Almas 2021-12-25 13:32:30
Cedric Aubin 2021-12-25 12:35:05
Can you send the style migration file screenshot too?

laravel_discuss-103131.jpg
There

S.MURALI DHARAN 2021-12-25 14:55:37
Almas 2021-12-25 11:32:25
Here is my pending booking model

Use $fillable in models

natghi2010 2021-12-25 15:38:20
hi, im trying to do a simple update statement. and Im wondering why the dependency injection doesnt work
natghi2010 2021-12-25 15:38:42
laravel_discuss-103135.jpg
here is the script
DesolatorMagno 2021-12-25 15:47:03
Can you show the route?
natghi2010 2021-12-25 15:47:38
DesolatorMagno 2021-12-25 15:47:03
Can you show the route?

its a resource

Mr. Joker 2021-12-25 15:47:52
Hi guyz i have problome in Ajax sending request
natghi2010 2021-12-25 15:48:09
DesolatorMagno 2021-12-25 15:47:03
Can you show the route?

if you want i can show it from the route list

DesolatorMagno 2021-12-25 15:48:19
natghi2010 2021-12-25 15:47:38
its a resource

Yes plz.

Mr. Joker 2021-12-25 15:49:33
laravel_discuss-103143.jpg

Mr. Joker 2021-12-25 15:49:33
laravel_discuss-103142.jpg
i want to save data with out refreshing the page so
DesolatorMagno 2021-12-25 15:52:08
Mr. Joker 2021-12-25 15:49:33
i want to save data with out refreshing the page so

That’s a error with the back end.

natghi2010 2021-12-25 15:52:38
DesolatorMagno 2021-12-25 15:48:19
Yes plz.

laravel_discuss-103145.jpg

DesolatorMagno 2021-12-25 15:56:00
They changing the name “event” for something like evento (for testing) in the route and in the controller.

Btw, I assume that when you return $event it just print the id.

natghi2010 2021-12-25 15:59:53
DesolatorMagno 2021-12-25 15:56:00
They changing the name “event” for something like evento (for testing) in the route and in the controller.

Btw, I assume that when you return $event it just print the id.

it returns nothing

DesolatorMagno 2021-12-25 16:00:51
It should at least return the number for the id, if it return nothing they changing the name, event sound like a bad name to use.
natghi2010 2021-12-25 16:02:08
DesolatorMagno 2021-12-25 16:00:51
It should at least return the number for the id, if it return nothing they changing the name, event sound like a bad name to use.

I know. Actually its events due to its already used word.

natghi2010 2021-12-25 16:02:29
natghi2010 2021-12-25 15:38:42
here is the script

but it should work right?

natghi2010 2021-12-25 16:02:42
it works when i use it in show case
DesolatorMagno 2021-12-25 16:04:51
Well, show and update are different, you can also try with store.
natghi2010 2021-12-25 16:06:31
DesolatorMagno 2021-12-25 16:04:51
Well, show and update are different, you can also try with store.

I think it requires an id to instantiate in dependency injection.

Mr. Joker 2021-12-25 16:07:51
DesolatorMagno 2021-12-25 15:52:08
That’s a error with the back end.

laravel_discuss-103154.jpg
its insert by but request not submiting in Ajax

DesolatorMagno 2021-12-25 16:10:12
natghi2010 2021-12-25 16:06:31
I think it requires an id to instantiate in dependency injection.

Yeah, build a extra route and use it with Post and get and just do a return, to see if it affect the functionality.

I would just change the var name and try again with update.

DesolatorMagno 2021-12-25 16:10:39
Mr. Joker 2021-12-25 16:07:51
its insert by but request not submiting in Ajax

The error is in the server side, Ajax they to communicate and it get a error as response

natghi2010 2021-12-25 16:14:38
DesolatorMagno 2021-12-25 16:04:51
Well, show and update are different, you can also try with store.

you were right, it was the event keyword

natghi2010 2021-12-25 16:14:49
the other routes work
JasurBek916 2021-12-25 16:16:04
Undefined method ‘paymentMethods’. and

Undefined method ‘createSetupIntent’.

laravel 8

Almas 2021-12-25 16:20:41
S.MURALI DHARAN 2021-12-25 14:55:37
Use $fillable in models

This didn’t work

DesolatorMagno 2021-12-25 16:27:58
natghi2010 2021-12-25 16:14:38
you were right, it was the event keyword

Yes, just changing the name is the easiest solution, next time try to evade using certain names for models.

DesolatorMagno 2021-12-25 16:29:06
natghi2010 2021-12-25 16:14:49
the other routes work

In the documentation is explained how to change the name for resource routes.

Mr. Joker 2021-12-25 16:50:16
DesolatorMagno 2021-12-25 16:10:39
The error is in the server side, Ajax they to communicate and it get a error as response

laravel_discuss-103163.jpg
find it and its givien this error now

DesolatorMagno 2021-12-25 16:59:15
Mr. Joker 2021-12-25 16:50:16
find it and its givien this error now

Well it say that’s no the method (post) check route:list or you web file.

Mr. Joker 2021-12-25 17:06:32
DesolatorMagno 2021-12-25 16:59:15
Well it say that’s no the method (post) check route:list or you web file.

finally worked thanks

|