Quota Exceeded

Anything about what happens on the user and teacher side
Post Reply
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Quota Exceeded

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

Re: Quota Exceeded

Post by alfa24 »

Hi Graeme,
Anything in server's logs?
Per supporto GRATUITO contattatemi in privato qui
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Quota Exceeded

Post 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
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Quota Exceeded

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

Re: Quota Exceeded

Post by alfa24 »

this error seems related to a copy operation on an existing scorm learning object, not to an upload of a new one...
Per supporto GRATUITO contattatemi in privato qui
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Quota Exceeded

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

Re: Quota Exceeded

Post by alfa24 »

You set a course quota...
Check the course properties
Per supporto GRATUITO contattatemi in privato qui
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Quota Exceeded

Post 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!
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Quota Exceeded

Post by Graeme59 »

The course shows 677.74 MB / 1000 space used for this course, the zip file was only 200Mb
Post Reply