Giter VIP home page Giter VIP logo

Comments (5)

mmabrahamson avatar mmabrahamson commented on July 17, 2024

Hello! I wanted to verify that a few things were done that might have resolved this:

  • The plugin was installed through the usual plugin installation method.
  • The configuration screen was accessed and saved (this should be done even if you are upgrading and the plugin was previously configured)
  • All data in the Configuration screen was filled in and there were no missing variables.
  • The plugin has permissions to create a JavaScript file in its own directories.

The javascript is created on save of the configuration data now in order to speed up load times for end users, so it must be opened and saved at least once after install.

from edsapi-koha-plugin.

ricofreak avatar ricofreak commented on July 17, 2024

Thanks for the quick reply Micheal:

* The plugin was installed through the usual plugin installation method.

Yes, I installed the 21.05 KPZ via the normal Koha method.

* The configuration screen was accessed and saved (this should be done even if you are upgrading and the plugin was previously configured)

Yes, I did this.

* All data in the Configuration screen was filled in and there were no missing variables.

There are no missing variable and all the data was retained when the plugin was upgraded to the 21.05 version.

* The plugin has permissions to create a JavaScript file in its own directories.

It can, and I see that the plugin did add its own JavaScript on 10/6/2021 which was after I installed a 21.05 version.

from edsapi-koha-plugin.

kidclamp avatar kidclamp commented on July 17, 2024

I do see some errors in the console:
Source map error: Error: request failed with status 404
Resource URL: https://widgets.ebscohost.com/prod/common/javascript/gss-common.js
Source Map URL: jquery-1.10.2.min.map
2

Permission denied to access property "document" on cross-origin object script_auth_id.js:174:23

Can confirm EDScript.js is updated when settings changed

from edsapi-koha-plugin.

mmabrahamson avatar mmabrahamson commented on July 17, 2024

Can we try a few things to check on this?

First, I just merged an update that fixes some known issues with linking in the 21.05 version. You can download it here: https://github.com/ebsco/edsapi-koha-plugin/blob/master/eds_plugin_21.05002.kpz

Try installing that version and then saving your configuration again.

If it doesn't work after that, can you make sure that there's no script enabled in the "run tool" section? We want to make sure that's empty to see if it's something custom causing the issue as we're unable to duplicate the issue locally so far.

If you're still seeing issues, I've got a potential PR that removes the file mentioned above. I don't think it's needed anymore:
https://github.com/ebsco/edsapi-koha-plugin/blob/remove-widgets-code/eds_plugin_21.05003.kpz

If it's still having issues loading, could you give a link to your Koha instance that we can test against?

from edsapi-koha-plugin.

kidclamp avatar kidclamp commented on July 17, 2024

The site in question is here:
https://galveston.bywatersolutions.com/

I have installed the 21.05003.kpz but the problems persist

from edsapi-koha-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.