Dynmap-Forge/Fabric

Dynmap-Forge/Fabric

1M Downloads

Registration (login feature) files in default webpath instead of path defined in configuration.txt

Schpammer opened this issue ยท 3 comments

commented

Issue Description: When enabling the login feature and using a default webpath, the registration process still uses the files in plugins/dynmap/web/standalone/ instead of the files in the configuration.txt defined webpath. (Recognized it because of missing permissions for the webserver's user)

  • Dynmap Version: 3.4-828
  • Server Version: Paper-173 (MC: 1.19.2)
  • Pastebin of Configuration.txt: https://pastebin.com/5SETL3z2
  • Server Host (if applicable): Selfhosted
  • Pastebin of crashlogs or other relevant logs: https://pastebin.com/Jz8F7xL8
  • Steps to Replicate: Change the webpath, enable the login function and remove permissions for the webservers user in plugins/dynmap/web/ and check the webserver's logs when registering a new user

[x] I have looked at all other issues and this is not a duplicate
[x] I have been able to replicate this

commented

did you update the files after you edited the location in configuration.txt? could be the files that were used are the old ones from before you edited the webpath?

commented

I've just copied the files again just to be sure. But then I recognized, that there seems to be another problem on my side. The paths where cached on the serverside and a simple restart solved the problem.

The only other issue remaining is, that I needed to edit the paths in standalone/dynmap_access.php because they wheren't updated with the new web path.

commented

hmm, after a server restart they should have updated on the dynmap config folder's site, ready for copying over to the webserver