Closed YunshuaiPeng closed 4 years ago
Hey, are you using Eloquent on that page? We only show the tabs when we have some data to show.
This is my request. And There are some data in the response.
Then, I open clockwork page.
Open resource index page.
Still no tabs.
Hmm, this is a weird one, can you send me a sample file from storage/clockwork
to info@underground.works
?
Did you customize your Clockwork config? Are you doing something or using some third-party packages that might interfere with Laravel's database stuff? Do you see a log tab if you try logging something, eg. clock('foo')
?
An email has been sent.
I use default config. I don't even have a configuration file in my config dir.
This is my composer file.No interference I guess.
May is there some necessary php-extensions I forgot add? I run my app in docker container. And I only opened thoes php-extensions than I need.
Thanks for sharing the debugging data, unfortunately I'm not much wiser as for what the issue might be. You don't need any special php extensions or settings. I'm afraid we'll have to dig into the code to find out what's wrong.
Looks like we don't collect database queries at all in your app. Can you dd
the condition here to see if it passes?
If it does not pass, can you check this statement?
https://github.com/itsgoingd/clockwork/blob/v4/Clockwork/Support/Laravel/ClockworkSupport.php#L339
If it does pass, can you check if this method is ever called?
https://github.com/itsgoingd/clockwork/blob/v4/Clockwork/DataSource/EloquentDataSource.php#L89
Oh sorry. I am sure it is a docker issue.Pls close it.
Was checking clockwork out and had the same issue (only performance tab). I'm not using docker or any virtulization, just laragon (which uses a WAMP stack). Using a dd() in my page would result in clockwork not even picking it up. I must confess i de-installed it, i have not time to sort this out :D sorry
Note: i still have debugbar + telescope installed when testing (maybe this could help you)
I know this is closed, but had the same issue. Fixed by running php artisan config:clear
Hope it helps others!
laravel version : v7.25.0 php version : 7.4.7
I did these steps
composer require itsgoingd/clockwork
http://localhost:8090/__clockwork/app#
So,I can not see database panel.
Is there something wrong with my operation?
Thank you.