The Elearning Community • Add repository error
Page 1 of 1

Add repository error

Posted: Thu Dec 15, 2022 8:21 am
by wicaq
Hello,

I experienced an error "err mod repoclose" when adding a repository in a collaborative area with administrator level.

How do I fix this?

Thank you.

Re: Add repository error

Posted: Thu Dec 15, 2022 8:26 am
by alfa24
Forma version?
relative URL where the error is fired?

Re: Add repository error

Posted: Thu Dec 15, 2022 8:50 am
by wicaq
Thanks for the reply,

Version 3.2.1
mylms/appLms/index.php?modname=light_repo&op=mod_repo

Re: Add repository error

Posted: Thu Dec 15, 2022 9:19 am
by alfa24
1) open the file /appLms/lib/lib.light_repo.php
2) go to line 142
3) replace

Code: Select all

$re = sql_query($query);
with

Code: Select all

$re = sql_query($query) or die(sql_error());
4) repeat the operation and post the error

Re: Add repository error

Posted: Thu Dec 15, 2022 10:22 am
by wicaq
The "repo_teacher_alert" field is missing in the "learning_light_repo" table.

I have fixed the problem.

Thanks a lot for your help.

Re: Add repository error

Posted: Thu Dec 15, 2022 10:32 am
by alfa24
You're welcome.

This site uses cookies.

Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies.
You may delete or block all cookies from this site in your browser options.