Dynmap-Forge/Fabric

Dynmap-Forge/Fabric

888k Downloads

Error when I copyed the web folder to other vps

z0z0r4 opened this issue ยท 5 comments

commented

purpur 1.18.2 newest version
I render my map, and try to copy the web folder to other vps
fullrender , /dynmap pause all ( maybe because I didn't stop it but pause it?
By SQLite

website return these text

standalone/SQLite_tiles.php?tile=world/_2/0_-12/zzzzzzz_0_-384.webp

Warning: SQLite3::__construct(): open_basedir restriction in effect. File(/server/PCLSurvivalServer/server/plugins/dynmap/web/dynmap.db) is not within the allowed path(s): (/dynmap/:/tmp/) in /dynmap/standalone/SQLite_tiles.php on line 77

Fatal error: Uncaught Exception: open_basedir prohibits opening /server/PCLSurvivalServer/server/plugins/dynmap/web/dynmap.db in /dynmap/standalone/SQLite_tiles.php:77 Stack trace: #0 /dynmap/standalone/SQLite_tiles.php(77): SQLite3->__construct() #1 {main} thrown in /dynmap/standalone/SQLite_tiles.php on line 77
standalone/SQLite_markers.php?marker=faces/16x16/k0rnyuwu.png

Warning: SQLite3::__construct(): open_basedir restriction in effect. File(/server/PCLSurvivalServer/server/plugins/dynmap/web/dynmap.db) is not within the allowed path(s): (/dynmap/:/tmp/) in /dynmap/standalone/SQLite_markers.php on line 37

Fatal error: Uncaught Exception: open_basedir prohibits opening /server/PCLSurvivalServer/server/plugins/dynmap/web/dynmap.db in /dynmap/standalone/SQLite_markers.php:37 Stack trace: #0 /dynmap/standalone/SQLite_markers.php(37): SQLite3->__construct() #1 {main} thrown in /dynmap/standalone/SQLite_markers.php on line 37

/server/PCLSurvivalServer/server/plugins/dynmap/web is from my render vps (I rendered these in this
/dynmap is from my web vps (I copyed web folder to this

commented

image
image
All requests with PHP have this question

commented

Your host has restrictions on which paths can be accessed using PHP. You also probably didn't update the new webserver paths and reupload from the "render server"

commented

because this file doesn't be changed?
image

commented

I chmod 777 to /dynmap, but it still doesn't work...
image

what should I do?
image
image

I have been updated the new webserver paths
image
image

commented

I'd say, run through the guide for external webserver setup as if it is a new setup and then check if it works