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

Can't access remembered site where HumHub runs in a subdirectory #270

Closed
SimonKroghPrivat opened this issue Jan 14, 2025 · 6 comments · Fixed by #283
Closed

Can't access remembered site where HumHub runs in a subdirectory #270

SimonKroghPrivat opened this issue Jan 14, 2025 · 6 comments · Fixed by #283
Assignees
Labels
bug Something isn't working

Comments

@SimonKroghPrivat
Copy link

I have a standard HumHub installation running in a subdirectory on a website, e.g. https://mysite.com/humhub

When I enter the URL in the HumHub app everything works as it should, but when I try to access it subsequently from the list of sites presented when the app is re-started, I just get a grey screen and nothing happens. But if I swipe the tile representing the remembered site away, and enter the URL again, it works again.

So my guess is that somewhere in the code for these remembered site tiles, it is assumed that a HumHub installation is running at the root of a site and not in a subdirectory.

@marc-farre marc-farre added the bug Something isn't working label Jan 14, 2025
@PrimozRatej PrimozRatej linked a pull request Jan 23, 2025 that will close this issue
@PrimozRatej
Copy link
Collaborator

Hey @SimonKroghPrivat, I think I found the problem. I will let you know when a new version of HumHub is available. If this does not solve your particular case, would you be so kind to share the instance with me so I can take a look into it, tnx.

@PrimozRatej
Copy link
Collaborator

@SimonKroghPrivat, we would need to reopen the issue. This fix should not have fixed your problem. To pinpoint the problem, I would need access to your HumHub instance to replicate the bug.

@PrimozRatej
Copy link
Collaborator

Hey @SimonKroghPrivat do you still experience the issues for when the HumHub runs in a subdirectory?

@marc-farre
Copy link
Collaborator

@SimonKroghPrivat please test with version 1.1.6 of the app. Thanks!

@SimonKroghPrivat
Copy link
Author

@SimonKroghPrivat please test with version 1.1.6 of the app. Thanks!

@marc-farre It still doesn't work in v.1.1.16, unfortunately.

@marc-farre
Copy link
Collaborator

@SimonKroghPrivat Thanks for your test.

@PrimozRatej I confirm the issue.
On first login, it worked fine. But after, each time I try to access it, I have this blank screen:

Image

I have deployed a testing instance: https://cuzy.app/hhtest
You have an admin account.

Logs:

info] | 18:06:29 367ms | [null, null, null, null]
[info] | 18:06:29 367ms | Init PushPlugin
[info] | 18:06:29 401ms | PushPlugin with token: dO6xSnjrRGWUue4HYM01Dm:APA91bGqDb4n0HsWHJlYGY__fCWpwH8elJpviiWBVeYBLwBSGhXSwCNPIxhuCs7sZsbwA40XJwgtBa_HXLpxhNDLMsyeCDSS0683wzVKuLWnddLfQgJONH8
[info] | 18:06:29 402ms | null
[info] | 18:06:29 408ms | Firebase token is dO6xSnjrRGWUue4HYM01Dm:APA91bGqDb4n0HsWHJlYGY__fCWpwH8elJpviiWBVeYBLwBSGhXSwCNPIxhuCs7sZsbwA40XJwgtBa_HXLpxhNDLMsyeCDSS0683wzVKuLWnddLfQgJONH8 name: PushPlugin
[info] | 18:08:27 45ms | WebMessage{data: {"type":"hideOpener"}, ports: null, type: STRING}
[debug] | 18:08:27 46ms | flutterChannel triggered: hideOpener
[info] | 18:08:27 48ms | WebMessage{data: {"type":"registerFcmDevice","url":"https://demo.cuzy.app/fcm-push/token/update-mobile-app"}, ports: null, type: STRING}
[debug] | 18:08:27 48ms | flutterChannel triggered: registerFcmDevice
[info] | 18:08:32 245ms | WebMessage{data: {"type":"showOpener"}, ports: null, type: STRING}
[debug] | 18:08:32 247ms | flutterChannel triggered: showOpener
[info] | 18:08:55 137ms | WebMessage{data: {"type":"hideOpener"}, ports: null, type: STRING}
[debug] | 18:08:55 140ms | flutterChannel triggered: hideOpener
[info] | 18:09:08 979ms | WebMessage{data: {"type":"hideOpener"}, ports: null, type: STRING}
[debug] | 18:09:08 980ms | flutterChannel triggered: hideOpener
[info] | 18:09:08 980ms | WebMessage{data: {"type":"registerFcmDevice","url":"https://cuzy.app/hhtest/index.php?r=fcm-push%2Ftoken%2Fupdate-mobile-app"}, ports: null, type: STRING}
[debug] | 18:09:08 980ms | flutterChannel triggered: registerFcmDevice
[info] | 18:09:15 119ms | WebMessage{data: {"type":"hideOpener"}, ports: null, type: STRING}
[debug] | 18:09:15 121ms | flutterChannel triggered: hideOpener
[info] | 18:09:15 121ms | WebMessage{data: {"type":"showOpener"}, ports: null, type: STRING}
[debug] | 18:09:15 122ms | flutterChannel triggered: showOpener
[info] | 18:09:58 955ms | WebMessage{data: {"type":"hideOpener"}, ports: null, type: STRING}
[debug] | 18:09:58 956ms | flutterChannel triggered: hideOpener
[info] | 18:10:09 481ms | WebMessage{data: {"type":"hideOpener"}, ports: null, type: STRING}
[debug] | 18:10:09 484ms | flutterChannel triggered: hideOpener
[info] | 18:10:25 534ms | WebMessage{data: {"type":"openNativeConsole"}, ports: null, type: STRING}
[debug] | 18:10:25 534ms | flutterChannel triggered: openNativeConsole

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants