EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09139
< 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: Sun, 1 Jan 2023 01:43:09 +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:18
The line contains var EPJS_Menus = Class.create({...
2. Uncaught TypeError: document.observe is not a function
This error is from the line
document.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 dependency
What 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
- Prev by Date: Re: [EP-tech] Virtual fields -when does the 'cost' of processing get triggered?
- Next by Date: [EP-tech] Research Data Flavour
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):