Bug #8181
Hotspot exercise not showing image
0%
Description
When trying to create a hotspot exercise in Chamilo 1.10.4, I'm not getting the image on which I can then select the areas.
When inspecting the code, this is the error I get:
http://mydomain.be/main/exercice/viv/main/exercice/hotspot_actionscript_admin.as.php?modifyAnswers=51 Failed to load resource: the server responded with a status of 404 (Not Found)
First thing I notice: the part "viv" refers to the internal file structure of my site -and not to any course.
I'm assuming that when chamilo is not installed in the webroot, this piece is injected here thus causing a faulty URL.
Anyway, there is a mixup between public URL and internal URL.
The correct URL should be:
http://mydomain.be/main/exercice/hotspot_actionscript_admin.as.php?modifyAnswers=51
History
Updated by Jurgen Gaeremyn about 6 years ago
My best guess is that the error is occurring in the file /main/exercice/hotspot_admin.inc.php at line 575.
Updated by Jurgen Gaeremyn about 6 years ago
Okay... I figured this one out myself.
I had a few errors. When in configuration.php you add a subfoldername that's not there
(I had my side running in a subfolder of the webroot of my hosting company, but the domain pointed to this folder).
Possibly it could be good to implement a folder check and setting a message when a file is not found.