mirror of
https://github.com/kmvan/x-prober.git
synced 2026-08-13 03:49:38 +08:00
[BUG] Loading loop cause Uncaught SyntaxError: Unexpected token ':' #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Aug 28, 2020).
Originally assigned to: @kmvan on GitHub.
Expected behavior
Loading successful without problem
Actual behavior
The page showing loading always,even refresh.
Other description
there are few errors in console :
and here is the detail of the error:
......","scriptPath":"\/data\/web\/public\/prober.php","diskUsage":{"value":24092635136,"max":988718399487.:}},"phpExtensions":{"redis":true,"sqlite3":true,"memcache":false,"memcached":true,"opcache":true,"opcacheEnabled":true,......How could I fix it,
Thank you!
@kmvan commented on GitHub (Aug 29, 2020):
I found the bug.
@ghost commented on GitHub (Aug 29, 2020):
thank you for helping!
@kmvan commented on GitHub (Aug 29, 2020):
@kamitanw Could you download the DEV version and try it?
https://github.com/kmvan/x-prober/tree/dev/dist
@ghost commented on GitHub (Aug 29, 2020):
@kmvan Thank you for your helping!
seems it will not stuck at loading loop,
but the problem still not solve,
the page wont load complete,
only background color,
and an error alert "Fetch error, please refresh page."
still here
.....","diskUsage":{"value":23705788416,"max":988718399487.:}},"phpExt......if I changed diskUsage value and max to 0,
'diskUsage' => array( 'value' => 0, 'max' => 0it will got fixed (although disk usage will be 0)
maybe something wrong with HelperApi::getDiskTotalSpace() ?
Thank you.
@kmvan commented on GitHub (Aug 29, 2020):
Any online URL?
@ghost commented on GitHub (Aug 29, 2020):
here:
https://www.sostm.org/prober.php
thank you!
@kmvan commented on GitHub (Aug 29, 2020):
Could you create a PHP file
test.phpand paste code:And access via URL. What information is displayed?
@ghost commented on GitHub (Aug 29, 2020):
sure,
here is the result :
float(988718399488)@kmvan commented on GitHub (Aug 29, 2020):
Very strange.

I don't what is it
.:.May I got your server ssh or ftp sign information? I think I need to debug on the server.
Could you send an email about sign-in information of server to kmvan.com@gmail.com?
@ghost commented on GitHub (Aug 29, 2020):
that's really helpful,
Big thanks!!
I'll setup a same environment on vps for you(cause the problem server is dedicated server and use ipmi to login),
and i'll give you login info then,
thank you again!
@kmvan commented on GitHub (Aug 29, 2020):
Is it using CloudFlare?
Try to access via
http://IP/prober.php?@ghost commented on GitHub (Aug 29, 2020):
still same error,
and i'm sorry i forgot to provide some information:
server software: litespeedphp.ini custom setting
i'm not sure is it helpful...?
@kmvan commented on GitHub (Aug 29, 2020):
Access via IP, still not work?
@kmvan commented on GitHub (Oct 18, 2020):
If there is no more information, I will close the issue. But this does not mean that this issue cannot be discussed, please feel free to discuss and open it.