Forums | Mahara Community

Support /
Mahara -> Moodle assignment submission not working PHP 7.1


Charles Horton's profile picture
Posts: 1

20 November 2018, 3:56 AM

Hi,

We have been running mahara as a submission type on moodle for a number of years however we have just moved to php 7.1.24, and after initially testing fine we have found an issue where when a student has more than 4 pages available for submission the list doesn't show on the assignment submission page on moodle.

Deleting a page will allow the list to render correctly but obviously this is a fix that'll work for a few instances, as students use the system all year.

Back tracing the issue doesn't seem to provide much in the way of insights, with the error logs being empty. It just seems the payload between the two systems seems to fail when the list gets bigger and it can't be decrypted on the moodle end of things. 

Any help on this would be greatly appreciated as it seems to resist my attempts to remedy it.

 

Robert Lyon's profile picture
Posts: 488

10 December 2018, 2:24 PM

 

Hi Charles,
 
Hmm,this does seem an odd problem.
 
There doesn't seem to be any restriction on the Mahara side to sending a list of pages/collections to Moodle - it uses the VIew::view_search() function and so if it works for 4 pages it should work for 5 or more as there is no limit restriction sent.
 
On the Moodle side the fetched data is then filtered so the pages that are already submitted elsewhere / not portfolio pages etc are removed from the list - but I wouldn't think they all would be filtered out.
 
Unless the packet of data passed between mahara and moodle suddenly got too big between 4 and 5 pages and so the full packet is not accepted by Moodle and so nothing to display
 
Cheers
Robert

 

2 results