Add repository error

Anything about what happens on the user and teacher side
Post Reply
wicaq
Newbie
Posts: 3
Joined: Thu Dec 15, 2022 3:37 am

Add repository error

Post 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.
alfa24
Senior Boarder
Posts: 2008
Joined: Fri Nov 24, 2017 8:45 am

Re: Add repository error

Post by alfa24 »

Forma version?
relative URL where the error is fired?
Per supporto GRATUITO contattatemi in privato qui
wicaq
Newbie
Posts: 3
Joined: Thu Dec 15, 2022 3:37 am

Re: Add repository error

Post by wicaq »

Thanks for the reply,

Version 3.2.1
mylms/appLms/index.php?modname=light_repo&op=mod_repo
alfa24
Senior Boarder
Posts: 2008
Joined: Fri Nov 24, 2017 8:45 am

Re: Add repository error

Post 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
Per supporto GRATUITO contattatemi in privato qui
wicaq
Newbie
Posts: 3
Joined: Thu Dec 15, 2022 3:37 am

Re: Add repository error

Post 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.
alfa24
Senior Boarder
Posts: 2008
Joined: Fri Nov 24, 2017 8:45 am

Re: Add repository error

Post by alfa24 »

You're welcome.
Per supporto GRATUITO contattatemi in privato qui
Post Reply