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
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 32
Joined: Thu Oct 16, 2008 3:27 am

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');

Return to “OJS Technical Support”

Who is online

Users browsing this forum: Baidu [Spider] and 4 guests