You are viewing the PKP Support Forum | PKP Home Wiki

Fix upgrade problem from to (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 to (Download file)

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

Hi All
After upgrade from to 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

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');
Posts: 32
Joined: Thu Oct 16, 2008 3:27 am

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests