Article download issue after migration

Hello,
I’ve migrated from 2.2.4 to 2.4.6 using the relative guide.

The website is correctly working, if I click on an article I can see the abstract, clicking on the PDF link a new page is shown but is completely empty:
url: http://www.mywebsite.com/ojs/index.php/journal1/article/view/558/641

In this page I can see in the HTML code an object referring to the following
url: http://www.mywebsite.com/ojs/index.php/journal1/article/viewFile/558/641

In this page there is another link to download the PDF, clicking on that link a blank page is shown.
url: http://www.mywebsite.com/ojs/index.php/journal1/article/download/558/641

In the Apache2 access.log and error.log I see no errors, and all the pages returned code 200.

Can somebody please help me debugging this strange behavior?
Do you know which method is responsible to respond to the following two paths?
{journal_name}/article/viewFile/{article_id}/{dont_know_whats_that}
{journal_name}/article/download/{article_id}/{dont_know_whats_that}

Thank you.

To map a URL to the code, look in the “pages” folder for the RESTful object, here “articles”. The index.php there indicates that all of the article operations (including viewFile and download) are resolved by the ArticleHandler:

Looking at the ArticleHandler, you’ll find a method for each of these operations:

The first parameter, as you note, is the $articleId. The second is the $galleyId.

1 Like