Older issues PDFs not accessible

Application version: 3.2.1.1
OS platform: Linux
PHP version: 7.3.23
Apache version: nginx/1.16.1
Database driver: mysqli
Database server version: 10.1.40-MariaDB

We upgraded from 3.1 to 3.2.1.1 back in August, but ever since then, our older issues are not able to load the PDFs of the articles. Newer issues are fine. For instance:

Promissory Narration: Toward a Revised Narrative Homiletic in an Age of Identities | Homiletic (Vol. 45, No. 1, 2020) links to http://homiletic.net/index.php/homiletic/article/view/4920/2692, the PDF version, and it loads fine.

However:
Emily Askew and O. Wesley Allen, Beyond Heterosexism in the Pulpit | Homiletic (Vol. 40, No. 2, 2015) links to http://homiletic.net/index.php/homiletic/article/view/4175/2130 which is supposed to be the PDF version of this article, but all we get is a blank page.

This is happening to all of our OJS journals before 2017 and we haven’t figured out why. Here is the last line from the nginx error log:

2020/10/14 16:21:09 [error] 11384#0: *268229 FastCGI sent in stderr: “PHP message: PHP Warning: ksort() expects parameter 1 to be array, string given in /apps/ojs-3.2.1-1/lib/pkp/pages/about/AboutContextHandler.inc.php on line 76PHP message: PHP Warning: reset() expects parameter 1 to be array, string given in /apps/ojs-3.2.1-1/lib/pkp/pages/about/AboutContextHandler.inc.php on line 77PHP message: PHP Warning: Illegal string offset ‘content’ in /apps/ojs-3.2.1-1/cache/t_compile/6e26f91fd7850127d038c26057d1e9a76495bcec^f59ba25f4aae6a7b19033686947ff5a7d2a098e0_0.app.frontendpagessubmissions
php on line 84” while reading response header from upstream, client: 40.94.33.83, server: homiletic.net, request: “GET /index.php/homiletic/about/submissions HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “homiletic.net”

Ideas?

Hello There

It is because you have failed of upgrading your ojs. I hope you still have the working ojs database and galleys files.

Well, that doesn’t make any sense. We didn’t have any problems doing the upgrade - no errors reported - and the OJS sites are all working - all but the older PDFs. They’re on the server but the linking is wrong. Anyone else have any ideas?

Hi @jmcgranahan,

Talking about this example

Can you find the pdf galley inside the files folder?
.../journals/{your journal's id}/articles/4175/...

Can you look at the errors that occur just after trying access the page that you’ve mentioned (
/index.php/homiletic/article/view/4175/2130)

1 Like

Hello @jmcgranahan

Yes it seems does not make sense to you, but it is usual thing for our team that have upgrade many of journals.