• Resolved babasteve

    (@stevema93)


    ENGLISH
    Hello,
    I installed this plugin but nothing is displayed in the settings.
    FYI, I tried to install the plugin with the administration (through the extension and extension in zip), and also with FTP. Nothing is displayed.
    I tried to disable the plugins but it does not display anyway. I use the oceanwp theme.
    As stated on your website, I opened the error console javascript and here is what is written:

    FRENCH
    Bonjour,
    j’ai installé ce plugin mais rien ne s’affiche dans les réglages.
    J’ai essayé de désactiver les plugins mais ?a ne s’affiche pas quand même. J’utilise le thème oceanwp.
    Pour info, j’ai essayé d’installer le plugin avec l’administration (grace à l’ajout extension et en zip), et aussi avec FTP. Rien ne s’affiche.
    Comme indiqué sur votre site internet, j’ai ouvert la console d’erreur javascript et voici ce qui est écrit:

    load-scripts.php:8 JQMIGRATE: Migrate is installed, version 1.4.1
    actor-selector.js:1 Failed to load resource: the server responded with a status of 404 ()
    access-editor.js:1 Failed to load resource: the server responded with a status of 404 ()
    actor-selector.js:1 Failed to load resource: the server responded with a status of 404 ()
    menu-editor.js:152 Uncaught ReferenceError: AmeActorSelector is not defined
    at menu-editor.js:152
    at menu-editor.js:5055

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    These errors probably mean that a few of the plugin files are either missing or inaccessible. Could you take a look at the /wp-content/plugins/admin-menu-editor/modules/actor-select directory with your FTP application? This directory should contain several files including actor-selector.js. If the directory is missing or the actor-selector.js file is not there, please try deleting and reinstalling the plugin.

    Thread Starter babasteve

    (@stevema93)

    I tried, it still does not show up. I also looked at what lines 88, 99 and 90 refer to, but I do not see how much I can do to remove those mistakes.

    By making changes on my site now, I have these errors:

    JQMIGRATE: Migrate is installed, version 1.4.1
    options-general.php?page=menu_editor:90 GET https://www.nianiarez.fr/wp-content/plugins/admin-menu-editor/modules/actor-selector/actor-selector.js?ver=1555447454 net::ERR_ABORTED 404
    options-general.php?page=menu_editor:88 GET https://www.nianiarez.fr/wp-content/plugins/admin-menu-editor/modules/access-editor/access-editor.js?ver=1507988726 404
    options-general.php?page=menu_editor:90 GET https://www.nianiarez.fr/wp-content/plugins/admin-menu-editor/modules/actor-selector/actor-selector.js?ver=1555447454 404
    menu-editor.js?ver=1549528928:152 Uncaught ReferenceError: AmeActorSelector is not defined
    at menu-editor.js?ver=1549528928:152
    at menu-editor.js?ver=1549528928:5055

    Plugin Author Janis Elsts

    (@whiteshadow)

    Do the URLs in the error messages work for you or do you also get a 404 when you try to open them? I tried clicking the links but I got what appears to be some sort of a “coming soon” page in French. If these pages are generated by a plugin, try temporarily deactivating it in case there’s a plugin conflict.

    Thread Starter babasteve

    (@stevema93)

    yes my site is under construction, that’s why there is a maintenance page. ??
    I tried to disable the maintenance plugin and nothing is displayed anyway in the plugin “Admin Menu Editor”.
    Still with the maintenance plugin disabled, I looked at the errors and tried to access these error pages. I have a 404 error on the 3 pages. ??

    There are 3 other links in the error console that lead to a page. I leave the maintenance plugin disabled for as long as you look if it can serve you. Tell me when you have watched so that I can re-enable the maintenance plugin:

    https://www.nianiarez.fr/wp-content/plugins/admin-menu-editor/js/menu-editor.js?ver=1549528928
    https://www.nianiarez.fr/wp-content/plugins/admin-menu-editor/js/menu-editor.js?ver=1549528928
    https://www.nianiarez.fr/wp-content/plugins/admin-menu-editor/js/menu-editor.js?ver=1549528928

    Thank you for your time

    Plugin Author Janis Elsts

    (@whiteshadow)

    I’ve looked at the site and now I’m also getting 404 errors for the links that were in your previous post.

    Just to verify, have you looked at the admin-menu-editor directory to confirm that the modules subdirectory actually exists and is not empty? All of the non-working links seem to point to that specific subdirectory.

    Thread Starter babasteve

    (@stevema93)

    yes I checked as you asked me in your previous message. I first tried to send it back via FTP, then delete / return by FTP, then remove AME from my site and send back.

    In all these cases the page remains blank and the same errors are displayed.

    I looked at what lines 88 and 89 of this file correspond to:

    //Notify subscribers that the selection has changed.
    if (this.selectedActor !== previousSelection) {
    for (var i = 0; i < this.subscribers.length; i++) {
    this.subscribers[i](this.selectedActor, previousSelection);
    }
    }

    I thought it could come from a personal settings wordpress but I have no idea. This I do not know much, I tried to change the CHMOD, same mistakes.
    Can it come from a conflict with a line of the htaccess or wp-config?

    Plugin Author Janis Elsts

    (@whiteshadow)

    I looked at what lines 88 and 89 of this file correspond to: […]

    I think that code isn’t the problem; the main issue is that some of the plugin files appear to be inaccessible.

    Can it come from a conflict with a line of the htaccess or wp-config?

    Yes, an incorrect line in .htaccess could technically cause a problem like this. Unfortunately, I can’t give you any more specific advice on this since there are many ways to accidentally block access to something.

    I think wp-config.php probably isn’t involved.

    Thread Starter babasteve

    (@stevema93)

    actually it was a problem with the htaccess file. I have hidden this line and the plugin “Admin Menu Editor” is displayed (I have not yet check if it works correctly but if it is the case I will create another ticket).
    FYI, in case the problem arises for someone else, here is the line of the htaccess concerned:

    RewriteRule “(\.svn|\.git|\.hg|\.bzr|\.cvs|.ssh|install?|users?|modules|node|core|config(ure|uration)?|options?|settings?|functions?|setup|[-_a-z0-9.]*cms[-_a-z0-9.]*|[-_a-z0-9.]*php[-_a-z0-9.]*|null|^root|^logs?)/.*” – [NC,F]

    Unfortunately I do not know very much about code htacces and I would like to delete only the value that prevents your plugin from working. Do you know how to adapt this htaccess line to make AME work?

    Thread Starter babasteve

    (@stevema93)

    To check but it seems that it is enough to remove only the value “module” of the line htacces which creates problem.

    The problem is solved. Thank you again for your quick help, without you I will certainly have abandoned this plugin. You are an excellent support!

    The good line:

    RewriteRule “(\ .svn | \ .git | \ .hg | \ .bzr | \ .cvs | .ssh | installer? | Utilisateurs? | Modules | noeud | core | config (ure | uration)? | Options? | Settings ? | functions? | setup | [-_ a-z0-9.] * cms [-_ a-z0-9.] * | [-_ a-z0-9.] * php [-_ a-z0-9.] * | null | ^ racine | ^ traces?) /.* ”- [NC, F]

    Plugin Author Janis Elsts

    (@whiteshadow)

    It’s good to hear you figured it out. And you’re right – removing the “modules” keyword is probably the quickest way to fix the problem.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Nothing is displayed’ is closed to new replies.