Kimai2: Something missing? Theme is broken

Created on 23 Feb 2020  路  14Comments  路  Source: kevinpapst/kimai2

Hello, everybody,
I have "installed" the package once via SSH and once via FTP. However, both versions look like this to me:
https://www1.xup.to/exec/ximg.php?fid=15083613

Sometimes when i click through the settings i get this one:
https://www1.xup.to/exec/ximg.php?fid=16512106

Is something missing here via .php or where is the error?

All 14 comments

Looks as if for some reason the CSS can't be loaded, which is normally a webserver configuration problem. Whats in your javascript console? Is there something in var/log/prod.log?

Hey,
Kimai is running in a subfolder of the domain.
Console settings: Failed to find a valid digest in the 'integrity' attribute for resource 'https://domain/build/A.app.8240996d.css.pagespeed.cf.eqjR21wt-X.css' with computed SHA-256 integrity 'deVFqpsMrqSO2e7AMP1soIaUErc2z0HN3DDnFiogp/U='. The resource has been blocked.

Subdirectories should work but I can't give support for that.
As this filename is not available in Kimai, try to disable your Pagespeed browser plugin and retry, maybe it is messing with the Kimai assets.

What do you mean with:

try to disable your Pagespeed browser plugin

Okay.
Chrome it has this error. Same on Opera.
Internet Explorer it is working.

Whats wrong here?

This is not a valid Kimai assets filename:
Bildschirmfoto 2020-02-23 um 13 39 32
Something is changing the URLs and I guess it is a browser plugin.

Okay, sorry my bad.
It was my domain there before!

I don't care about the domain name, but the filename. This is how it should look:
Bildschirmfoto 2020-02-23 um 13 42 02

<link rel="stylesheet" href="/build/app.2bde4971.css" integrity="sha384-3bVuRNKO8FkMuSAu5Eefo+HJ9WNpiJsrIefh0qSdQsbk+8+MA1zre/NZ/AGrY1M9">

Compare these URLs in IE and Chrome.

Internet Explorer:
<link rel="stylesheet" href="/build/A.app.8240996d.css.pagespeed.cf.eqjR21wt-X.css" integrity="sha384-ZaS4ro6HGbDfLyaJc8cVXJzTd8plX3mRzhHhiiUEErSzPlRKdZfViDk23BNvAaz+">

Chrome:
<link rel="stylesheet" href="/build/A.app.8240996d.css.pagespeed.cf.eqjR21wt-X.css" integrity="sha384-ZaS4ro6HGbDfLyaJc8cVXJzTd8plX3mRzhHhiiUEErSzPlRKdZfViDk23BNvAaz+">

You're right! I deactivated it and it's running now. But now the other subdomains and the main domain without pagespeed are running. Is there a way to disable pagespeed only on the subdomain or to get Kimai running with pagespeed?

Never used it, sorry can't help with that.

Okay but thank you very much!

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

heeen picture heeen  路  4Comments

trentks picture trentks  路  5Comments

gimmesomethinggood picture gimmesomethinggood  路  4Comments

roulious picture roulious  路  4Comments

ralfboernemeier picture ralfboernemeier  路  3Comments