You cannot access Ajax views directly

Last night I installed elgg 2.0.3 and when I click on any link that uses a lightbox I get redirected to devdomain/ajax/view/object/plugin/details?guid=7 and a message appears saying: "You cannot access Ajax views directly". 

  • have all the javascripts finished loading? As of Elgg 2.0 all js is loaded in the footer of the page, this means you get to see the page and then all the js gets loaded.

    If the js is not yet loaded, lightbox links haven't been 'initialized' to load in the lightbox. So if you click a link you'll go to the url of the link.

  • You were correct sire. It looks like another plugin is causing the issue. After disabling multiple plugins the isse is no longer there. Thank you. 

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking