You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Not 100% sure what I am missing @dracc . I have the path on the server as /var/www/webui/public/assets/js/, and the root folder for the site is the public folder. I guess I am confused.
Which generates the 500 error. Here is the error log from the web server:
PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, stdClass given in /var/www/webui/public/assets/includes/moveCharacter.php:54\nStack trace:\n#0 /var/www/webui/public/assets/includes/moveCharacter.php(138): moveCharacter()\n#1 {main}\n thrown in /var/www/webui/public/assets/includes/moveCharacter.php on line 54, referer: http://webui.dev-box.local/?page=zones
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:
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.
The text was updated successfully, but these errors were encountered: