Page 1 of 2

LabelLmsController.php missing file

Posted: Tue Mar 27, 2018 9:08 am
by tempuser
Fatal error: Class 'LabelLmsController' not found in ...................../appLms/index.php on line 107

Re: LabelLmsController.php missing file

Posted: Tue Mar 27, 2018 9:41 am
by alfa24
What is the url of the page that gives you this error?
There is no LabelLms mvc, but LabelAlms... I suppose you are in the admin area, aren't you?

Re: LabelLmsController.php missing file

Posted: Tue Mar 27, 2018 9:48 am
by alfa24
Found!
In middlearea table there is a referral to tbl_label, that activates a "label" tab in main elearning page. When clicking on this tab, you get the error, as there is no frontend mvc module for the Labels.

In /widget/lms_tab/views/lms_tab.php each record of middlearea table is rendered with mvc path, so it expects to find lms/label/show, but the correct path for labels should be elearning/show&id_common_label=-2

Re: LabelLmsController.php missing file

Posted: Tue Mar 27, 2018 10:20 am
by tempuser
So what is the fix that should be done here?

Re: LabelLmsController.php missing file

Posted: Tue Mar 27, 2018 10:25 am
by tempuser
By the way, why my other post related to competences is removed? Isn't it an issue? How can I add competence categories and competences?

Re: LabelLmsController.php missing file

Posted: Tue Mar 27, 2018 10:30 am
by canelli
it's not a bug .
moved in: viewtopic.php?p=19097#p19097

Re: LabelLmsController.php missing file

Posted: Tue Mar 27, 2018 12:30 pm
by tempuser
So what is the fix for the missing label class error? Any workaround? Can you share a file for this class?

Also I have a comment regarding placement of course files under the public folder. Is there some setting to direct this path to some inaccessible location?

By the way, it's not clear to me where the course modules can be added? I see in the documents the course logo and demo files only, where are the core files uploaded?

Re: LabelLmsController.php missing file

Posted: Tue Mar 27, 2018 12:42 pm
by alfa24
It's definitely a bug, I'm sorry to contradict but everyone can replicate.
The link where canelli was supposed to move you has nothing to do with it.

Re: LabelLmsController.php missing file

Posted: Tue Mar 27, 2018 12:46 pm
by max
Hi, Claudio wasn't referring to the issue described in this topic, he was referring to what "tempuser" asked concerning a different thread
By the way, why my other post related to competences is removed? Isn't it an issue? How can I add competence categories and competences?
The post was not deleted, but moved. The answer to THAT post is that it's not a bug but tempuser was not looking into the right place.

Re: LabelLmsController.php missing file

Posted: Tue Mar 27, 2018 12:50 pm
by max
alfa24 wrote:The link where canelli was supposed to move you has nothing to do with it.
exactly what I wrote, canelli's was an answer to a DIFFERENT topic

This kind of misunderstanding is what happens when mixing different topics in a thread ...