GithubHelp home page GithubHelp logo

not working (OJS 3.1.2.4) about citations HOT 7 CLOSED

rboelter avatar rboelter commented on July 21, 2024
not working (OJS 3.1.2.4)

from citations.

Comments (7)

dionojs avatar dionojs commented on July 21, 2024 1

yeap, it was a permission thing, it works ok now

from citations.

RBoelter avatar RBoelter commented on July 21, 2024

Hello,
this looks strange. I tested the plugin 5 minutes ago with OJS 3.1.2.4 and PHP 7.3.22 and it worked. I am wondering why the images are not loaded. What theme are you using? The plugin uses JavaScript to load the citations, it seems that the .css and .js files are not loaded.

from citations.

RBoelter avatar RBoelter commented on July 21, 2024

The plugin inserts a <script src="https://<your journal url>/plugins/generic/citations/js/citations.js?v=3.1.2.4" type="text/javascript"> at the end of the page before the closing '</body>' tag. Can you check if this script is included?

from citations.

dionojs avatar dionojs commented on July 21, 2024

using the default theme.

The script seems to be there

<script src="https://journal_site_address/plugins/generic/citations/js/citations.js?v=3.1.2.4" type="text/javascript"></script>

it is placed before another script about pkpusagedata/stats and
this:

<script type="text/javascript"> --   | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]\|\|function(){   | (i[r].q=i[r].q\|\|[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),   | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)   | })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');   |     | ga('create', 'UA-21806971-2', 'auto');   | ga('send', 'pageview');   | </script>

from citations.

dionojs avatar dionojs commented on July 21, 2024

when I try to visit directly the link of an image
e.g. https://journal_site_address/plugins/generic/citations/images/crossref.png

I get a Forbidden 403 message

("Forbidden
You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request")

from citations.

RBoelter avatar RBoelter commented on July 21, 2024

It seems to be a problem with the folder permissions of your webserver, not with the plugin (403). It looks to me that your Apache server restricts access to the plugin folder. The plugin has no htaccess file, therefore the problem hast to be in a parent folder.

from citations.

dionojs avatar dionojs commented on July 21, 2024

I will check with our host and get back to you.

from citations.

Related Issues (14)

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.