Comments (9)
Anything inside the javascript console of your browser?
What does the network tab say? Is there a request going out and what is the response?
from kimai2.
The js console is empty.
In the network tab is one event:
request headers
GET /en/admin/activity/?globalsOnly=0&visibility=1&pageSize=50&page=2&order=ASC&orderBy=name HTTP/1.1
Host: localhost:8001
Connection: keep-alive
Accept: */*
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Referer: http://localhost:8001/en/admin/activity/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,de;q=0.8
Cookie: PHPSESSID=63be660fa8f96d0d50bbaf51d00dcd00
response headers
HTTP/1.1 200 OK
Server: nginx/1.17.7
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/7.3.10
Cache-Control: max-age=0, must-revalidate, private
Date: Wed, 15 Jan 2020 11:26:12 GMT
Expires: Wed, 15 Jan 2020 11:26:12 GMT
EDIT:
formatted some stuff
from kimai2.
Do the regular search filters work? Most of the search forms use GET params as well...
from kimai2.
Unfortunately not. Neither the sorting nor the search works.
The js console is still empty.
In the network tab appears many event (mostly documents like svg, woff2, etc) and these two:
request
GET /en/admin/activity/?searchTerm=&customer=&project=&globalsOnly=0&visibility=1&pageSize=10&page=1&order=DESC&orderBy=name HTTP/1.1
Host: localhost:8001
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
Sec-Fetch-User: ?1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Referer: http://localhost:8001/en/admin/activity/?searchTerm=&customer=&project=&globalsOnly=0&visibility=2&pageSize=50&page=1&order=ASC&orderBy=name
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,de;q=0.8
Cookie: PHPSESSID=b7a67967bc01d1ff7d7a9e606e6b4a30
response
HTTP/1.1 200 OK
Server: nginx/1.17.7
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/7.3.10
Cache-Control: max-age=0, must-revalidate, private
Date: Wed, 15 Jan 2020 12:36:51 GMT
Expires: Wed, 15 Jan 2020 12:36:51 GMT
and:
request
GET /api/timesheets/recent?size=10 HTTP/1.1
Host: localhost:8001
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
X-Requested-With: XMLHttpRequest
X-AUTH-SESSION: true
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
Content-Type: application/json
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Referer: http://localhost:8001/en/admin/activity/?searchTerm=&customer=&project=&globalsOnly=0&visibility=1&pageSize=10&page=1&order=DESC&orderBy=name
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,de;q=0.8
Cookie: PHPSESSID=b7a67967bc01d1ff7d7a9e606e6b4a30
response
HTTP/1.1 200 OK
Server: nginx/1.17.7
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/7.3.10
Cache-Control: max-age=0, must-revalidate, private
Date: Wed, 15 Jan 2020 12:36:52 GMT
Expires: Wed, 15 Jan 2020 12:36:52 GMT
from kimai2.
Thanks @asawatzki for the feedback.
This is a very likely a configuration issue in nginx.
There was recently a user in the Kimai issue tracker who had a similar problem.
I couldn't find the issue quickly, but it was in the last 14 days.
@tobybatch and @Schrolli91 he mentioned that the GET params weren't passed to PHP/Symfony. I can only assume, but maybe an issue with the fastcgi params definition. He found a solution in the Symfony docs, probably the webserver setup section
from kimai2.
You are very welcome. Let me know if you need more support.
from kimai2.
Duplicate #61
from kimai2.
I have this issue but I can't get it to work. The nginx site config does not represent the file form the repo:
/srv/kimai2# docker exec kimai2_nginx_1 grep try_files /etc/nginx/conf.d/default.conf
try_files $uri $uri/ /index.php;
/srv/kimai2# grep try_files compose/nginx_site.conf
try_files $uri $uri/ /index.php$is_args$args;
I tried docker-compose stop, docker-compose rm, docker system purge --volumes, nothing makes it update
from kimai2.
@heeen Can you open a fresh issue please? We need information about which images you are using etc.
from kimai2.
Related Issues (20)
- [Documentation] ReadMe on DockerHub contains faulty (legacy?) information on user creation HOT 1
- [BUG] Undefined constant Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_ALL HOT 1
- [BUG] Failed to validate database. Invalid platform version. HOT 15
- [BUG] Error 500 at Plugins after Upgrading HOT 1
- [BUG] Error 500 at plugins HOT 3
- [BUG] Doctrine DBAL - Invalid platform version HOT 1
- [BUG] DATABASE URL inconsistencies HOT 2
- Issue with "Easybackup" Plugin in Kimai Docker Environment HOT 4
- Kimai with Traefik as reverse proxy redirects to http when only https is set-up in docker-compose.yml HOT 4
- Problem with kimai:import:v1 - SQLSTATE[HY000] [2002] Connection refused .. HOT 1
- Unable to bind/mount mysql volume and start kimai dokcer HOT 1
- [BUG] Error submitting form according to language HOT 2
- Kimai with ProxyRevers: Menu-Buttons in Kimai Version 2.2.1 do not work HOT 1
- missing swagger.json HOT 2
- AD authentication fails if the user object has a child object (ActiveSyncDevice) HOT 1
- [BUG] copy-public.sh: Where is it? HOT 5
- [BUG] Setting memory limit permission issue HOT 5
- [BUG] 500 Error - Missing class in latest docker image (2.5.0) HOT 3
- [BUG] composer require symfony/sendgrid-mailer fails HOT 9
- [BUG] Unable to upgrade Kimai from apache-1.30.11-prod to 2.x HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kimai2.