Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LaravelDebugBar #41

Open
anardil opened this issue Feb 3, 2021 · 3 comments
Open

LaravelDebugBar #41

anardil opened this issue Feb 3, 2021 · 3 comments

Comments

@anardil
Copy link

anardil commented Feb 3, 2021

Hello,

I add the LaravelDebugBar in my project.
The debug bar is show on the page but in the tab "Queries" I can see just one query.
select * from users where id = 2 limit 1

Do you know why I can't see all the queries on the shop?
Thank you.

Regards.

@aimeos
Copy link
Owner

aimeos commented Feb 3, 2021

Aimeos doesn't use Eloquent for performance reasons and thus, the queries won't show up in the LaravelDebugBar. You can see the queries in the Aimeos Log panel (admin backend) if you enable this setting:
https://github.com/aimeos/aimeos/blob/master/config/shop.php#L116

@anardil
Copy link
Author

anardil commented Feb 3, 2021

Thanks for your reply.
I enabled this setting. I see logs but when I go to the Homepage to generate logs I can't SQL logs about fetching products.

Regards.

@aimeos
Copy link
Owner

aimeos commented Feb 5, 2021

The SQL queries for fetching products are using the mshop_index_* tables and you should have a look for those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants