[Risolto] Fatal error su Upload file come Oggetto didattico Forma 2.1
Posted: Thu Mar 21, 2019 12:47 pm
Volevo segnalare un brutto Fatal Error sul comando di Upload file di Oggetto Didattico.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function sl_upload(), 2 passed in /var/www/html/forma20/appLms/modules/item/item.php on line 74 and exactly 3 expected in /var/www/html/forma20/lib/lib.upload.php:74 Stack trace:
#0 /var/www/html/forma20/appLms/modules/item/item.php(74): sl_upload('/tmp/phpFe84zD', '/appLms/item/1_...')
#1 /var/www/html/forma20/appLms/modules/item/item.php(227): insitem()
#2 /var/www/html/forma20/appLms/class.module/class.definition.php(109): include('/var/www/html/f...')
#3 /var/www/html/forma20/appLms/index.php(107): LmsModule->loadBody()
#4 {main} thrown in /var/www/html/forma20/lib/lib.upload.php on line 74
Fatal error: Uncaught ArgumentCountError: Too few arguments to function sl_upload(), 2 passed in /var/www/html/forma20/appLms/modules/item/item.php on line 74 and exactly 3 expected in /var/www/html/forma20/lib/lib.upload.php:74 Stack trace:
#0 /var/www/html/forma20/appLms/modules/item/item.php(74): sl_upload('/tmp/phpFe84zD', '/appLms/item/1_...')
#1 /var/www/html/forma20/appLms/modules/item/item.php(227): insitem()
#2 /var/www/html/forma20/appLms/class.module/class.definition.php(109): include('/var/www/html/f...')
#3 /var/www/html/forma20/appLms/index.php(107): LmsModule->loadBody()
#4 {main} thrown in /var/www/html/forma20/lib/lib.upload.php on line 74