vortex-5 / ddwrt-bwmon

An Individual Bandwidth Monitor For DD-WRT
171 stars 37 forks source link

Webpage not loading properly #24

Closed pords closed 8 years ago

pords commented 8 years ago

usage.js gets updated but the frontend does not display properly. i.e.

screen shot 2016-03-17 at 2 53 45 am
vortex-5 commented 8 years ago

Try clearing your browser cache after you update.

And if that doesn't work take a screen shot of the console errors. (F12)

pords commented 8 years ago

Still doesn't work.

screen shot 2016-03-17 at 1 17 47 pm
vortex-5 commented 8 years ago

It looks like it does not work because it can't access the file /tmp/www/ui-bootstrap-tpls.min.js

this file shows up with http://rouiterIp/user/ui-bootstrap-tpls.min.js

did you change the bwmon.html file?

as you can see https://github.com/vortex-5/ddwrt-bwmon/blob/master/bwmon/www/bwmon.html#L8 the file uses relative path.

You need to access your UI as follows

http://192.168.1.1/user/bwmon.html

or what ever your router IP is.

if you changed it to a DNS entry like with openDNS it won't be able to find the resources.

pords commented 8 years ago

I see. Thank you. Oddly, there is no ui-bootstrap-tpls.min.js in tmp/www/ nor in /jffs/bwmon/www.

vortex-5 commented 8 years ago

Ok maybe it didn't extract properly?