While adding a glossary entry I opted to attach a file. I browsed to my mp3s and tried to upload one. Screen shot of the error I got is attached. The full error message is below. I think me not being able to upload the file is fine. Its too big. However, this should be handled better.
ERROR: Invalid JSON string
( ! ) Warning: POST Content-Length of 11893798 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
( ! ) Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent in /home/andrew/Desktop/repos/moodle/lib/sessionlib.php on line 137
Call Stack
#TimeMemoryFunctionLocation
10.0007240376
20.0009267504require_once( '/home/andrew/Desktop/repos/moodle/config.php' )../repository_ajax.php:31
30.0019524152require_once( '/home/andrew/Desktop/repos/moodle/lib/setup.php' )../config.php:28
40.090920318568session_get_instance( )../setup.php:588
50.090920319736database_session->__construct( )../sessionlib.php:51
60.090920319936session_stub->__construct( )../sessionlib.php:396
70.091020326432session_start
( )../sessionlib.php:137
( ! ) Warning: Cannot modify header information - headers already sent in /home/andrew/Desktop/repos/moodle/repository/repository_ajax.php on line 60
Call Stack
#TimeMemoryFunctionLocation
10.0007240376{main}
( )../repository_ajax.php:0
20.173636065096header
( )../repository_ajax.php:60
( ! ) Warning: Cannot modify header information - headers already sent in /home/andrew/Desktop/repos/moodle/repository/repository_ajax.php on line 61
Call Stack
#TimeMemoryFunctionLocation
10.0007240376
( )../repository_ajax.php:0
20.173636065056header
( )../repository_ajax.php:61
Close
- has been marked as being related by
-
MDL-23961 Meaningful Popup when uploading fail because of PHP post max upload size limits
-
- Closed
-