Hi,
Probably doing something wrong.
I have a folder with a folder spiderbasic and all then files generated. All works fine.
But when I move this all to the htdocs folder on local host. I get a blanc screen.
What is the normal procedure to upload a spiderbasic webapp? What files schould be included? Do I need to change things?
Thanks
Rudi
Blanc screen on localhost
Re: Blanc screen on localhost
do you copy all files including
*.js
*.html
libs folder
all above are created using -Compiler -> Create APP - ,(also select [v] copy spiderbasic libraries_
*.js
*.html
libs folder
all above are created using -Compiler -> Create APP - ,(also select [v] copy spiderbasic libraries_
Christos
Re: Blanc screen on localhost
I copied everything that was inside the folder it was developed in. It runs fine offline. Should the .Html be called Index.html? I am on Linux Ubuntu 22.04.
Re: Blanc screen on localhost
thats depend on http server configuration
what do you see when trying to open this website? whats the url ?
only blanc screen ?
i think you should try to rename it to index.html is the the default config for practialyl all http servers to see what hapens
what do you see when trying to open this website? whats the url ?
only blanc screen ?
i think you should try to rename it to index.html is the the default config for practialyl all http servers to see what hapens
Christos
Re: Blanc screen on localhost
Renamed it to index.html nothing changed.
file:///opt/lampp/htdocs/rekenmachine/index.html this works
but when localhost is running
http://localhost/rekenmachine/index.html this gives me a blanc screen
I have other websites that are running in this way on localhost. Even a phpmyadmin. So localhost is working ok.
If I remove the folder 'spiderbasic' then I also have the blanc screen when I open from the file system.
Maybe there's some file / files missing to be able to run this on Localhost on Linux?
Files:
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic$ ls
canvas-toBlob.min.js
jquery-ui.custom.min.js
platform.js
cipher
localforage.min.js
preloadjs.min.js
debug.js
main.js
put.min.js
dojo
media
seedrandom.min.js
filesaver.min.js
mousetrap-global-bind.min.js
soundjs.min.js
forge
mousetrap.min.js
sql.min.js
init.js
onsenui-css
themes
interact.min.js
onsenui.min.js
wgxpath.min.js
jdataview.min.js
pako.min.js
xdate.min.js
jquery.blockUI.min.js
paper-full.min.js
xregexp.min.js
jquery.injectCSS.js
pixi-filters.js
jquery.min.js
pixi.min.js
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/cipher$ ls
crc.js md5.js sha3.js
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/dojo$ ls
cbtree dgrid dojo.js nls resources themes util
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/media$ ls
background.png
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/forge$ ls
aes.js cipherModes.js md.js sha224.js sha512.js
cipher.js forge.js sha1.js sha256.js util.js
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/onsenui-css$ ls
dark-onsen-css-components.min.css onsen-css-components.min.css
font_awesome onsenui-core.min.css
ionicons onsenui-fonts.css
material-design-iconic-font onsenui.min.css
old-onsen-css-components.min.css
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/themes$ ls
aeroglass flat
file:///opt/lampp/htdocs/rekenmachine/index.html this works
but when localhost is running
http://localhost/rekenmachine/index.html this gives me a blanc screen
I have other websites that are running in this way on localhost. Even a phpmyadmin. So localhost is working ok.
If I remove the folder 'spiderbasic' then I also have the blanc screen when I open from the file system.
Maybe there's some file / files missing to be able to run this on Localhost on Linux?
Files:
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic$ ls
canvas-toBlob.min.js
jquery-ui.custom.min.js
platform.js
cipher
localforage.min.js
preloadjs.min.js
debug.js
main.js
put.min.js
dojo
media
seedrandom.min.js
filesaver.min.js
mousetrap-global-bind.min.js
soundjs.min.js
forge
mousetrap.min.js
sql.min.js
init.js
onsenui-css
themes
interact.min.js
onsenui.min.js
wgxpath.min.js
jdataview.min.js
pako.min.js
xdate.min.js
jquery.blockUI.min.js
paper-full.min.js
xregexp.min.js
jquery.injectCSS.js
pixi-filters.js
jquery.min.js
pixi.min.js
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/cipher$ ls
crc.js md5.js sha3.js
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/dojo$ ls
cbtree dgrid dojo.js nls resources themes util
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/media$ ls
background.png
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/forge$ ls
aes.js cipherModes.js md.js sha224.js sha512.js
cipher.js forge.js sha1.js sha256.js util.js
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/onsenui-css$ ls
dark-onsen-css-components.min.css onsen-css-components.min.css
font_awesome onsenui-core.min.css
ionicons onsenui-fonts.css
material-design-iconic-font onsenui.min.css
old-onsen-css-components.min.css
rudi@Slimbook:~/Apps/projecten/Rekenmachine/spiderbasic/themes$ ls
aeroglass flat
Re: Blanc screen on localhost
the fact that you are in linux, makes no difference in web world
its the http server that matters
does you script opens a external link ?
have you enable debugger? if not can you enable to see at least if debbuger window appears?
its the http server that matters
does you script opens a external link ?
have you enable debugger? if not can you enable to see at least if debbuger window appears?
Christos
Re: Blanc screen on localhost
Tryed to create app again in a new folder and with the link to copy libraries from spiderbasic. Nothing got copied.
But when I put the files in the htdoc without the librarie, the result remains the same. It works on the file system but not when called on Localhost.
I checked the option to get the debugger. Nothing shown.
When I checked the src all was linked to the libraries on the filesystem (to spiderbasic itself) It uses the link you put in the create app. Maybe on Windows it copies the dependensies, not here on Linux?
I copied all manual and adjusted the src, still not working. Works when opening as html file; not with localhost.
the script index.html nothing special
But when I put the files in the htdoc without the librarie, the result remains the same. It works on the file system but not when called on Localhost.
I checked the option to get the debugger. Nothing shown.
When I checked the src all was linked to the libraries on the filesystem (to spiderbasic itself) It uses the link you put in the create app. Maybe on Windows it copies the dependensies, not here on Linux?
I copied all manual and adjusted the src, still not working. Works when opening as html file; not with localhost.
the script index.html nothing special
Code: Select all
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="user-scalable=no, width=device-width, height=device-height, initial-scale=1, minimum-scale=1, maximum-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="text/javascript">var spider = {}; spider.nbModules = 1; spider.nbLoadedModules = 0;</script>
<title>Rekenmachine</title>
<script type="text/javascript">function onLoad() { spiderCheckBrowser(); }</script>
<script type="text/javascript" src="./spiderbasic/platform.js"></script>
<script type="text/javascript" src="./spiderbasic/init.js"></script>
<script type="text/javascript">dojoConfig.baseUrl = './spiderbasic/'; </script>
<script type="text/javascript" src="./spiderbasic/dojo/dojo.js"></script>
<script type="text/javascript" src="./spiderbasic/debug.js?t=1769960034"></script>
<script type="text/javascript">
spider.debugFilename=".Rekenmachine.sb";
spider.debugSourcePath=".";
spider.debugIncludes=[
];
if (window.spiderDebug) { window.spiderDebug( { "command": 0, "filename": spider.debugFilename, "sourcePath": spider.debugSourcePath, "includes": spider.debugIncludes } ); }
</script>
<script type="text/javascript" src="./spiderbasic/main.js?t=1769960034"></script>
<link rel="stylesheet" href="./spiderbasic/dojo/themes/claro/claro.css" />
<link rel="stylesheet" href="./spiderbasic/dojo/dgrid/css/dgrid.css" />
<script type="text/javascript" src="./spiderbasic/xdate.min.js"></script>
<link rel="stylesheet" title="Default" href="./spiderbasic/themes/flat/window.css" type="text/css"/>
<script type="text/javascript" src="rekenmachine.js?t=1769960034"></script>
<link rel="icon" type="image/png" href="favicon.png"/>
</head>
<body oncontextmenu="return false;" class="claro" id="spiderbody" onload="onLoad()">
</body>
</html>
Last edited by RBart on Sun Feb 01, 2026 4:15 pm, edited 1 time in total.