centralnicgroup-opensource/rtldev-middleware-whmcs

Hexonet Dashboard Widget fails to load

Closed this issue · 5 comments

Describe the bug
After seing the message "Widget is currently disabled. Use the first icon for enabling" and pressing the refresh icon, nothing happens. Also noticed that two files failed to load:

<script type="text/javascript" src="/admin/\resources\cnic\assets\js\cnic/widget.js"></script>
<link rel="stylesheet" type="text/css" href="/admin/\resources\cnic\assets\css\cnic/widget.css" />

Both of the come with admin subfolder attached to the URL, which cause them to give 404 error (not found).

To Reproduce
Steps to reproduce the behavior:

  1. Go to portal administrator
  2. Make sure HEXONET Dashboard Widget is enabled
  3. Press the refresh icon.

Expected behavior
After pressing refresh, it should display some data.

Screenshots
If applicable, add screenshots to help explain your problem.

Context (please complete the following information):
This was tested on a development platform only

  • Device: Desktop
  • OS: Windows 10 Pro
  • Browser: Firefox 106.0.5
  • WHMCS Version: 8.5.1
  • PHP Version: 7.4.11
  • ISPAPI Registrar Module Version: 16.3.4

@vitor-ao
Thanks for addressing, we'll have a look at this. Still, let me forward that I wonder about Windows being used as Server Software while it isn't supported by WHMCS. Or have you just provided your Desktop OS for reference?

Thanks!

Sorry, mentioned wrong. It's an Apache web server via the Laragon app that I use for development.

Homepage of Laragon is down for an unknown reason. I'll keep you in the loop here.
Looks like this is working fine on other reseller systems. Would it be possible to get access to your system (WHMCS + cPanel / SSH)?

Unfortunately, is a local environment, but thanks for the reseller hint. I've uploaded to the production environment (Linux) and the problem doesn't happen and it load the files correctly.