Cant upload logo in ojs 3.1.0.1

ojs3

#1

In Log its showing (::1 - - [02/Mar/2018:17:49:16 +0530] “GET /OJS/index.php/art/$$$call$$$/tab/settings/website-settings-tab/show-file-upload-form?fileSettingName=pageHeaderLogoImage&fileType=image&_=1519989177335 HTTP/1.1” 200 115 “http://localhost/OJS/index.php/art/admin/contexts?openWizard=1” “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.168 Safari/537.36”)


#2

Exactly the same problem. Solved with this: Upgrade to OJS 3.1.1.4 - The current role does not have access to this operation

Try adding the following to /lib/pkp/controllers/tab/settings/AdminSettingsTabHandler.inc.php (line 37)
$this->addRoleAssignment(ROLE_ID_SITE_ADMIN,
array(
‘showFileUploadForm’,
‘uploadFile’,
‘saveFile’,
‘deleteFile’,
‘fetchFile’
)
);