Forums

Advanced Access Manager
[resolved] Configuration page shown empty (12 posts)

  1. llucax
    Member
    Posted 9 months ago #

    Since I updated to 0.9.8 I can't see anything in the configuration page.

    If I see the page, source, I can see a bunch of HTML from the plug-in there, so it looks like a problem with the style or something like that...

  2. Vasyl Martyniuk
    Member
    Posted 9 months ago #

    The problem can be with javascript. Can you please check js consol. On Firefox it is Ctrl+Shift+j.
    Thanks

  3. Vasyl Martyniuk
    Member
    Posted 9 months ago #

    The reason I'm asking to do that i'm hiding the whole page until it renders completely, so you see nice (styled with jQuery UI) page instead of confusing HTML

  4. llucax
    Member
    Posted 9 months ago #

    I found plenty of warnings, but just one error:

    Error: this.element.propAttr is not a function
    Source File: http://localhost/~luca/sca/wp-content/plugins/advanced-access-manager/js/ui/jquery-ui.min.js?ver=3.2.1
    Line: 111

  5. llucax
    Member
    Posted 9 months ago #

    FYI, I saw the diff between 0.9.8 and 0.9.7 and saw jquery previously used attr() instead of propAttr(), so I changed the function call in all "jQuery UI Button" code, and it worked again.

  6. Vasyl Martyniuk
    Member
    Posted 9 months ago #

    Hi llucax,
    I didn't expect that there be any problems with jQuery UI library. Probably I'll return back to 1.8.14 version of it.
    Thanks for this comments.

  7. llucax
    Member
    Posted 9 months ago #

    I know very little about JS and nothing about jquery, but maybe the problem is how the library is being used?

    BTW, WP includes a copy of jquery, wouldn't be possible to use that copy instead of duplicating it?

    Thanks for the followup!

  8. Vasyl Martyniuk
    Member
    Posted 9 months ago #

    I'm know that is has a copy but I'm trying to use the latest jQuery UI library with features that local copy does not have (I'm not sure that this is true because I didn't check).
    And i'm guessing you have installed some other plugins which rewrite current jQuery UI and cause this problem.
    Just try to activate Access Manager on brand new WP installation and you'll see that is works :)

    Regards,

  9. llucax
    Member
    Posted 9 months ago #

    Yes, I'm using a a few more plug-ins in my installation :)

  10. Vasyl Martyniuk
    Member
    Posted 9 months ago #

    For experimental purposes can you please deactivate other plugins and check if it works. If no, I'll just go back to previous version of jQuery IU.
    Thanks,

  11. llucax
    Member
    Posted 9 months ago #

    I tried it and the conflicting plug-in is Developer's Custom Fields (0.6.1), in case you find the information useful.

  12. Vasyl Martyniuk
    Member
    Posted 9 months ago #

    Hi llucax,
    This is very helpful information. I wrote an email to the author to change the version of jQuery IU on his plugin. Because he has 1.7.3 and now is stable version 1.8.15.
    Thanks a lot!

Reply

You must log in to post.

About this Plugin

About this Topic