dynmap black page
73u38 opened this issue · 8 comments
got error on browser console. and giving back page. this console says
Loading failed for the <script> with source “http://122.248.32.237:8123/standalone/config.js?_=3.0-SNAPSHOT-321”.
ReferenceError: config is not defined122.248.32.237:8123:43:1
http://122.248.32.237:8123/:43
jQuery 4
my index.html
<title>Minecraft Dynamic Map</title>
<meta charset="utf-8" />
<meta name="keywords" content="minecraft, map, dynamic" />
<meta name="description" content="Minecraft Dynamic Map" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<!-- These 2 lines make us fullscreen on apple mobile products - remove if you don't like that -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="icon" href="images/dynmap.ico" type="image/ico" />
<script type="text/javascript" src="js/jquery-1.11.0.js?_=3.0-SNAPSHOT-321"></script>
<link rel="stylesheet" type="text/css" href="css/leaflet.css?_=3.0-SNAPSHOT-321" />
<script type="text/javascript" src="js/leaflet.js?_=3.0-SNAPSHOT-321"></script>
<script type="text/javascript" src="js/custommarker.js?_=3.0-SNAPSHOT-321"></script>
<script type="text/javascript" src="js/dynmaputils.js?_=3.0-SNAPSHOT-321"></script>
<script type="text/javascript" src="js/sidebarutils.js?_=3.0-SNAPSHOT-321"></script>
<!--<link rel="stylesheet" type="text/css" href="css/embedded.css" media="screen" />-->
<link rel="stylesheet" type="text/css" href="css/standalone.css?_=3.0-SNAPSHOT-321" media="screen" />
<link rel="stylesheet" type="text/css" href="css/dynmap_style.css?_=3.0-SNAPSHOT-321" media="screen" />
<!-- <link rel="stylesheet" type="text/css" href="css/override.css" media="screen" /> -->
<script type="text/javascript" src="version.js?_=3.0-SNAPSHOT-321"></script>
<script type="text/javascript" src="js/jquery.json.js?_=3.0-SNAPSHOT-321"></script>
<script type="text/javascript" src="js/jquery.mousewheel.js?_=3.0-SNAPSHOT-321"></script>
<script type="text/javascript" src="js/minecraft.js?_=3.0-SNAPSHOT-321"></script>
<script type="text/javascript" src="js/map.js?_=3.0-SNAPSHOT-321"></script>
<script type="text/javascript" src="js/hdmap.js?_=3.0-SNAPSHOT-321"></script>
<script type="text/javascript" src="standalone/config.js?_=3.0-SNAPSHOT-321"></script>
<script type="text/javascript">
$(document).ready(function() {
window.dynmap = new DynMap($.extend({
container: $('#mcmap')
}, config));
});
</script>
<div id="mcmap"></div>
anyone can help?
It seems that a Config.js is not created the first time the server is started
i have now tested it with different versions and servers Sponge, Bukkit and Forge all versions do not create this config
Do you use your own internal web server or an external one ?
which version do you use?
MC
Server
dynmap
maybe i have the solution
For full functionality of this site it is necessary to enable JavaScript. Here are the instructions how to enable JavaScript in your web browser.
There's your answer.