EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09145
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] document.observe is not a function Error in EPrints3.4.4
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] document.observe is not a function Error in EPrints3.4.4
- From: "MATILUKO, Opeyemi Emmanuel" <opmat01@yahoo.com>
- Date: Fri, 6 Jan 2023 05:49:36 +0000 (UTC)
CAUTION: This e-mail originated outside the University of Southampton.
Hi
I recently upgraded EPrints to version 3.4.4 and the statistics stopped working. On inspection, I see 2 error popping up and the errors are;
1. Uncaught ReferenceError: Class is not defined in auto-3.4.4.js:283:18The line contains var EPJS_Menus = Class.create({...
2. Uncaught TypeError: document.observe is not a functionThis error is from the linedocument.observe("dom:loaded",function(){new EPJS_Stats_Table ({ 'context': {'range':'_ALL_','datatype':'downloads'},'options': {'container_id': 'top-authors', 'top': 'authors', 'view': 'Table', 'limit': '10', 'title': 'Top Authors'}});});
I have added ingredients/prototypejs as a dependencyWhat can be the issue? and what is the possible solution?Thanks
- Follow-Ups:
- [EP-tech] document.observe is not a function Error in EPrints3.4.4
- From: "MATILUKO, Opeyemi Emmanuel" <opmat01@yahoo.com>
- [EP-tech] document.observe is not a function Error in EPrints3.4.4
- References:
- [EP-tech] document.observe is not a function Error in EPrints3.4.4
- From: "MATILUKO, Opeyemi Emmanuel" <opmat01@yahoo.com>
- [EP-tech] document.observe is not a function Error in EPrints3.4.4
- From: "MATILUKO, Opeyemi Emmanuel" <opmat01@yahoo.com>
- [EP-tech] document.observe is not a function Error in EPrints3.4.4
- Prev by Date: Re: [EP-tech] Field author missing
- Next by Date: [EP-tech] Ask about open access and full text on irstats overview
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):