NEUBIAS / bise

BIII development repository
http://biii.eu
GNU General Public License v2.0
5 stars 14 forks source link

workflows not displayed any more #204

Closed PerrineGilloteaux closed 1 year ago

PerrineGilloteaux commented 1 year ago

still working on test.biii.eu, but is not working with a former db export from april , neither from the one in 2021. Was however beginning of the year, so maybe javascript or theme update related? web/themes/custom/projet/js/bise-core-ontology-master/wf-html-vis/main.js

PerrineGilloteaux commented 1 year ago

Working again right now ? Could be related to Cache Clearing (It seems not since did not solve the pb on my local deployment) ? Did someone did something ??? @miura ? image http://biii.eu/microtubules-tool-3d

miura commented 1 year ago

Hi @PerrineGilloteaux , (cc @czhci ) it might be because of the PHP version but not sure. In the dev site, the workflow does not appear (test.biii.eu is currently running with PHP version 7.4, which should not and should be at least 8.0)

https://test.biii.eu/microtubules-tool-3d

and the error is: image

As the production site and the test cannot have different PHP version (.ohvconfig file with different PHP versions in each subdomain does not work at the moment). This is the similar situation like the one reported here:

https://community.ovh.com/en/t/php-compatibility-issue-between-two-different-subdomains/14116

So I will test with more modern PHP version and make sure that it works with this microtubule page. Otherwise, I will not upgrade the production site from drupal 8.9 to 9.5.

PerrineGilloteaux commented 1 year ago

I dont think so, it was working friday on dev ( test.biii.eu) . And at some point friday it was also working on biii.eu so i suspect it is more related to java?

PerrineGilloteaux commented 1 year ago

Right now it was working on biii.eu , and 5 minutes later it was not

PerrineGilloteaux commented 1 year ago

The wf visualisation is a Java script

PerrineGilloteaux commented 1 year ago

Was also working from http biii or dev biii ( not https) and then stopped working.

miura commented 1 year ago

Hi @PerrineGilloteaux

thanks, it's because of that. here is the explanation:

image

I will try to look for what I can do.

miura commented 1 year ago

The above commit fixed the test site for this issue. It will probably fix the main site in 8.9 as well, because it's an issue with javascript and security. Let's see...

https://test.biii.eu/microtubules-tool-3d

miura commented 1 year ago

waiting for deployment in the production site

miura commented 1 year ago

Fixed. https://biii.eu/microtubules-tool-3d