When I get products via api/products, I got results after 2 seconds, call into bagsito demo store to get api/products get 1.8 seconds it's very slow. How can we optimize this result?
Posts made by Megalight
Create blog issue
I am getting this error while creating a blog:
Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
cms_blogs_channel_id_foreignFOREIGN KEY (
id) ON DELETE CASCADE) (SQL: insert into
created_at) values (2021-04-07 15:45:43, 2021-04-07 15:45:43))
The blog is the same as Bagisto pages but I am getting this error.
Run bagiso whit sql only
I want create Db in fly and insert into them bagisto tables, but when I export work bagiso sql and run in via
$path = public_path('sql/bagisto.sql');
$sql = file_get_contents($path);
DB::unprepared($sql); ///this code
Db created but without triggers.
I can log in to admin but can`t create product_flat, categories.
How can you help me??