Forums | Mahara Community

Support /
I get an error when I add a Institution members


AB-Net's profile picture
Posts: 91

09 November 2020, 16:02

Hi.

Institution members

I get an error when I add a Institution members.

1.Pepple to display:People who have not rezuested institution membership yet

2.Non-members → People to bi invited

3.Add members button click

 

I get  next message

Site unavailable

A nonrecoverable error occurred. This probably means you have encountered a bug in the system

 

Message sais error,

but members have been added.

Robert Lyon's profile picture
Posts: 757

10 November 2020, 9:39

Hi AB-Net,

I'm not able to repeat this error - is there any information in your error logs about the problem?

Cheers

Robert

AB-Net's profile picture
Posts: 91

10 November 2020, 18:04

Hi Robert,

Thank you for your confirmation.

Attach the server error_log.

I tried to see when the error occurs.

An error occurs when the collection exists in the institution and is set to automatically copy the collection when the user joins the institute.

If there are multiple collections to copy automatically, only one collection will be copied when the user joins the institute, and the rest will not.

I'm glad if it becomes a clue.

AB-Net.

 

  • abnetweb.com.error_log
Robert Lyon's profile picture
Posts: 757

11 November 2020, 12:27

Hi AB-Net,

From looking at your error logs that you supplied it looks like the problem is to do with copying a collection that contains some SmartEvidence annotation blocks.

So there exists some information in the framework_evidence table for this collection of pages.

And so somehow on line https://git.mahara.org/mahara/mahara/-/blob/master/htdocs/lib/collection.php#L480

things fail as it is trying to add a new line for the copied collection page's SmartEvidence annotation but it is clashing with an existing line.

I've not been able to replicate your error locally though, but my guess is there is some data in the framework_evidence table that is not meant to be there - is there any rows that have the same framework / evidence / view number combination?

Cheers

Robert

AB-Net's profile picture
Posts: 91

11 November 2020, 14:13

Hi Robert,

Thank you to the corresponding.

Attach the CSV of the result of executing the following SQL.

select *
from framework_evidence
order by framework,view;

AB-Net.

  • framework_evidence.csv
AB-Net's profile picture
Posts: 91

21 November 2020, 1:46

Hi Robert,

Can you find any good solution?

AB-Net.

AB-Net's profile picture
Posts: 91

21 November 2020, 15:01

Hi Robert,

I need to create a lot of smart evidence
Is there a problem with continuing to register for smart evidence in a situation where the table is full of data?

AB-Net.

Kristina Hoeppner's profile picture
Posts: 4731

28 November 2020, 19:00

The discussion on this last point is now in a different thread.

AB-Net's profile picture
Posts: 91

29 November 2020, 0:01

Hi Kristina.

> The discussion on this last point is now in a different thread.

Another thread is asking about how to migrate smart evidence.

This thread is asking about an error when I add a Institution members.

I think this thread and another thread are asking about different things.

AB-Net.

Kristina Hoeppner's profile picture
Posts: 4731

29 November 2020, 11:02

Hi AB-Net,

I referred to your SmartEvidence question to which I added the reply. :-)

Best,

Kristina

10 results