EvokeNet / humhub

A global network of social innovators
http://evokenet.org
5 stars 3 forks source link

Literacy branch EVOKE Activity File uploads are not coming through #599

Open slacey opened 7 years ago

slacey commented 7 years ago

Steps to Reproduce: 1) Log in to Evoke Literacy as an Agent with unlocked Missions 2) Navigate to Mission and enter Activity 3) In Activity, select the File Upload icon and upload a test file and Submit the Evidence

ERROR LOG:

exception 'yii\base\ErrorException' with message 'mkdir(): No such file or directory' in /var/www/html/protected/humhub/modules/file/models/File.php:179 Stack trace: #0 [internal function]: yii\base\ErrorHandler->handleError(2, 'mkdir(): No suc...', '/var/www/html/p...', 179, Array) #1 /var/www/html/protected/humhub/modules/file/models/File.php(179): mkdir('/var/www/html/u...') #2 /var/www/html/protected/humhub/modules/file/models/File.php(240): humhub\modules\file\models\File->getPath() #3 /var/www/html/protected/humhub/modules/file/models/File.php(143): humhub\modules\file\models\File->getStoredFilePath() #4 /var/www/html/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(468): humhub\modules\file\models\File->afterSave(true, Array) #5 /var/www/html/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(427): yii\db\ActiveRecord->insertInternal(NULL) #6 /var/www/html/protected/vendor/yiisoft/yii2/db/BaseActiveRecord.php(593): yii\db\ActiveRecord->insert(true, NULL) #7 /var/www/html/protected/humhub/modules/file/controllers/FileController.php(105): yii\db\BaseActiveRecord->save() #8 /var/www/html/protected/humhub/modules/file/controllers/FileController.php(64): humhub\modules\file\controllers\FileController->handleFileUpload(Object(yii\web\UploadedFile), NULL) #9 [internal function]: humhub\modules\file\controllers\FileController->actionUpload() #10 /var/www/html/protected/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array) #11 /var/www/html/protected/vendor/yiisoft/yii2/base/Controller.php(154): yii\base\InlineAction->runWithParams(Array) #12 /var/www/html/protected/vendor/yiisoft/yii2/base/Module.php(454): yii\base\Controller->runAction('upload', Array) #13 /var/www/html/protected/vendor/yiisoft/yii2/web/Application.php(84): yii\base\Module->runAction('file/file/uploa...', Array) #14 /var/www/html/protected/vendor/yiisoft/yii2/base/Application.php(375): yii\web\Application->handleRequest(Object(humhub\components\Request)) #15 /var/www/html/index.php(25): yii\base\Application->run() #16 {main}

END