No file uploaded or invalid file type!

Hello i am trying to upload a logo in website’s settings but the system displays the following error “No file uploaded or invalid file type!”.

i am using OJS 3.0.0 and i have full rights in all necessary folders.

why this happens? can i check somehow a log or something else…

thanks for your support.

the website is hosted in windows server.

Did you try some other formats? JPG, PNG?

I do not have such a problem.

i am using only .jpg and .png

what server hosts your site? linux? because my site is in windows server, i am afraid that the problem is in server configuration, because localhost using MAMP the system uploads successfully

As I know in Windows you can perform only one action with the file. It cannot be for example deleted while its open. Unix systems use different file system and algoritms that allow to do so. Maybe OJS 3.0 just do not take it to consideration. I had been already engaged in such problem with writing in filestore in Windows but with another web application.

Maybe this is you case.

i am moving the site in linux server, thanks for your support guys.

Hi @iseferidis (& all),

Have a look at this thread in the FAQ about MIME type identification.

Regards,
Alec Smecher
Public Knowledge Project Team

I have quite similar problem with OJS 3.0:

when I try to upload a .jpg logo as Administrator of the site I get this message:
No file uploaded or invalid file type!

and these appear in the php_errors.log file:

[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Only variables should be passed by reference in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/core/PKPApplication.inc.php on line 210
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of WebFeedPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/acta/ojs/ojs-3.0.0/plugins/generic/webFeed/WebFeedPlugin.inc.php on line 190
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of SettingsTabHandler::initialize() should be compatible with PKPHandler::initialize($request, $args = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/controllers/tab/settings/SettingsTabHandler.inc.php on line 20
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of ValidatorUrl::getRegexp() should be compatible with ValidatorUri::getRegexp($allowedSchemes = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/validation/ValidatorUrl.inc.php on line 19
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of SettingsFileUploadForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/form/SettingsFileUploadForm.inc.php on line 18
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of NewSiteImageFileForm::fetch() should be compatible with SettingsFileUploadForm::fetch($request, $params = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/siteSetup/form/NewSiteImageFileForm.inc.php on line 18
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of NewSiteImageFileForm::initData() should be compatible with Form::initData() in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/siteSetup/form/NewSiteImageFileForm.inc.php on line 18
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of NewSiteImageFileForm::execute() should be compatible with Form::execute($object = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/siteSetup/form/NewSiteImageFileForm.inc.php on line 18
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Notice: Undefined index: pl_PL in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/context/Context.inc.php on line 279
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of NotificationsGridHandler::setUrls() should be compatible with GridHandler::setUrls($request, $extraUrls = Array) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/grid/notifications/NotificationsGridHandler.inc.php on line 239
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of NotificationsGridHandler::initFeatures() should be compatible with GridHandler::initFeatures($request, &$args) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/grid/notifications/NotificationsGridHandler.inc.php on line 239
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Notice: Undefined index: pl_PL in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/context/Context.inc.php on line 279
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 372
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/classes/core/Request.inc.php on line 68
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of RelatedItemsBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/acta/ojs/ojs-3.0.0/plugins/blocks/relatedItems/RelatedItemsBlockPlugin.inc.php on line 18
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of LanguageToggleBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/acta/ojs/ojs-3.0.0/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php on line 106
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Strict Standards: Declaration of WebFeedBlockPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/acta/ojs/ojs-3.0.0/plugins/generic/webFeed/WebFeedBlockPlugin.inc.php on line 105
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/form/Form.inc.php on line 351
[07-Sep-2016 12:48:59 Europe/Warsaw] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/core/PKPRequest.inc.php on line 582
[07-Sep-2016 12:49:04 Europe/Warsaw] PHP Strict Standards: Only variables should be passed by reference in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/core/PKPApplication.inc.php on line 210
[07-Sep-2016 12:49:04 Europe/Warsaw] PHP Strict Standards: Declaration of WebFeedPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/acta/ojs/ojs-3.0.0/plugins/generic/webFeed/WebFeedPlugin.inc.php on line 190
[07-Sep-2016 12:49:04 Europe/Warsaw] PHP Strict Standards: Declaration of SettingsTabHandler::initialize() should be compatible with PKPHandler::initialize($request, $args = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/controllers/tab/settings/SettingsTabHandler.inc.php on line 20
[07-Sep-2016 12:49:04 Europe/Warsaw] PHP Strict Standards: Declaration of ValidatorUrl::getRegexp() should be compatible with ValidatorUri::getRegexp($allowedSchemes = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/validation/ValidatorUrl.inc.php on line 19
[07-Sep-2016 12:49:04 Europe/Warsaw] PHP Strict Standards: Declaration of SettingsFileUploadForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/form/SettingsFileUploadForm.inc.php on line 18
[07-Sep-2016 12:49:04 Europe/Warsaw] PHP Strict Standards: Declaration of NewSiteImageFileForm::fetch() should be compatible with SettingsFileUploadForm::fetch($request, $params = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/siteSetup/form/NewSiteImageFileForm.inc.php on line 18
[07-Sep-2016 12:49:04 Europe/Warsaw] PHP Strict Standards: Declaration of NewSiteImageFileForm::initData() should be compatible with Form::initData() in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/siteSetup/form/NewSiteImageFileForm.inc.php on line 18
[07-Sep-2016 12:49:04 Europe/Warsaw] PHP Strict Standards: Declaration of NewSiteImageFileForm::execute() should be compatible with Form::execute($object = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/siteSetup/form/NewSiteImageFileForm.inc.php on line 18
[07-Sep-2016 12:49:04 Europe/Warsaw] PHP Strict Standards: Declaration of TemporaryFileManager::downloadFile() should be compatible with FileManager::downloadFile($filePath, $mediaType = NULL, $inline = false, $fileName = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/file/TemporaryFileManager.inc.php on line 19
[07-Sep-2016 12:49:04 Europe/Warsaw] PHP Strict Standards: Declaration of TemporaryFileManager::deleteFile() should be compatible with FileManager::deleteFile($filePath) in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/file/TemporaryFileManager.inc.php on line 19
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Only variables should be passed by reference in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/core/PKPApplication.inc.php on line 210
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Declaration of WebFeedPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/acta/ojs/ojs-3.0.0/plugins/generic/webFeed/WebFeedPlugin.inc.php on line 190
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Declaration of SettingsTabHandler::initialize() should be compatible with PKPHandler::initialize($request, $args = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/controllers/tab/settings/SettingsTabHandler.inc.php on line 20
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Declaration of ValidatorUrl::getRegexp() should be compatible with ValidatorUri::getRegexp($allowedSchemes = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/validation/ValidatorUrl.inc.php on line 19
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Declaration of SettingsFileUploadForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/form/SettingsFileUploadForm.inc.php on line 18
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Declaration of NewSiteImageFileForm::fetch() should be compatible with SettingsFileUploadForm::fetch($request, $params = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/siteSetup/form/NewSiteImageFileForm.inc.php on line 18
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Declaration of NewSiteImageFileForm::initData() should be compatible with Form::initData() in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/siteSetup/form/NewSiteImageFileForm.inc.php on line 18
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Declaration of NewSiteImageFileForm::execute() should be compatible with Form::execute($object = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/tab/settings/siteSetup/form/NewSiteImageFileForm.inc.php on line 18
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/form/Form.inc.php on line 370
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/core/PKPRequest.inc.php on line 582
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/form/Form.inc.php on line 370
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/core/PKPRequest.inc.php on line 582
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Only variables should be assigned by reference in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/file/TemporaryFileDAO.inc.php on line 43
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Declaration of TemporaryFileManager::downloadFile() should be compatible with FileManager::downloadFile($filePath, $mediaType = NULL, $inline = false, $fileName = NULL) in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/file/TemporaryFileManager.inc.php on line 19
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Strict Standards: Declaration of TemporaryFileManager::deleteFile() should be compatible with FileManager::deleteFile($filePath) in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/file/TemporaryFileManager.inc.php on line 19
[07-Sep-2016 12:49:21 Europe/Warsaw] PHP Warning: copy(public/site/pageHeaderTitleImage_en_US.jpg): failed to open stream: Permission denied in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/file/FileManager.inc.php on line 155
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Strict Standards: Only variables should be passed by reference in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/core/PKPApplication.inc.php on line 210
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Strict Standards: Declaration of WebFeedPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/acta/ojs/ojs-3.0.0/plugins/generic/webFeed/WebFeedPlugin.inc.php on line 190
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 316
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 316
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 316
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 316
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 316
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 316
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 316
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Strict Standards: Declaration of NotificationsGridHandler::setUrls() should be compatible with GridHandler::setUrls($request, $extraUrls = Array) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/grid/notifications/NotificationsGridHandler.inc.php on line 239
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Strict Standards: Declaration of NotificationsGridHandler::initFeatures() should be compatible with GridHandler::initFeatures($request, &$args) in /home/acta/ojs/ojs-3.0.0/lib/pkp/controllers/grid/notifications/NotificationsGridHandler.inc.php on line 239
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Notice: Undefined index: pl_PL in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/context/Context.inc.php on line 279
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 372
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/acta/ojs/ojs-3.0.0/classes/core/Request.inc.php on line 68
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Strict Standards: Declaration of RelatedItemsBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/acta/ojs/ojs-3.0.0/plugins/blocks/relatedItems/RelatedItemsBlockPlugin.inc.php on line 18
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Strict Standards: Declaration of LanguageToggleBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/acta/ojs/ojs-3.0.0/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php on line 106
[07-Sep-2016 12:49:23 Europe/Warsaw] PHP Strict Standards: Declaration of WebFeedBlockPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/acta/ojs/ojs-3.0.0/plugins/generic/webFeed/WebFeedBlockPlugin.inc.php on line 105

What can be wrong?

Anna

Hi @ania,

The warnings are cosmetic and can be ignored (we’ll clean these up over the next release or two). Did you have a look at the FAQ entry listed above?

Regards,
Alec Smecher
Public Knowledge Project Team

Hello @asmecher

I have experienced the same error (inability to upload logo) along with the sudden log out (http://forum.pkp.sfu.ca/t/ojs-3-sudden-logout/20152)
and communicated both problems to my hosting company in case there is an issue with the server configuration.

I have tried to resolve the issue but to no avail. I have made the
required changes to the config.inc.php and checked the application using
different versions of PHP as well. Also, we are not behind a proxy and
our IP is a static one. I have installed a new application to
http://ij-mp.com/ojs2 , but I’m afraid that the application that we
provide through Softaculous autoinstaller is older version(2.4.8.1).
Could you please re-upload your application if a files are missing,
because while the import process the following error could be fetched
from the console of the browser:

Code:https://ij-mp.com/ojs/plugins/generic/lucene/js/LuceneAutocompleteHandler.js Failed to load resource: the server responded with a status of 404 (OK)

Please check the error, re-upload the files and check the case with the
developers of the application as well. I’m afraid that there are no
errors on the server level that could provide you in oder to help you
with the investigation. If we could help you with applying the changes
required from your or the application’s developers, please provide them
to us and we will be glad to help you.

I received this response from them. Both issues still persist. Please note that the log out usually happens when I am trying to upload files or images.

Please help. I can’t even run a test submission.

Thanks,
ElHassan

Hi @elhassan,

You can resolve the warning message by applying this commit to your installation:

I’m not sure that’ll fix the sudden logout issue. Have you checked whether session_check_ip is enabled in your config.inc.php configuration file? If so, try disabling it.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear @asmecher

I applied the commit. But I can’t check whether upload works or not because now every time I hit upload it loads the image then say that I don’t have permission to do this change (logs out). This happens when I try to upload the logo or homepage image. If I try to upload an image in-text (e.g. under Additional Content) it says

Upload in progress… This is taking longer than usual.
An error may have occurred.

I have already uploaded an image to Additional Content before and it went smoothly.

Is it possibly related to web directory permissions? I am sorry to bother you with all of this. I started out all of this without any knowledge of web development (with the assumption that OJS is well-suited for non experts) and I am learning on the way.

ElHassan

Hi @elhassan,

Did you try disabling session_check_ip per my earlier suggestion? If not, please try that.

Alternately, you may be running into this logout problem, which I’ve asked a developer to take a look at. Watch that thread for an update. For some reason, this seems to happen more regularly with Internet Explorer than other browsers; if you’re using that, you could try another in the meantime.

Regards,
Alec Smecher
Public Knowledge Project Team

hi @asmecher, i still had problem like this, when i check my config of PHP, i see finfo enabled. but the problem still exist,the permission if upload even set to 777, and also why the header of modal box are showing null rather that uploads

Need support on this, I’m using VPS on CentOs with PHP 5.6

Adi Pranadipa

Hi @adipranadipa,

What directory are you setting permissions on?
Note that 777 permissions are never safe to use, though they can be helpful while debugging.

Regards,
Alec Smecher
Public Knowledge Project Team

@asmecher After i did some workaround, the issues is resolved , thanks before

can you write how you resolved it?

I have the same issue and would appreciate your help if you found the solution.

Please tell, what things you have applied, so other may be benefited.

Please guide me how to resolve the issue, I installed OJS3 in linux server

Hi @pharmagp,

Have you tried any of the above advice?

Regards,
Alec Smecher
Public Knowledge Project Team