Segs/WebUI

Zone Switcher Returns Error

Offen

#27 geöffnet am 10.10.2023

 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)CSS (6 Forks)auto 404
back endhelp wanted

Repository-Metriken

Stars
 (6 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

After logging in as an admin, when trying to switch a character to a different zone from the Zone Switcher page, it originally returned a 404 error looking for 'zonesByIndex.json'. When I went into the public/assets/js folder, the only json file there, was zones.json. So renamed assuming that is the correct file. When I ran again, the 404 was gone, but got an Error 500. Also an uncaught exception:

Uncaught (in promise) SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

Ran the json file through a checker and comes back as good. So my guess is in how the moveCharacter.php is handling the data somehow.

image

Contributor Guide