Active
Project:
Opigno LMS (Community version)
Version:
3.0.9
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2024 at 10:49 UTC
Updated:
22 Apr 2025 at 16:41 UTC
Jump to comment: Most recent
Comments
Comment #2
kevster commentedComment #3
kevster commentedIve noticed on the homepage that I have some script errors.
My site is running in a sub folder called web - everything seems to work fine, menu paths etc.
I see two 404 GET errors on the homepage which may give a clue
https://website.com/web/web/opigno_dashboard/get-positioning
https://website.com/web/web/opigno_dashboard/get-blocks
Surely those paths are wrong and should not have web/web/ but only web/ ?
In modules/contrib I have the opgino_dashboard module
Comment #4
eddumundia commentedWas the issue resolved?
Comment #5
kevster commentedHi @eddumundia,
I had to edit two module files to fix this:
templates/opigno-dashboard.html.wig
templates/opigno-dashboard-default.html.twig
I replaced the basepath from
apiBaseUrl: '{{ base_path }}',
to
apiBaseUrl: '',
in both files and then it started working. Both these files were dding web/web/ so the base path was being added twice for some reason?
Comment #6
daskvortsov commentedAbsolutely the same, version 3.1. Change doesn't help.
https://site/web/web/en/opigno_dashboard/get-blocks
https://site/web/web/en/opigno_dashboard/get-default-positioning
I do not know what to do.
Comment #7
tyler.hastainSo I found that the home page (Configuration > System > Basic site settings) HAS to be "/node" for the dashboard to work correctly.