Page 1 of 1
Quota Exceeded
Posted: Tue Jan 23, 2024 10:35 am
by Graeme59
Hi,
I have an issue uploading a zipped 200Mb Scorm file to LMS running 4.04, php.7.4 (tried 8.0) I am getting an error message Quota Exceded, I have increased the followin:
- upload_max_filesize
post_max_size
memory_limit
max_execution_time
Still no joy.
I tested it on an older version 3.01, and it worked fine, so not the scorm file name or content.
Any Ideas?
Cheers
Graeme
Re: Quota Exceeded
Posted: Tue Jan 23, 2024 11:16 am
by alfa24
Hi Graeme,
Anything in server's logs?
Re: Quota Exceeded
Posted: Tue Jan 23, 2024 11:21 am
by max
can it be that you have a nginx environment and you also have to modify some settings there, and not only on the .php settings? Forgive me for my ignorance: not being a developer I am probably not precise with my wording, but I suppose I am on to something
Re: Quota Exceeded
Posted: Tue Jan 23, 2024 11:38 am
by Graeme59
Error message
hospitality-training.co.uk [Mon Jan 22 17:25:29 2024] [error] [client 86.28.23.206:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function getFirstChild() on null in /home/virtual/vps-d5d7c7/e/e4ce592d4f/public_html/appLms/modules/scorm/CPManager.php:392\nStack trace:\n#0 /home/virtual/vps-d5d7c7/e/e4ce592d4f/public_html/appLms/modules/scorm/CPManager.php(253): CPManager->getFirstElementNode(NULL, 'title')\n#1 /home/virtual/vps-d5d7c7/e/e4ce592d4f/public_html/appLms/modules/scorm/scorm.php(444): CPManager->RenderOrganization('Working_Safely_...', Object(RendererDb))\n#2 /home/virtual/vps-d5d7c7/e/e4ce592d4f/public_html/appLms/class.module/learning.scorm.php(220): _scorm_copyitem('624', 618)\n#3 /home/virtual/vps-d5d7c7/e/e4ce592d4f/public_html/appLms/models/LomanagerLms.php(205): Learning_ScormOrg->copy(618)\n#4 /home/virtual/vps-d5d7c7/e/e4ce592d4f/public_html/appLms/controllers/LomanagerLmsController.php(242): LomanagerLms->paste(0)\n#5 /home/virtual/vps-d5d7c7/e/e4ce592d4f/public_html/lib/mvc/lib.controller.php(65):
Re: Quota Exceeded
Posted: Tue Jan 23, 2024 11:53 am
by alfa24
this error seems related to a copy operation on an existing scorm learning object, not to an upload of a new one...
Re: Quota Exceeded
Posted: Tue Jan 23, 2024 12:24 pm
by Graeme59
I did try to do a copy of a scorm from course objects to My Objects that must have been that error.
The error at the end of the attempted upload is a Forma error message (from Language manager) (QUOTA_EXCEDED "You can't upload any further files because the disk space for this course is full"
It won't let me upload a scorm file regardless of the size same error occurs.
Cheers
Graeme
Re: Quota Exceeded
Posted: Tue Jan 23, 2024 12:35 pm
by alfa24
You set a course quota...
Check the course properties
Re: Quota Exceeded
Posted: Tue Jan 23, 2024 12:36 pm
by Graeme59
I have sorted the issue, in Admin/settings/system config/settings/elearning there is a Limit for the maximum total size of contents uploaded into the course (MB) is was showing 500, I increased this to 1000 and it allowed the upload. More by luck than judgment!
Re: Quota Exceeded
Posted: Tue Jan 23, 2024 12:40 pm
by Graeme59
The course shows 677.74 MB / 1000 space used for this course, the zip file was only 200Mb