PDF buttons not being shown

Hi everybody,

I have installed OMP 3.1.0 in different machine environments (basically, a MAMP and CentOS 7), and everything works quite out of the box, but when I publish a book, the PDF download buttons are now shown.
Not in the side, not down (picture attached)

Information about the system:
PHP 5.4.16
Apache 2.4.6
MariaDB 5.5.52

Thanks!
EDIT: I’ve checked the logs, and there’s nothing except a warning about mktime ttimezone settings.

On the other hand, I’ve also tried with PHP 7.1.3 and there are several warnings:

[details=Summary][Wed Apr 19 14:30:01.771311 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of CatalogBookHandler::authorize($request, &$args, $roleAssignments) should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /var/www/html/omp-3.1.0/pages/catalog/CatalogBookHandler.inc.php on line 23, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/newReleases
[Wed Apr 19 14:30:01.771405 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of CatalogBookHandler::setupTemplate($request, $publishedMonograph) should be compatible with PKPHandler::setupTemplate($request) in /var/www/html/omp-3.1.0/pages/catalog/CatalogBookHandler.inc.php on line 23, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/newReleases
[Wed Apr 19 14:30:01.832480 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of LanguageToggleBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /var/www/html/omp-3.1.0/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php on line 110, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/newReleases
[Wed Apr 19 14:30:01.832561 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of LanguageToggleBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /var/www/html/omp-3.1.0/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php on line 110, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/newReleases
[Wed Apr 19 14:30:01.832578 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of LanguageToggleBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /var/www/html/omp-3.1.0/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php on line 110, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/newReleases
[Wed Apr 19 14:30:01.865740 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /var/www/html/omp-3.1.0/classes/monograph/SubmissionFileDAO.inc.php on line 23, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/newReleases
[Wed Apr 19 14:30:01.867858 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of PayPalPlugin::displayPaymentSettingsForm(&$params, &$smarty) should be compatible with PKPPaymethodPlugin::displayPaymentSettingsForm(&$params, $smarty) in /var/www/html/omp-3.1.0/plugins/paymethod/paypal/PayPalPlugin.inc.php on line 18, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/newReleases
[Wed Apr 19 14:30:01.884584 2017] [php7:notice] [pid 3510] [client 10.0.2.2:59617] PHP Notice: Only variables should be passed by reference in /var/www/html/omp-3.1.0/lib/pkp/classes/currency/CurrencyDAO.inc.php on line 90, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/newReleases
[Wed Apr 19 14:30:02.266848 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of PageHandler::authorize($request, &$args, $roleAssignments) should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /var/www/html/omp-3.1.0/lib/pkp/controllers/page/PageHandler.inc.php on line 19, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/book/1
[Wed Apr 19 14:30:02.317034 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of LanguageToggleBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /var/www/html/omp-3.1.0/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php on line 110, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/book/1
[Wed Apr 19 14:30:02.317117 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of LanguageToggleBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /var/www/html/omp-3.1.0/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php on line 110, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/book/1
[Wed Apr 19 14:30:02.317135 2017] [php7:warn] [pid 3510] [client 10.0.2.2:59617] PHP Warning: Declaration of LanguageToggleBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /var/www/html/omp-3.1.0/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php on line 110, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/book/1
[Wed Apr 19 14:30:02.558455 2017] [php7:warn] [pid 3536] [client 10.0.2.2:59619] PHP Warning: Declaration of CoverHandler::authorize($request, &$args, $roleAssignments) should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /var/www/html/omp-3.1.0/controllers/submission/CoverHandler.inc.php on line 121, referer: http://127.0.0.1:30080/omp-3.1.0/index.php/test/catalog/book/1[/details]

Hi @Oriol_RF,

Those warnings are cosmetic and can be ignored. Have you approved the book’s files on the Production area of the workflow?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher ,

yes, the documents are approved in the workflow/production tab. Then, chapters are selected under the catalog/monograph tab.

Thanks!

Huh, sorry, I’m not sure if I made myself clear. They were already approved and they are not being shown at the moment.

Hi @Oriol_RF,

Could you post a screenshot of the Production page (obscuring anything you don’t want to share)?

Regards,
Alec Smecher
Public Knowledge Project Team

It’s just test stuff so there’s not really much to hide haha

Hi @Oriol_RF,

Work through the “Availability” column – you’ll need to make sure everything there is approved and configured (e.g. open access).

Regards,
Alec Smecher
Public Knowledge Project Team

Oh, wow. I’ve been trying to sort out if there were any dependencies missing and all I needed was to take a closer look to the interface… I understood that clicking “not available” would make the file, erm, not available. Not the other way around.

So sorry for asking, and THANKS for your help :slight_smile:

Hi @Oriol_RF,

Not a problem, and glad to hear it’s working!

Regards,
Alec Smecher
Public Knowledge Project Team