post by heruprambadi on Jul 3, 2023

post by heruprambadi on Jul 3, 2023

i’m sure it’s CSRF problem, because it works when i “except” any routes.
example :

protected $except = [
        'admin/customers-management'
    ];

i except “admin/customers-management” route, then it works.

Can anyone help me ? is it laravel or GCE problem ?

post by heruprambadi on Jul 4, 2023

post by heruprambadi on Jul 4, 2023

post by johnny on Jul 4, 2023

Hello @heruprambadi ,

For Laravel 10, have you included the following code?

$crud->setCsrfTokenName('_token');
$crud->setCsrfTokenValue(csrf_token());

I think this would resolve the issue that you have.

Also for the CSS, I will have it a look and let you know.

Regards
Johnny

post by heruprambadi on Jul 4, 2023

yes it works ! Thanks johnny. It will be good think to add this on Laravel 10 installation documentation.

post by johnny on Jul 4, 2023

post by johnny on Jul 5, 2023

Also for the CSS issue on master detail, this is a bug and it will be fixed on 3.0.9

post by johnny on Jul 8, 2023

Hello @heruprambadi ,

The 3.0.9 is now deployed and it is also fixing the CSS issues that you had with the date on master detail datagrid.

Regards
Johnny

1 month later

post by CodeGC on Aug 9, 2023

I faced a problem to get master key(id) on the detail crud.. the example use POST but the route URL ask for get for detail crud.. can you show full example with route URL using CodeIgniter 4 ?

also i noticed that you call PHP file on URL .. can i call other function on the same file or i have to put detail crud on separate file?

3 months later

post by dodo.selusin on Oct 26, 2023

9 days later

post by khalnayak11a on Nov 5, 2023

1 / 12
Jul 2023