OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Fix upgrade problem from 2.3.1.2 to 2.4.1.0 (Download file)

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Fix upgrade problem from 2.3.1.2 to 2.4.1.0 (Download file)

Postby alexukua » Sun Dec 09, 2012 7:05 am

Hi All
After upgrade from 2.3.1.2 to 2.4.1.0 your can not download any article from journal.

This problem linked with not correct path to file, in database input FileStage by number at the realy path on file system include submission/original, public or submission/review.

For fixed this problem update please
SubmissionFile.inc.php

change function to following state

function getFileStage() {
//add alex
if ($this->getData('fileStage')==1){
return 'submission/original';
}
if ($this->getData('fileStage')==7){
return 'public';
}

if ($this->getData('fileStage')==2){
return 'submission/review';
}
//end add alex


// return $this->getData('fileStage');
}
alexukua
 
Posts: 32
Joined: Thu Oct 16, 2008 3:27 am

Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests