Pdfviewer not displaying content OJS 3.0.1.0


#1

I have been asked by one editor to help in solving issue:They use OJS 3.0.1.0
When visitor click on PDF it is pointed to proper link but page is not displaying pdfviewer with file. There are no error messages on missing stream etc. since as far as I can see plgin is is not invoked although it is installed and turned on. I checked error_log and I found some messages for several plugins including pdfjsviewer

[25-May-2018 16:02:48 UTC] PHP Strict Standards: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId() should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home/user-journal/public_html/journal/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20
[25-May-2018 16:02:48 UTC] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/user-journal/public_html/journal/classes/article/SubmissionFileDAO.inc.php on line 23
[25-May-2018 16:02:48 UTC] PHP Strict Standards: Declaration of AbntCitationPlugin::fetchCitation() should be compatible with CitationPlugin::fetchCitation($article, $issue, $journal) in /home/user-journal/public_html/journal/plugins/citationFormats/abnt/AbntCitationPlugin.inc.php on line 0
[25-May-2018 16:02:48 UTC] PHP Strict Standards: Declaration of AbntCitationPlugin::manage() should be compatible with Plugin::manage($args, $request) in /home/user-journal/public_html/journal/plugins/citationFormats/abnt/AbntCitationPlugin.inc.php on line 0
[25-May-2018 16:02:48 UTC] PHP Strict Standards: Only variables should be assigned by reference in /home/user-journal/public_html/journal/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 90
[25-May-2018 16:03:28 UTC] PHP Strict Standards: Declaration of PdfJsViewerPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/user-journal/public_html/journal/plugins/generic/pdfJsViewer/PdfJsViewerPlugin.inc.php on line 17
[25-May-2018 16:03:28 UTC] PHP Strict Standards: Declaration of WebFeedPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/user-journal/public_html/journal/plugins/generic/webFeed/WebFeedPlugin.inc.php on line 0
[25-May-2018 16:03:28 UTC] PHP Strict Standards: Declaration of RecommendByAuthorPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/user-journal/public_html/journal/plugins/generic/recommendByAuthor/RecommendByAuthorPlugin.inc.php on line 0
[25-May-2018 16:03:28 UTC] PHP Strict Standards: Declaration of LensGalleyPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/user-journal/public_html/journal/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 0
[25-May-2018 16:03:28 UTC] PHP Strict Standards: Declaration of OrcidProfilePlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/user-journal/public_html/journal/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 0
[25-May-2018 16:03:28 UTC] PHP Strict Standards: Declaration of PageHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/user-journal/public_html/journal/lib/pkp/controllers/page/PageHandler.inc.php on line 19

Please advise.


#2

Hi @vvucic

Have you checked if PDF viewer plugin is enabled?

Regards,
Israel Cefrin
Public Knowledge Project Team


#3

Buen día
Empece a utilizar la versión 3.1.1.2… y ya he subido los datos de dos revistas, sin embargo no logro visualizar la información, me ayudas?.


#4

Hi @sandra2

If you are facing same issue that originally has been posted here, please check PDF viewer plugin. Otherwise, open a new post to avoid clutter the forum.

Regards,
Israel Cefrin
Public Knowledge Project Team


#5

I realized that server infection and strange htaccess server-wise rules caused various redirections including blank page when pdf file viewer should be invoked.
I think that this is not issue of OJS but rather of strange htaccess rules/directives and infection.
Thanks indeed