• hello my friends
    I have problem in “media library folders” plugin.
    my problem: folders not load
    I acted : deactive plugin and activate reset and reset database
    but not solve my problem.
    my system information is:
    —– Begin System Info —–

    WordPress Version: 5.3
    PHP Version: 7.2.25
    MySQL Version: 5.5.5
    Web Server: LiteSpeed

    WordPress URL: https://saviors.ir/fa
    Home URL: https://saviors.ir/fa

    PHP cURL Support: Yes
    PHP GD Support: Yes
    PHP Memory Limit: 512M
    PHP Post Max Size: 200M
    PHP Upload Max Size: 200M

    WP_DEBUG: Disabled
    Multi-Site Active: Yes

    Operating System: Windows
    Browser: Mozilla Firefox 71.0
    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

    Active Theme:
    – Goodnews 5.9.6
    https://www.momizat.com

    Active Plugins:
    —– End System Info —–

    please help me
    Best regards
    Homami

Viewing 15 replies - 1 through 15 (of 110 total)
  • Thread Starter riaz2157

    (@riaz2157)

    error show is:
    Javascript error : ReferenceError: mgmlp_ajax is not defined

    Plugin Author AlanP57

    (@alanp57)

    If mgmlp_ajax is not defined then WordPress is not loading the needed javascript file. I am not aware of why this would ever happen as the plugin uses the admin_print_scripts hook to add the required files. Have you changed the theme recently?

    Thread Starter riaz2157

    (@riaz2157)

    Hello AlanP57
    I change theme to theme “Twenty Twenty” of wordpress then dectivated plugin and activated reset and reset database.
    But not solve my problem.
    Best regards for your help to me
    Homami

    Plugin Author AlanP57

    (@alanp57)

    I’ll try it with the “Twenty Twenty” and get back to you.

    Plugin Author AlanP57

    (@alanp57)

    I’m not able to reproduce this issue with the Twenty Twenty” theme.

    Thread Starter riaz2157

    (@riaz2157)

    Exactly, there is not problem with my theme, but there is other problem that I don’t know it??
    I think problem is in database but I don’t know in which table and which cell??
    before, I installed and deleted this plugin and other plugins and maybe rest some of data of theirs.
    I try to delete them orphans data, but I know there are some of data not deleted.

    Plugin Author AlanP57

    (@alanp57)

    There may be a table missing from the database. Deactivating and reactivating the plugin would have added it if it was missing. This is the mgmlp_folders table. In some cases a site would not create the table automatically. In those cases I was able to instruct the user how to create the table manually.

    Thread Starter riaz2157

    (@riaz2157)

    No, tables mgmlp_En_folders,mgmlp_En_2_folders and mgmlp_En_3_folders created automatically when I activate plugin.( I use multisite )
    and see exist folders in all three tables, but exist dupplicate in some folders( repeated some folders)

    Plugin Author AlanP57

    (@alanp57)

    The issue maybe in how your tables are named. When using a database prefix of ‘wp_’ the names would be wp_mgmlp_folders, wp_2_mgmlp_folders and wp_3_mgmlp_folders. I don’t know what is responsible for the unusual way your tables are named.

    Thread Starter riaz2157

    (@riaz2157)

    Excuse me , my tables names are:
    wp_En_mgmlp_folders
    wp_En_2_mgmlp_folders
    wp_En_3_mgmlp_folders
    and these tables created by plugin.
    No problem in tables name,
    because plugin worked when I installed it for first time but not work after deleted and reinstalled plugin for several times.
    then I did reseting database correctly according to said.
    best regards

    Plugin Author AlanP57

    (@alanp57)

    Ok, did the reset solve your issue?

    Thread Starter riaz2157

    (@riaz2157)

    No, I did install and reset plugin for several time, but not solved problem.
    Also after resetting I deleted all records include mgmlp value in tables manually, but not solve my problem.
    My error not changed and it is:
    Javascript error : ReferenceError: mgmlp_ajax is not defined
    If you tell me to delete or search or change every value in database manually, I can do it.
    I sure, that is conflict in database, but don’t know, how solve it.
    because I installed your plugin in new website and it work correctly.
    best regards

    • This reply was modified 4 years, 11 months ago by riaz2157.
    Plugin Author AlanP57

    (@alanp57)

    The plugin will load its Javascript and CSS files only for certain pages. If the
    test for the proper page fails, then you would see the the ‘mgmlp_ajax is not defined’ message. Perhaps something about your site configuration that is causing an issue with identifying the pages. I’ll look into this to see if there is a way to insure that the plugin pages can be properly identified.

    Thread Starter riaz2157

    (@riaz2157)

    thanks for trying and helping

    Plugin Author AlanP57

    (@alanp57)

    Are you logged to your site as an administrator?

Viewing 15 replies - 1 through 15 (of 110 total)
  • The topic ‘problem in loading folders’ is closed to new replies.