Re: OverView page not showing all data after all hotfix's
Posted by
Wisiwyg on
Oct 08, 2016; 9:19pm
URL: https://itus.accessinnov.com/OverView-page-not-showing-all-data-after-all-hotfix-s-tp995p1199.html
Oilman wrote
noticed after the hotfixes the uptime, memory section, network section and active connections were not showing.
I solved the problem by editing the file /usr/lib/lua/luci/view/admin_status/index.htm replacing the two lines below
<script type="text/rocketscript" data-rocketsrc="<%=resource%>/cbi.js"></script>
<script type="text/rocketscript">//<![CDATA[
With the two lines below
<script type="text/javascript" src="<%=resource%>/cbi.js"></script>
<script type="text/javascript">//<![CDATA[
The hot fixes of 8.1, 8.2 an 8.3 changed these lines and it stop working for me correctly, I put the two original lines back and it works fine for now me. I am using Firefox so maybe some browers can handle the rocketscript.
FYI
I had this same problem, used your edits above, and fixed a few things. I continued to have problems with getting multiple 'appends' of date and version. So I edited the /sbin/fw_upgrade script
from:
# Shield Update Version: parse version number from the comments at the top of this script
grep -oP "^\s*#\s*VER.*-\s*\K([0-9\.]+)(?=\s*#\s*$)" /sbin/fw_upgrade > /.do_date (was this supposed to point to .do_date since its for version?)
# Shield Update Last Run: append current date
date >> /.do_date
to:
# Shield Update Version: parse version number from the comments at the top of this script
rm -f /.version
grep -oP "^\s*#\s*VER.*-\s*\K([0-9\.]+)(?=\s*#\s*$)" /sbin/fw_upgrade >> /.version
# Shield Update Last Run: append current date
rm -f /.do_date
date >> /.do_date
and formatting issues now resolved. I am using the 8.3.2 'fw_upgrade' script.
Thank you for pointing me in the right direction.
Shield Pro v1, Chaos Calmer, FW 1.51 SP1, v8.3.2, Bridge Mode