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

Stop button not working #1632

Closed
andrewmospak opened this issue Apr 14, 2020 · 6 comments
Closed

Stop button not working #1632

andrewmospak opened this issue Apr 14, 2020 · 6 comments

Comments

@andrewmospak
Copy link

When after starting a time when finished cannot stop. when stop or "clock out" is clicked a error appears and does not let you stop time both for users and admin .

Screenshots
https://drive.google.com/file/d/1en0rB555yrqGVCxlHcUJYnTjSlynE8Xy/view?usp=sharing

Desktop

  • Device: [PC]
  • OS: [windows]
  • Browser [ chrome]
  • Version [80]

Additional context

  • Kimai version 1.8
  • PHP version 7.3
@kevinpapst
Copy link
Member

Can you stop the record by editing it and setting the end time?

Please check under Doctor > Logs and copy the messages here.

@andrewmospak
Copy link
Author

no it does not and here is the log

[2020-04-14 00:49:07] request.INFO: Matched route "invoice". {"route":"invoice","route_parameters":{"_route":"invoice","_controller":"App\Controller\InvoiceController::indexAction","_locale":"en"},"request_uri":"https://test.154services.com/kimai/public/en/invoice/","method":"GET"} []
[2020-04-14 00:49:07] security.DEBUG: Read existing security token from the session. {"key":"_security_secured_area","token_class":"Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken"} []
[2020-04-14 00:49:07] php.INFO: User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, {"exception":"[object] (ErrorException(code: 0): User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, at /home/services/domains/154services.com/public_html/test/kimai/vendor/symfony/security-core/Authentication/Token/AbstractToken.php:335)"} []
[2020-04-14 00:49:07] php.INFO: User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, {"exception":"[object] (ErrorException(code: 0): User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, at /home/services/domains/154services.com/public_html/test/kimai/vendor/symfony/security-core/Authentication/Token/AbstractToken.php:335)"} []
[2020-04-14 00:49:07] security.DEBUG: User was reloaded from a user provider. {"provider":"Symfony\Component\Security\Core\User\ChainUserProvider","username":"Andrewmospak"} []
[2020-04-14 00:49:07] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"secured_area","authenticators":1} []
[2020-04-14 00:49:07] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"secured_area","authenticator":"App\Security\TokenAuthenticator"} []
[2020-04-14 00:49:07] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"secured_area","authenticator":"App\Security\TokenAuthenticator"} []
[2020-04-14 00:49:07] security.DEBUG: Access denied, the user is neither anonymous, nor remember-me. {"exception":"[object] (Symfony\Component\Security\Core\Exception\AccessDeniedException(code: 403): Access denied. at /home/services/domains/154services.com/public_html/test/kimai/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php:78)"} []
[2020-04-14 00:49:07] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: "Access denied." at /home/services/domains/154services.com/public_html/test/kimai/vendor/symfony/security-http/Firewall/ExceptionListener.php line 137 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException(code: 0): Access denied. at /home/services/domains/154services.com/public_html/test/kimai/vendor/symfony/security-http/Firewall/ExceptionListener.php:137, Symfony\Component\Security\Core\Exception\AccessDeniedException(code: 403): Access denied. at /home/services/domains/154services.com/public_html/test/kimai/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php:78)"} []
[2020-04-14 00:49:07] security.DEBUG: Stored the security token in the session. {"key":"_security_secured_area"} []
[2020-04-14 00:52:44] request.INFO: Matched route "system_configuration". {"route":"system_configuration","route_parameters":{"_route":"system_configuration","_controller":"App\Controller\SystemConfigurationController::indexAction","_locale":"en"},"request_uri":"https://test.154services.com/kimai/public/en/admin/system-config/","method":"GET"} []
[2020-04-14 00:52:44] security.DEBUG: Read existing security token from the session. {"key":"_security_secured_area","token_class":"Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken"} []
[2020-04-14 00:52:44] php.INFO: User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, {"exception":"[object] (ErrorException(code: 0): User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, at /home/services/domains/154services.com/public_html/test/kimai/vendor/symfony/security-core/Authentication/Token/AbstractToken.php:335)"} []
[2020-04-14 00:52:44] php.INFO: User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, {"exception":"[object] (ErrorException(code: 0): User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, at /home/services/domains/154services.com/public_html/test/kimai/vendor/symfony/security-core/Authentication/Token/AbstractToken.php:335)"} []
[2020-04-14 00:52:44] security.DEBUG: User was reloaded from a user provider. {"provider":"Symfony\Component\Security\Core\User\ChainUserProvider","username":"Andrewmospak"} []
[2020-04-14 00:52:44] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"secured_area","authenticators":1} []
[2020-04-14 00:52:44] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"secured_area","authenticator":"App\Security\TokenAuthenticator"} []
[2020-04-14 00:52:44] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"secured_area","authenticator":"App\Security\TokenAuthenticator"} []
[2020-04-14 00:52:44] security.DEBUG: Access denied, the user is neither anonymous, nor remember-me. {"exception":"[object] (Symfony\Component\Security\Core\Exception\AccessDeniedException(code: 403): Access denied. at /home/services/domains/154services.com/public_html/test/kimai/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php:78)"} []
[2020-04-14 00:52:44] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: "Access denied." at /home/services/domains/154services.com/public_html/test/kimai/vendor/symfony/security-http/Firewall/ExceptionListener.php line 137 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException(code: 0): Access denied. at /home/services/domains/154services.com/public_html/test/kimai/vendor/symfony/security-http/Firewall/ExceptionListener.php:137, Symfony\Component\Security\Core\Exception\AccessDeniedException(code: 403): Access denied. at /home/services/domains/154services.com/public_html/test/kimai/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php:78)"} []
[2020-04-14 00:52:44] security.DEBUG: Stored the security token in the session. {"key":"_security_secured_area"} []

@kevinpapst
Copy link
Member

Hm, it says Access denied. Please: delete the log file, try to stop a timesheet entry and copy&paste the resulting log here. I am not sure what I see ...

Do you have any more infos available?
Is that a Super admin account or a regular user?
Do other actions in Kimai not work as well?

@andrewmospak
Copy link
Author

its not making a log file for it i have tried both regular and super admin both are not working for stopping time everything else seems fine. am i better off deleting and reinstalling. its easy for me as i use direct admin for hosting

@kevinpapst
Copy link
Member

no feedback, closing

@lock
Copy link

lock bot commented Jun 24, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.

@lock lock bot locked and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants