Hi.
I have OJS 3.0.1 with the lastest patchs Whey I go to /index.php/<journal here>/notification/
the page never shows any notification and the loading image never goes away.
Javascript report the next error:
Uncaught ReferenceError: $ is not defined(anonymous function)
and the code is this:
<script>
// Initialise JS handler.
$(function() { <--------- Error here
$('#normalNotificationsGridContainer').pkpHandler(
'$.pkp.controllers.UrlInDivHandler',
{
sourceUrl: "http:\/\/imedicalsociety.org\/ojs\/index.php\/iam\/$$$call$$$\/grid\/notifications\/normal-notifications-grid\/fetch-grid"
}
);
});
</script>
And I don’t see anything wrong in PHP logs.
Thank you.
Hi @aplatanado ,
What patches have you installed?
Regards,
Alec Smecher
Public Knowledge Project Team
The recommended onces:
https://pkp.sfu.ca/wiki/index.php/OJS_Recommended_Patches
for OSJ and PKP and this one:
pkp:ojs-stable-3_0_1
← kasioumis:runScheduledTasks_fix
opened 05:49PM - 29 Nov 16 UTC
...in runScheduledTasks.php
Hi @aplatanado ,
Hmm, it seems as though JQuery isn’t getting loaded properly. Is your site public and open for registration? If so, I’d like to take a look.
Regards,
Alec Smecher
Public Knowledge Project Team
Hi @asmecher Yes. I think the same but there are no reports of errors when the browser try to load page resources:
The site is public: http://imedicalsociety.org/
I can send you by private the credentials of an account that we use for testing.
Hi @aplatanado ,
Thanks for the details – I see what the problem is and I’ve filed it for attention at Notifications list in front end layout requires back-end JS tools · Issue #2203 · pkp/pkp-lib · GitHub . Feel free to sign up there for notifications on the issue’s status.
Regards,
Alec Smecher
Public Knowledge Project Team