Author Topic: [BUG] Yum Manager - "Installed Packages" blank table root cause found (CWP 1.6)  (Read 6 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Confirmed Diagnosis: Path bug in Yum Manager module (CWP 1.6)

Hello everyone,

I confirm the cause of the failure regarding the blank table in "Installed Packages". This is not an issue with AlmaLinux 8 or dnf commands on my VPS, but rather a static path bug introduced in the web interface of v1.6 or possibly earlier.

Details of the finding:
1. Upon loading the page, the web console throws a 404 Not Found error trying to fetch the script from:
   .../admin/design/charts/sparklines/jquery.sparkline.js
2. When checking the internal directory tree of cwpsrv, the actual file is located under an additional subfolder:
   /usr/local/cwpsrv/htdocs/admin/design/plugins/charts/sparklines/jquery.sparkline.js

For the CWP development team:
There is an omission of the /plugins/ directory in the sparklines script call within the backend of the yum_manager PHP file. This error halts the execution of subsequent scripts and prevents the initialization of the .DataTable() function, which is responsible for rendering the package list in the GUI.
_
Distro Name: CentOS Linux release 7.9 (Core)
CWPpro version: 0.9.8.1181
Web Servers: nginx-apache