AJS is not define

Hi, we did use your product for couple months now and suddendly it is becoming unusable. I get a couple message says that the macro is unkown (Unknown macro: {recently-updated-dashboard}) also in the scripting errors log i see referenceError : AJS is not defined (in dashboard/batch.js) the fonction serving JavaScript in header is alredy turned on

3 answers

1 accepted

This widget could not be displayed.

I moved my installation to an other server restore my backups and I'm up and running now but there is no way I can reinstall one the original server as it is always missing AJS... Anyway case close for me. And thank you for the full procedure to reinstall

This widget could not be displayed.

It sounds like one of the JavaScript files isn't loading for some reason -- maybe it got corrupted. If you have Firebug or the Chrome debug tools you should be able to look at the network tab and see if something failed to load.

If I look with firebug I don't see any error in the network section. But when I look to the console section there is 3 errors :

SyntaxError: missing ; before statement
{namespace Confluence.Templates.Dialog}
ReferenceError: AJS is not defined
})(AJS.$);
ReferenceError: placeFocus is not defined
placeFocus();
This widget could not be displayed.

I moved my installation to an other server restore my backups and I'm up and running now but there is no way I can reinstall one the original server as it is always missing AJS... Anyway case close for me. And thank you for the full procedure to reinstall

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

199 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you