Miss imagen on texture XML on OJS 3.2 actualization

Hi! some help

After actualization of OJS 3.1 to 3.2, I lost links to my images in XML format make by texture.

Some idea?

Hi @luismurillo,

Can you explain in more details? The links were deleted/modified from XML? They are not shown by Texture/Lens Viewer/JATS Parser?

Hi, thank you.

The problem is here

imagen

I cant see the image, I lost the link

imagen

this is when I click the image

I have this logs
imagen

@luismurillo,

I can’t reproduce it in OJS 3.2.0.0 but according to the screenshots it’s modified version of Lens Viewer. You are using Lens Viewer BITS Plugin, right?

Yes right, I am using lens viewer bits

The problem is, If I use the other plugin, I have this

imagen

Hi @luismurillo,

Apologies, the lensGalleyBits plugin is not yet supported in OJS 3.2.0

But I am going to add that support next week.

As soon as I will update it, I will let you know in this thread.

Best wishes,
Dulip

By another plugin you mean Lens Viewer or JATS Parser? The latter hasn’t been yet released for 3.2.0

Also for Lens Viewer this error was fixed in this commit: pkp/pkp-lib#5570 Fix lens galley view · asmecher/lensGalley@cee8f7d · GitHub
and was added to a new release.

Hi
Lens Viewer plugin

this is my last logs

[24-Mar-2020 16:12:31 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home/medicinaclinica/public_html/plugins/generic/registrationNotification/RegistrationNotificationPlugin.inc.php on line 54
[24-Mar-2020 16:12:31 UTC] ojs2: 404 Not Found
[24-Mar-2020 16:12:50 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home/medicinaclinica/public_html/plugins/generic/registrationNotification/RegistrationNotificationPlugin.inc.php on line 54
[24-Mar-2020 16:12:50 UTC] ojs2: 404 Not Found
[24-Mar-2020 16:12:59 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home/medicinaclinica/public_html/plugins/generic/registrationNotification/RegistrationNotificationPlugin.inc.php on line 54
[24-Mar-2020 16:12:59 UTC] ojs2: 404 Not Found
[24-Mar-2020 16:13:03 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home/medicinaclinica/public_html/plugins/generic/registrationNotification/RegistrationNotificationPlugin.inc.php on line 54
[24-Mar-2020 16:13:03 UTC] ojs2: 404 Not Found

Sorry again.

this is the log with the lens Viewer BITS

[24-Mar-2020 16:21:00 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home/medicinaclinica/public_html/plugins/generic/lensGalleyBits/LensGalleyBitsPlugin.inc.php on line 158
[24-Mar-2020 16:21:00 UTC] ojs2: 404 Not Found
[24-Mar-2020 16:21:00 UTC] ojs2: 404 Not Found
[24-Mar-2020 16:21:00 UTC] ojs2: 404 Not Found
[24-Mar-2020 16:21:00 UTC] ojs2: 404 Not Found
[24-Mar-2020 16:21:00 UTC] ojs2: 404 Not Found

adn with lens Viewer

nothing happend

imagen
the site stay loading, but nothing

and this is the error with teh lens viewer plug in, that dont load

[24-Mar-2020 21:04:48 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home/medicinaclinica/public_html/plugins/generic/registrationNotification/RegistrationNotificationPlugin.inc.php on line 54
[24-Mar-2020 21:04:49 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home/medicinaclinica/public_html/plugins/generic/registrationNotification/RegistrationNotificationPlugin.inc.php on line 54
[24-Mar-2020 21:05:00 UTC] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /home/medicinaclinica/public_html/plugins/generic/registrationNotification/RegistrationNotificationPlugin.inc.php on line 54
[24-Mar-2020 21:12:26 UTC] PHP Fatal error: Uncaught Error: Call to a member function getPublished() on null in /home/medicinaclinica/public_html/classes/search/ArticleSearch.inc.php:278
Stack trace:
#0 /home/medicinaclinica/public_html/plugins/generic/recommendByAuthor/RecommendByAuthorPlugin.inc.php(137): ArticleSearch->formatResults(Array)
#1 /home/medicinaclinica/public_html/lib/pkp/classes/plugins/HookRegistry.inc.php(107): RecommendByAuthorPlugin->callbackTemplateArticlePageFooter(‘Templates::Arti…’, Array)
#2 /home/medicinaclinica/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php(1237): HookRegistry::call(‘Templates::Arti…’, Array)
#3 /home/medicinaclinica/public_html/cache/t_compile/93b4f13326abf2c920de729fdcdace1580d9bcb7^addd65021fadf964339ab08cd1aa93ba59b14e9c_0.app.frontendobjectsarticledet.php(573): PKPTemplateManager->smartyCallHook(Array, Object(Smarty_Internal_Template))
#4 /home/medicinaclinica/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5e78fd3a8649c2_7 in /home/medicinaclinica/public_html/classes/search/ArticleSearch.inc.php on line 278

It looks like this error is associated with RecommendByAuthorPlugin.
What errors do you see in browser console while trying to view XML?

I have this with the lensGalleyBits

WARNING: cdn.mathjax.org has been retired. Check MathJax CDN shutting down on April 30, 2017. Alternatives available. | MathJax for migration tips. MathJax.js:32:13

! 233:213:11

Could not lookup targetNode for annotation journal-article-ref-bdc11755ea0cb8807316f641409abb28 journal-article-ref-5943bd6a1befec8f3084a66b051a023a lens.js:4:7237

pubDate

with the normal plugin lensViewer, I have this

TypeError: t.querySelector(…) is nulllens.js:3:9177

test https://medicinaclinica.org/plugins/generic/lensGalley/lib/lens/lens.js:3

convertDocument https://medicinaclinica.org/plugins/generic/lensGalley/lib/lens/lens.js:5

openReader https://medicinaclinica.org/plugins/generic/lensGalley/lib/lens/lens.js:5

jQuery 4

Some hlep with tihs @Vitaliy

It seems that the file cannot be rendered because of some incompatibility. Does it happen for all files? Is JATS XML valid?